mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
feat: plugin updates, more installer stuff
This commit is contained in:
parent
bef5a35fd9
commit
3640d30cc7
5 changed files with 100 additions and 21 deletions
|
|
@ -329,6 +329,11 @@ namespace Dalamud {
|
|||
HelpMessage = "Draw dev menu DEBUG",
|
||||
ShowInHelp = false
|
||||
});
|
||||
|
||||
CommandManager.AddHandler("/xlplugins", new CommandInfo(OnOpenInstallerCommand)
|
||||
{
|
||||
HelpMessage = "Open the plugin installer"
|
||||
});
|
||||
}
|
||||
|
||||
private void OnUnloadCommand(string command, string arguments) {
|
||||
|
|
@ -550,6 +555,11 @@ namespace Dalamud {
|
|||
this.isImguiDrawDevMenu = true;
|
||||
}
|
||||
|
||||
private void OnOpenInstallerCommand(string command, string arguments) {
|
||||
this.pluginWindow = new PluginInstallerWindow(this.PluginManager, this.StartInfo.PluginDirectory, this.StartInfo.GameVersion);
|
||||
this.isImguiDrawPluginWindow = true;
|
||||
}
|
||||
|
||||
private int RouletteSlugToKey(string slug) => slug.ToLower() switch {
|
||||
"leveling" => 1,
|
||||
"506070" => 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue