初始化提交

This commit is contained in:
yuantao
2025-09-10 18:23:45 +08:00
commit 731f18c57e
5 changed files with 301 additions and 0 deletions

44
package.json Normal file
View File

@@ -0,0 +1,44 @@
{
"name": "motioner",
"version": "0.0.1",
"description": "基于Electron构建的性能监控应用,功能包括全局悬浮窗口、可以最小化到托盘并保持后台运行、可以设置是否开机启动",
"main": "main.js",
"scripts": {
"start": "electron .",
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "electron-builder install-app-deps",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"repository": {
"type": "git",
"url": "https://git.pandorastudio.cn/yuantao/motioner.git"
},
"author": "袁涛",
"license": "ISC",
"keywords": [],
"dependencies": {
"auto-launch": "*"
},
"devDependencies": {
"electron": "*",
"electron-builder": "*"
},
"build": {
"appId": "com.pandorastudio.motioner",
"productName": "Motioner",
"directories": {
"output": "dist"
},
"win": {
"target": [
"nsis"
],
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
}
}