Support setting the installer language

This commit is contained in:
Yi Xin
2024-06-12 15:34:56 +08:00
parent 6297568df5
commit f6f9953125
5 changed files with 13 additions and 1 deletions

3
bin/cli.ts vendored
View File

@@ -52,6 +52,9 @@ program
.addOption(
new Option('--system-tray-icon <string>', 'Custom system tray icon').default(DEFAULT.systemTrayIcon).hideHelp(),
)
.addOption(
new Option('--installer-language <string>', 'Installer language').default(DEFAULT.installerLanguage).hideHelp(),
)
.version(packageJson.version, '-v, --version', 'Output the current version')
.action(async (url: string, options: PakeCliOptions) => {
await checkUpdateTips();