fix: install fail on MacOS

This commit is contained in:
ezequielnick 2025-09-08 11:23:41 +08:00
parent b05fb02e67
commit 23854a9666
3 changed files with 3 additions and 2 deletions

2
build/pkg-scripts/postinstall Normal file → Executable file
View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
set -e set -e
# 设置日志文件 # 设置日志文件

2
build/pkg-scripts/preinstall Normal file → Executable file
View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
set -e set -e
# 检查 root 权限 # 检查 root 权限

View File

@ -51,6 +51,7 @@ mac:
pkg: pkg:
allowAnywhere: false allowAnywhere: false
allowCurrentUserHome: false allowCurrentUserHome: false
isRelocatable: false
background: background:
alignment: bottomleft alignment: bottomleft
file: build/background.png file: build/background.png