Windows 플랫폼 추가, VS Code 개발 환경 설정 추가
This commit is contained in:
+33
-5
@@ -4,19 +4,46 @@
|
||||
"description": "사진 파일 이름 정리 앱",
|
||||
"main": "src/main/index.js",
|
||||
"scripts": {
|
||||
"start": "NODE_ENV=development electron .",
|
||||
"debug": "NODE_ENV=development electron --inspect=9229 --remote-debugging-port=9222 . 2>&1 | tee debug.log",
|
||||
"build": "NODE_ENV=production electron-builder --mac --dir",
|
||||
"dist": "NODE_ENV=production electron-builder --mac"
|
||||
"start": "cross-env NODE_ENV=development electron .",
|
||||
"debug": "cross-env NODE_ENV=development electron --inspect=9229 --remote-debugging-port=9222 .",
|
||||
"build": "cross-env NODE_ENV=production electron-builder --win --dir",
|
||||
"dist": "cross-env NODE_ENV=production electron-builder --win",
|
||||
"build:mac": "cross-env NODE_ENV=production electron-builder --mac --dir",
|
||||
"dist:mac": "cross-env NODE_ENV=production electron-builder --mac"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.photorenamer.app",
|
||||
"productName": "Photo Renamer",
|
||||
"win": {
|
||||
"icon": "assets/icon.png",
|
||||
"target": [
|
||||
{
|
||||
"target": "nsis",
|
||||
"arch": [
|
||||
"x64"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
"allowToChangeInstallationDirectory": true,
|
||||
"installerIcon": "assets/icon.png",
|
||||
"uninstallerIcon": "assets/icon.png",
|
||||
"createDesktopShortcut": true,
|
||||
"createStartMenuShortcut": true
|
||||
},
|
||||
"mac": {
|
||||
"category": "public.app-category.photography",
|
||||
"icon": "assets/icon.icns",
|
||||
"target": [
|
||||
{ "target": "dmg", "arch": ["arm64", "x64"] }
|
||||
{
|
||||
"target": "dmg",
|
||||
"arch": [
|
||||
"arm64",
|
||||
"x64"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"files": [
|
||||
@@ -26,6 +53,7 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"cross-env": "^10.1.0",
|
||||
"electron": "^28.0.0",
|
||||
"electron-builder": "^24.9.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user