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
|
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
|
set -e
|
||||||
|
|
||||||
# 检查 root 权限
|
# 检查 root 权限
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user