完善 deb 打包健壮性,补充 README 与 .gitignore
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 24s
Build and Release / build-and-test (amd64, alpine) (push) Successful in 13s
Build and Release / build-and-test (arm64, alpine) (push) Successful in 6s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 0s
Build and Release / release (push) Successful in 28s

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-09 12:01:08 +08:00
co-authored by Claude Opus 4.8
parent 28bc2116fd
commit 8010a3e73e
6 changed files with 163 additions and 4 deletions
+4 -2
View File
@@ -33,9 +33,11 @@ if [ ! -f /etc/xxxig/config_cc.json ]; then
chmod 640 /etc/xxxig/config_cc.json
fi
# Set permissions
# Set permissions:目录与二进制 755,配置/页面等数据文件 644
chown -R root:root /opt/xxxig
chmod -R 755 /opt/xxxig
find /opt/xxxig -type d -exec chmod 755 {} +
find /opt/xxxig -type f -exec chmod 644 {} +
chmod 755 /opt/xxxig/xxxig /opt/xxxig/xxxigDaemon /opt/xxxig/xxxigServer
# Reload systemd
if [ -d /run/systemd/system ]; then