docs: add MIT LICENSE and update README license reference
- Add LICENSE file under MIT, copyright 2026 CodingPlan.site - Replace 'All rights reserved' note in README with link to LICENSE - Switch License badge from 'Private' to 'MIT'
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
[](https://react.dev)
|
||||
[](https://www.typescriptlang.org)
|
||||
[](https://www.rust-lang.org)
|
||||
[](#license)
|
||||
[](./LICENSE)
|
||||
|
||||
---
|
||||
|
||||
@@ -312,15 +312,15 @@ A: Vertex 需要 GCP project/location 凭证,当前实现留了 TODO,等 GCP
|
||||
**Q: 支持 macOS / Linux 吗?**
|
||||
A: 代码不依赖 Windows 专属 API,但 `tauri.conf.json` 的 bundle 目标目前只配了 `msi`。理论上把 `bundle.targets` 改成 `["app", "dmg"]` 等即可跨平台,但未验证。
|
||||
|
||||
- 协议:MIT(详见 [LICENSE](./LICENSE))
|
||||
|
||||
## 安全提示
|
||||
|
||||
- API Key 以明文存储在本地 SQLite 和 Agent 原生配置里——**不要在共享电脑上保存**
|
||||
- 不要把 `pi-switch.db`、`config.toml`、`models.json` 提交到 Git
|
||||
- 应用 CSP 已收紧(`default-src 'self'`),但 WebView2 仍可能缓存表单内容,注意在公共电脑用完退出
|
||||
|
||||
## License
|
||||
|
||||
Private / All rights reserved. 仅供内部使用。
|
||||
- 许可证:MIT(详见 [LICENSE](./LICENSE))
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user