feat(v0.1.1): 周期表五大分区 / 分区与单格改色 / 全屏视线跟随 / 窗口图标 / 跨平台打包

This commit is contained in:
TianXiaRi
2026-12-02 10:27:25 +08:00
parent a9adcd0088
commit 1faee09484
37 changed files with 2477 additions and 127 deletions
+58 -20
View File
@@ -1,8 +1,8 @@
{
"name": "xiaona-pet",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"description": "小钠 · 化学元素拟人桌宠(Electron)",
"description": "小钠 · 化学元素拟人 Live2D 桌宠(Windows / Linux / macOS)",
"main": "out/main/index.js",
"scripts": {
"build:main": "tsc -p tsconfig.main.json",
@@ -10,8 +10,10 @@
"build": "npm run build:main && npm run build:renderer",
"start": "electron .",
"dev": "node scripts/dev.mjs",
"dist": "electron-builder --win portable --x64",
"pack": "electron-builder --win dir --x64"
"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"
},
"dependencies": {
"live2dcubismcore": "^1.0.2",
@@ -46,21 +48,6 @@
"package.json"
],
"asar": true,
"win": {
"target": [
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "assets/stickers/1.0.png",
"signAndEditExecutable": false
},
"portable": {
"artifactName": "SodiumPet--portable.exe"
},
"extraResources": [
{
"from": "assets/skins",
@@ -74,6 +61,57 @@
"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"
}
}
}