- npm name: trailhead-path-bookmarker (package.json + lockfile) - electron-builder appId: com.dbeuttel.trailhead-path-bookmarker - AppUserModelId in main.js matches the new appId - README title updated; userData path now %APPDATA%\Trailhead Path Bookmarker Icon generator now emits both sizes: - assets/tray-icon.png (32x32) for the system tray - assets/app-icon.png (256x256) for electron-builder's win.icon, which rejects PNGs smaller than 256
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"name": "trailhead-path-bookmarker",
|
|
"version": "0.1.0",
|
|
"description": "Windows system tray app for bookmarking folders with quick-action buttons (Explorer, Terminal, Claude, Visual Studio).",
|
|
"main": "electron/main.js",
|
|
"author": "dbeuttel",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"icon": "node scripts/generate-icon.js",
|
|
"dev:vite": "vite",
|
|
"dev:electron": "wait-on http://localhost:5174 && electron .",
|
|
"dev": "concurrently -k \"npm:dev:vite\" \"npm:dev:electron\"",
|
|
"build": "vite build",
|
|
"start": "electron .",
|
|
"dist": "npm run build && electron-builder",
|
|
"postinstall": "node scripts/generate-icon.js"
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"concurrently": "^9.1.2",
|
|
"electron": "^33.2.1",
|
|
"electron-builder": "^25.1.8",
|
|
"vite": "^5.4.11",
|
|
"wait-on": "^8.0.1"
|
|
},
|
|
"build": {
|
|
"appId": "com.dbeuttel.trailhead-path-bookmarker",
|
|
"productName": "Trailhead Path Bookmarker",
|
|
"files": [
|
|
"electron/**/*",
|
|
"dist/**/*",
|
|
"assets/**/*"
|
|
],
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "assets/app-icon.png"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
},
|
|
"directories": {
|
|
"output": "build"
|
|
}
|
|
}
|
|
}
|