|
8 | 8 | "start": "cross-env NODE_ENV=development electron .",
|
9 | 9 | "start:dev": "cross-env NODE_ENV=development electron .",
|
10 | 10 | "start:prod": "cross-env NODE_ENV=production electron .",
|
| 11 | + "build:m": "cross-env NODE_ENV=production electron-builder -m", |
11 | 12 | "build:mwl": "cross-env NODE_ENV=production electron-builder -mwl",
|
12 | 13 | "build:mwl:publish:always": "electron-builder -mwl --publish always",
|
13 | 14 | "build": "npx cross-env NODE_ENV=production electron-builder -m"
|
|
74 | 75 | ]
|
75 | 76 | }
|
76 | 77 | ]
|
| 78 | + }, |
| 79 | + "dmg": { |
| 80 | + "background": "assets/background.png", |
| 81 | + "icon": "assets/icon.icns", |
| 82 | + "iconSize": 128, |
| 83 | + "contents": [ |
| 84 | + { |
| 85 | + "x": 448, |
| 86 | + "y": 340, |
| 87 | + "type": "link", |
| 88 | + "path": "/Applications" |
| 89 | + }, |
| 90 | + { |
| 91 | + "x": 192, |
| 92 | + "y": 340, |
| 93 | + "type": "file" |
| 94 | + } |
| 95 | + ] |
| 96 | + }, |
| 97 | + "win": { |
| 98 | + "target": "portable", |
| 99 | + "icon": "build/icon.ico", |
| 100 | + "files": [ |
| 101 | + "node_modules/ffmpeg-static-electron/bin/win/${arch}/ffmpeg", |
| 102 | + "!node_modules/ffmpeg-static-electron/bin/win/ia32${/*}", |
| 103 | + "!node_modules/ffmpeg-static-electron/bin/linux${/*}", |
| 104 | + "!node_modules/ffmpeg-static-electron/bin/mac${/*}", |
| 105 | + "node_modules/ffprobe-static-electron/bin/win/${arch}/ffprobe", |
| 106 | + "!node_modules/ffprobe-static-electron/bin/win/ia32${/*}", |
| 107 | + "!node_modules/ffprobe-static-electron/bin/linux${/*}", |
| 108 | + "!node_modules/ffprobe-static-electron/bin/mac${/*}" |
| 109 | + ] |
| 110 | + }, |
| 111 | + "deb": { |
| 112 | + "synopsis": "Digital Paper Edit Desktop App" |
| 113 | + }, |
| 114 | + "linux": { |
| 115 | + "category": "", |
| 116 | + "packageCategory": "GNOME;GTK;VideoEditing;PaperEditing;Transcriptions", |
| 117 | + "description": "Digital Paper Edit Desktop App", |
| 118 | + "target": [ |
| 119 | + "AppImage" |
| 120 | + ], |
| 121 | + "maintainer": "Pietro Passarelli", |
| 122 | + "files": [ |
| 123 | + "!node_modules/ffmpeg-static-electron/bin/linux/ia32${/*}", |
| 124 | + "!node_modules/ffmpeg-static-electron/bin/win${/*}", |
| 125 | + "!node_modules/ffmpeg-static-electron/bin/mac${/*}", |
| 126 | + "!node_modules/ffprobe-static-electron/bin/linux/ia32${/*}", |
| 127 | + "!node_modules/ffprobe-static-electron/bin/win${/*}", |
| 128 | + "!node_modules/ffprobe-static-electron/bin/mac${/*}" |
| 129 | + ] |
77 | 130 | }
|
78 | 131 | },
|
79 | 132 | "devDependencies": {
|
|
0 commit comments