File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -215,3 +215,5 @@ main.js
215215
216216# Stores VSCode versions used for testing VSCode extensions
217217.vscode-test
218+
219+ dist_electron /
Original file line number Diff line number Diff line change 3333 "launch" : " pnpm run build && pnpm run start" ,
3434 "build" : " npm run clean && npm run build:package && npm run copy:styles" ,
3535 "postversion" : " cp package.json .. && chmod u+x ../revert.sh && ../revert.sh" ,
36- "test" : " jest"
36+ "test" : " jest" ,
37+ "dist" : " electron-builder"
3738 },
3839 "author" : " AlexTorresDev <contacto@alextrs.dev>" ,
3940 "license" : " MIT" ,
5859 "electron" : " >40.0.0"
5960 },
6061 "devDependencies" : {
62+ "electron-builder" : " ^26.8.1" ,
6163 "@jest/globals" : " ^30.3.0" ,
6264 "@typescript-eslint/eslint-plugin" : " ^8.57.2" ,
6365 "@typescript-eslint/parser" : " ^8.57.2" ,
7981 },
8082 "eslintConfig" : {
8183 "extends" : " ./node_modules/standard/eslintrc.json"
84+ },
85+ "build" : {
86+ "appId" : " com.custom.electron.titlebar.example" ,
87+ "productName" : " CustomElectronTitlebarExample" ,
88+ "directories" : {
89+ "app" : " example" ,
90+ "output" : " dist_electron"
91+ },
92+ "files" : [
93+ " ../dist/**" ,
94+ " **/*"
95+ ],
96+ "win" : {
97+ "target" : " nsis"
98+ }
8299 }
83100}
You can’t perform that action at this time.
0 commit comments