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.
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cicy-desktop",
3
- "version": "2.1.188",
3
+ "version": "2.1.190",
4
4
  "description": "CiCy - AI-powered operating system browser",
5
5
  "main": "src/main.js",
6
6
  "bin": {