mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-11-22 11:28:46 +08:00
- 新建 desktop/ 作为独立 Electron 项目,包含独立 package.json 和 pnpm-lock.yaml - 迁移 electron/main.cjs、electron/preload.cjs、构建配置及打包脚本 - frontend/ 仅保留 Web 前端代码,移除所有 Electron 相关依赖和脚本 - 更新 CI workflow 和 .gitignore 路径指向 desktop/ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
304 B
JavaScript
9 lines
304 B
JavaScript
"use strict"
|
|
const fs = require("fs")
|
|
const path = require("path")
|
|
const root = path.join(__dirname, "..")
|
|
const from = path.join(root, "..", "frontend", "public", "logo-colored.png")
|
|
const to = path.join(root, "electron", "icon.png")
|
|
fs.copyFileSync(from, to)
|
|
console.log("[sync-icon]", from, "->", to)
|