Support packaging of multiple systems including Linux/Windows

This commit is contained in:
Tw93
2025-08-23 14:12:54 +08:00
parent 212cd6afb7
commit dcfd00e6e1
8 changed files with 288 additions and 24 deletions

7
bin/cli.ts vendored
View File

@@ -81,9 +81,10 @@ program
.hideHelp(),
)
.addOption(
new Option('--targets <string>', 'For Linux, option "deb" or "appimage"')
.default(DEFAULT.targets)
.hideHelp(),
new Option(
'--targets <string>',
'Build target: Linux: "deb", "rpm", "appimage", "deb-arm64", "rpm-arm64", "appimage-arm64"; Windows: "x64", "arm64"; macOS: "intel", "apple", "universal"',
).default(DEFAULT.targets),
)
.addOption(
new Option(