cicy-desktop 2.1.188 → 2.1.190
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/mac-app-release.yml +9 -2
- package/package.json +1 -1
- package/src/backends/homepage-react/assets/index-Yq8jvOw4.js +377 -0
- package/src/backends/homepage-react/index.html +1 -1
- package/src/backends/local-teams.js +14 -7
- package/src/backends/sidecar-ipc.js +11 -2
- package/src/master/master-token-manager.js +2 -2
- package/src/sidecar/cicy-code.js +67 -11
- package/src/sidecar/wsl-docker.js +32 -14
- package/src/tools/ping.js +1 -1
- package/src/utils/auth.js +2 -2
- package/src/utils/window-utils.js +14 -3
- package/workers/render/src/App.jsx +0 -10
- package/src/backends/homepage-react/assets/index-lEii78ll.js +0 -377
|
@@ -57,9 +57,16 @@ jobs:
|
|
|
57
57
|
echo "npm pack $pkg@$ver → node_modules/$pkg"
|
|
58
58
|
tmp=$(mktemp -d); ( cd "$tmp" && npm pack "$pkg@$ver" --silent ); tar -xzf "$tmp"/*.tgz -C "$tmp"
|
|
59
59
|
rm -rf "node_modules/$pkg"; mkdir -p "node_modules/$pkg"; cp -R "$tmp/package/." "node_modules/$pkg/"; rm -rf "$tmp"
|
|
60
|
+
# npm pack 的 package.json 解出来是 600 → .pkg 以 root 装进 /Applications 后,
|
|
61
|
+
# 非 root 的 App(用户 cicy)读不了它 → localbin.bundledVersion EACCES → fromBundle
|
|
62
|
+
# 返回 null → seed 失败、:8008 起不来(实测 josephs)。必须放成所有人可读。
|
|
63
|
+
chmod -R a+rX "node_modules/$pkg"
|
|
64
|
+
done
|
|
65
|
+
echo "--- bundled darwin subpackages (perms) ---"; ls -l node_modules/cicy-code-darwin-*/package.json 2>/dev/null || true
|
|
66
|
+
for a in x64 arm64; do
|
|
67
|
+
test -f "node_modules/cicy-code-darwin-$a/cicy-code" || { echo "::error::cicy-code-darwin-$a binary missing"; exit 1; }
|
|
68
|
+
test -r "node_modules/cicy-code-darwin-$a/package.json" || { echo "::error::cicy-code-darwin-$a/package.json not world-readable"; exit 1; }
|
|
60
69
|
done
|
|
61
|
-
echo "--- bundled darwin subpackages ---"; ls node_modules | grep -E 'cicy-(code|mihomo)-darwin' || true
|
|
62
|
-
for a in x64 arm64; do test -f "node_modules/cicy-code-darwin-$a/cicy-code" || { echo "::error::cicy-code-darwin-$a binary missing"; exit 1; }; done
|
|
63
70
|
|
|
64
71
|
# NOTE: the homepage SPA is rebuilt automatically by the prebuild:mac npm
|
|
65
72
|
# hook (scripts/build-homepage.cjs) right before `npm run build:mac` below,
|