New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

glasspane-install

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glasspane-install

GlassPane one-command installer: terminal onboarding → install deps → build TS + Swift engine → start daemon → open settings GUI for permission guide

latest
Source
npmnpm
Version
1.19.0
Version published
Maintainers
1
Created
Source

glasspane-install

One-command installer for GlassPane: builds the Swift engine and the MCP shell, packages and signs the .app bundles, registers the launchd job, and opens the settings panel where you grant permissions. Zero third-party dependencies, Node ≥ 18, macOS 14+.

无第三方依赖的一键安装器:编译引擎与 MCP 层、打包并签名 .app、注册 launchd 自启、打开权限引导面板。

Channels / 安装渠道

# 1) One-liner (推荐): fetches install.sh, which clones the pinned release tag
curl -fsSL https://raw.githubusercontent.com/jingzhao-l/GlassPane/main/install.sh | sh

# 2) This package via npx — also clones the pinned release tag when no local
#    repo is found, then runs the same flow
npx glasspane-install

# 3) From an existing checkout
node installer/cli.js

All three end up in the same code path (installer/cli.js), and both one-command channels clone the same pinned tag — never a moving branch — so a fresh install is reproducible. Override with GLASSPANE_REF=<tag> (main is available but is not a fixed artifact).

三条渠道最终都走同一份 installer/cli.js,且两条一键渠道 clone 的是同一个钉住的发布 tag(不是移动的分支), 所以同一天两次安装拿到的是同一份源码。

Flags / 选项

选项作用
--repo <dir>指定项目根目录(默认自动向上查找)
--no-bootstrap找不到本地仓库时不自动 clone,只打印定位指引
--no-prompt跳过逐步确认(脚本/自动化场景)
--no-daemon / --no-gui不启动 daemon / 不打开设置面板
--no-app不打包 .app(daemon 将以裸二进制运行,系统设置里只显示文件名)
--no-launchd不注册开机自启
--no-auto-update不注册每日自动更新代理(并把它卸载 + 状态记 disabled=true);手动 check/apply 仍可用
--replace-daemon先收拢已在跑的旧实例(旧构建会占住 socket)
--skip-build跳过 npm/tsc/swift 编译
--restore-launchd只做 launchd 恢复 + 校验 daemon 自报席位
-h, --help完整用法

默认开自动更新:安装器把 {updaterCli, installRoot, agentLabel, registeredAt} 写进 <stateRoot>/update-install.json(0600,临时文件 + rename + 读回校验), 并注册每日一次的 com.glasspane.update 作业。指针与作业都由 updater/ 自己那套实现写出 (writePointer / renderAgentPlist / registerAgent),安装器不渲染 plist、不抄标签。 安装树里没有 updater/cli.js(旧 checkout)时:如实打印缺的是哪个文件、你失去什么, 不写指针、不注册作业,而安装本身仍然成功——静默跳过不是这个仓库允许的失败形态。

卸载本机安装时,除了 daemon 那份作业,也要卸掉更新代理: node <repo>/updater/cli.js disable 一条命令做这件事(bootout + 删 plist + 记 disabled=true)。

What still needs a human / 仍需人工的两件事

  • TCC permissions. Accessibility, Input Monitoring and Screen Recording must be ticked in System Settings, by the person, for GlassPane Daemon (the daemon binary itself) — not for a terminal and not for the settings window. There is no programmatic path; the panel walks you through each card and re-measures after you tick it.
  • First launch past Gatekeeper. Builds are ad-hoc signed (no Developer ID / notarization yet), so on a machine other than the author's, macOS will refuse the app on first launch until you allow it in System Settings → Privacy & Security. This is a real caveat, not a guess: notarization is a pending owner decision (cost-gated).

Everything else — detection, building, launching, verifying, repairing — is done by the installer.

Errors / 出错时

失败信息里带可直接执行的补救命令;按提示执行即可,不需要翻文档。安装日志:~/.glasspane/installer-daemon.log。

License: MIT.

Keywords

macos

FAQs

Package last updated on 21 Oct 2026

Related posts