✨ Support drag-and-drop configuration
This commit is contained in:
10
bin/cli.ts
vendored
10
bin/cli.ts
vendored
@@ -125,7 +125,10 @@ program
|
||||
.hideHelp(),
|
||||
)
|
||||
.addOption(
|
||||
new Option('--hide-on-close', 'Hide window on close instead of exiting (default: true for macOS, false for others)')
|
||||
new Option(
|
||||
'--hide-on-close',
|
||||
'Hide window on close instead of exiting (default: true for macOS, false for others)',
|
||||
)
|
||||
.default(DEFAULT.hideOnClose)
|
||||
.hideHelp(),
|
||||
)
|
||||
@@ -140,6 +143,11 @@ program
|
||||
.default(DEFAULT.wasm)
|
||||
.hideHelp(),
|
||||
)
|
||||
.addOption(
|
||||
new Option('--enable-drag-drop', 'Enable drag and drop functionality')
|
||||
.default(DEFAULT.enableDragDrop)
|
||||
.hideHelp(),
|
||||
)
|
||||
.addOption(
|
||||
new Option('--installer-language <string>', 'Installer language')
|
||||
.default(DEFAULT.installerLanguage)
|
||||
|
||||
Reference in New Issue
Block a user