add multi-architecture support for MacOS

This commit is contained in:
Tlntin
2023-01-26 12:18:50 +08:00
parent c6555370dc
commit c3f8b628f0
7 changed files with 55 additions and 34 deletions

2
bin/cli.ts vendored
View File

@@ -22,7 +22,7 @@ program
.option('-f, --fullscreen', 'makes the packaged app start in full screen', DEFAULT_PAKE_OPTIONS.fullscreen)
.option('-t, --transparent', 'transparent title bar', DEFAULT_PAKE_OPTIONS.transparent)
.option('-d, --debug', 'debug', DEFAULT_PAKE_OPTIONS.debug)
.option('-m, --multi-arch', "Supports both Intel and m1 chips, only for Mac.", DEFAULT_PAKE_OPTIONS.multi_arch)
.option('-m, --multi-arch', "Supports both Intel and m1 chips, only for Mac.", DEFAULT_PAKE_OPTIONS.multiArch)
.action(async (url: string, options: PakeCliOptions) => {
await checkUpdateTips();