Skip to content

PasteFerry (隔空贴): clipboard and file sync across macOS, Windows and Linux. Direct-first, end-to-end encrypted. Optional official access: no server to host. Independent self-hosting remains available.

fix: macOS 服务器发布包里的 install.sh 缺少执行权限

baiyuze73c8a0e775c8
diff --git a/scripts/package.sh b/scripts/package.sh
index 1d787b8..2cb6de6 100755
--- a/scripts/package.sh
+++ b/scripts/package.sh
@@ -112,7 +112,7 @@ done
name="copysync-server-macos"
mkdir -p "$STAGE/$name"
cp dist/copysync-server server/deploy/README.md "$STAGE/$name/"
-cp server/deploy/install-macos.sh "$STAGE/$name/install.sh"
+install -m 755 server/deploy/install-macos.sh "$STAGE/$name/install.sh"
tar -C "$STAGE" -czf "$OUT/$name.tar.gz" "$name"
echo " ✓ $name.tar.gz"
diff --git a/server/deploy/install-macos.sh b/server/deploy/install-macos.sh
old mode 100644
new mode 100755