Skip to content

Releases: lhfer/factory-switcher

Factory Switcher 0.1.0

Choose a tag to compare

@lhfer lhfer released this 01 Oct 05:25

Factory Switcher 0.1.0 · 首个公开版本

Switch between your own Factory (Droid) accounts from the macOS menu bar — quota at a glance, backup-first switching with automatic rollback.
在 macOS 菜单栏一键切换你自己的 Factory 账号,额度一目了然,先备份再切换,失败自动回滚。

✨ Highlights · 亮点

  • 🔁 One-click switching with graceful quit & relaunch · 一键切号,正常退出并重新打开 Factory
  • 📊 5-hour / weekly / monthly remaining quota per account · 每个账号的 5 小时 / 周 / 月剩余额度
  • 🔑 New accounts via Factory's own bundled Droid login · 新账号走 Factory 自带 Droid 的官方登录
  • 🛡️ Verified backup before every switch, rollback + crash recovery · 切换前校验备份,失败回滚,中断可恢复
  • 🔐 AES-GCM snapshots, keys in macOS Keychain · 快照 AES-GCM 加密,密钥存钥匙串
  • 🪶 ~1 MB native Swift/AppKit, zero dependencies, no telemetry · 约 1 MB,零依赖,无遥测

📦 Install · 安装

Requirements · 要求: Apple Silicon Mac, macOS 13+, Factory.app installed · 需已安装 Factory.app

  1. Download FactorySwitcher-0.1.0-arm64.zip below, unzip, and move the app to ~/Applications.
    下载下方 zip,解压后把 App 放到 ~/Applications。
  2. This build is ad-hoc signed and not notarized, so macOS blocks the first launch. Open System Settings → Privacy & Security and click Open Anyway.
    该构建使用 ad-hoc 签名、未经公证,首次打开会被拦截:前往 系统设置 → 隐私与安全性,点击 仍要打开。
  3. macOS may ask for Keychain access on first use; allow it only for the switcher you trust.
    首次使用可能请求钥匙串授权,只对你信任的切号器允许。

Please don't disable Gatekeeper to run it. Prefer to build it yourself? bash scripts/build-app.sh (see README).
请勿关闭 Gatekeeper 运行。也可以从源码自行构建。

SHA-256 FactorySwitcher-0.1.0-arm64.zip

33238999f868fdec56de0b9e821f0dea51dd388e5fdbb161b64c559929c9cb72

⚠️ Notes · 注意

  • Unofficial tool, not affiliated with Factory. Never switches automatically; use within Factory's terms and your org's policies.
    非官方工具,与 Factory 无关;从不自动切号,请遵守服务条款和组织规定。
  • Switching quits and reopens Factory — running tasks are interrupted.
    切号会退出并重开 Factory,运行中的任务会中断。
  • UI is Simplified Chinese only for now. Intel Macs are untested.
    界面目前仅有简体中文;未在 Intel Mac 上测试。

🐛 Fixes in this release · 本版修复

  • Recovering an interrupted switch now saves the currently installed login first, so tokens rotated after the interruption are not lost.
    恢复中断的切换前会先保存当前登录,避免中断后轮换的令牌丢失。