示例#1
0
        public PluginDefault()
        {
            isRefreshEnabled = false;

            ImportMethod main = new ImportMethod("Local Disk", "Import game executables from local disk.", ImportGames, new SymbolIcon(Symbol.NewFolder));

            RegisterImportMethod(main);

            LaunchConfigType mainType = new LaunchConfigType("Local App");

            RegisterLaunchConfigType("", mainType);
        }
示例#2
0
文件: Main.cs 项目: solwllms/CI536
        public PluginDLL()
        {
            instance = this;

            Image img = new Image();

            img.Source = GetSourceForOnRender("plugin.icon.png");
            ImportMethod main = new ImportMethod("Steam", "Import games from your Steam® library.", ImportGames, img);

            RegisterImportMethod(main);

            LaunchConfigType steamLaunch = new LaunchConfigType("Launch via Steam®");

            steamLaunch.canEditLaunchCommand = false;
            RegisterLaunchConfigType("steam", steamLaunch);
        }