上游 v0.1.1 重写为新的 git 历史(无共同祖先),因此以 v0.1.1 为基线 重新应用本移植分支的全部改动(不是 merge commit): - 上游新增:周期表 s/p/d/ds/f 五大分区与自定义改色、33ms 全屏视线轮询、 窗口表情包图标、electron-builder 跨平台目标、人设提示词 v1.0、跨平台 CI - 保留本移植:platform.ts 能力降级、KWin 全局光标桥接、scripts/linux 安装脚本、 Linux/Wayland 文档与致谢 - 合并视线跟随:主进程 33ms 轮询 + KWin 桥接(Wayland 原生窗口上方也有效), 保留 NaN 复位;点击穿透在 Linux 上不传 forward - 清理仓库根目录误提交的 Chromium 日志文件
121 lines
2.7 KiB
JSON
121 lines
2.7 KiB
JSON
{
|
||
"name": "xiaona-pet",
|
||
"version": "0.1.1",
|
||
"private": true,
|
||
"description": "小钠 · 化学元素拟人 Live2D 桌宠(Windows / Linux / macOS)",
|
||
"main": "out/main/index.js",
|
||
"scripts": {
|
||
"build:main": "tsc -p tsconfig.main.json",
|
||
"build:renderer": "vite build",
|
||
"build": "npm run build:main && npm run build:renderer",
|
||
"start": "electron .",
|
||
"dev": "node scripts/dev.mjs",
|
||
"pack": "electron-builder --win dir --x64",
|
||
"dist:win": "electron-builder --win zip --x64",
|
||
"dist:linux": "electron-builder --linux AppImage deb --x64",
|
||
"dist:mac": "electron-builder --mac dmg zip --x64 --arm64",
|
||
"start:linux": "bash scripts/linux/run.sh",
|
||
"install:linux": "bash scripts/linux/install.sh",
|
||
"uninstall:linux": "bash scripts/linux/uninstall.sh"
|
||
},
|
||
"dependencies": {
|
||
"live2dcubismcore": "^1.0.2",
|
||
"pixi-live2d-display": "0.4.0",
|
||
"pixi.js": "6.5.10",
|
||
"react": "^19.3.1",
|
||
"react-dom": "^19.3.1"
|
||
},
|
||
"devDependencies": {
|
||
"@types/node": "^22.0.0",
|
||
"@types/react": "^19.0.0",
|
||
"@types/react-dom": "^19.0.0",
|
||
"@vitejs/plugin-react": "^6.3.0",
|
||
"electron": "33.4.11",
|
||
"typescript": "^5.9.0",
|
||
"vite": "^8.4.0"
|
||
},
|
||
"author": "EL-Cross-Lab",
|
||
"license": "MIT",
|
||
"build": {
|
||
"appId": "lab.elcross.sodiumpet",
|
||
"productName": "SodiumPet",
|
||
"copyright": "MIT License",
|
||
"directories": {
|
||
"output": "release",
|
||
"buildResources": "assets"
|
||
},
|
||
"electronDist": "node_modules/electron/dist",
|
||
"files": [
|
||
"out/**/*",
|
||
"assets/**/*",
|
||
"package.json"
|
||
],
|
||
"asar": true,
|
||
"extraResources": [
|
||
{
|
||
"from": "assets/skins",
|
||
"to": "skins"
|
||
},
|
||
{
|
||
"from": "assets/lib",
|
||
"to": "lib"
|
||
},
|
||
{
|
||
"from": "assets/stickers",
|
||
"to": "stickers"
|
||
}
|
||
],
|
||
"win": {
|
||
"target": [
|
||
{
|
||
"target": "zip",
|
||
"arch": [
|
||
"x64"
|
||
]
|
||
}
|
||
],
|
||
"icon": "assets/app.ico",
|
||
"signAndEditExecutable": false
|
||
},
|
||
"linux": {
|
||
"target": [
|
||
{
|
||
"target": "AppImage",
|
||
"arch": [
|
||
"x64"
|
||
]
|
||
},
|
||
{
|
||
"target": "deb",
|
||
"arch": [
|
||
"x64"
|
||
]
|
||
}
|
||
],
|
||
"icon": "assets/icon.png",
|
||
"category": "Utility",
|
||
"maintainer": "Tian_XiaRi"
|
||
},
|
||
"mac": {
|
||
"target": [
|
||
{
|
||
"target": "dmg",
|
||
"arch": [
|
||
"x64",
|
||
"arm64"
|
||
]
|
||
},
|
||
{
|
||
"target": "zip",
|
||
"arch": [
|
||
"x64",
|
||
"arm64"
|
||
]
|
||
}
|
||
],
|
||
"icon": "assets/icon.png",
|
||
"category": "public.app-category.entertainment"
|
||
}
|
||
}
|
||
}
|