mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
fix: install fail on MacOS
This commit is contained in:
parent
b05fb02e67
commit
23854a9666
2
build/pkg-scripts/postinstall
Normal file → Executable file
2
build/pkg-scripts/postinstall
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# 设置日志文件
|
||||
|
||||
2
build/pkg-scripts/preinstall
Normal file → Executable file
2
build/pkg-scripts/preinstall
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# 检查 root 权限
|
||||
|
||||
@ -51,6 +51,7 @@ mac:
|
||||
pkg:
|
||||
allowAnywhere: false
|
||||
allowCurrentUserHome: false
|
||||
isRelocatable: false
|
||||
background:
|
||||
alignment: bottomleft
|
||||
file: build/background.png
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user