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); }
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); }