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
# 设置日志文件

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

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

View File

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