Skip to content

Commit

Permalink
feat: add portable builder
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Aug 10, 2024
1 parent 5d5a73b commit a41966e
Show file tree
Hide file tree
Showing 3 changed files with 416 additions and 7 deletions.
10 changes: 10 additions & 0 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ const config = {
};
},
},
{
name: '@rabbitholesyndrome/electron-forge-maker-portable',
platforms: ['win32'],
config: (arch) => {
return {
artifactName: `Portable-TidGi-Windows-${arch}.exe`,
installerIcon: 'build-resources/icon-installer.ico',
};
},
},
// ✖ Preparing native dependencies: 0 / 1 [FAILED: node-gyp failed to rebuild '/Users/runner/work/TidGi-Desktop/TidGi-Desktop/node_modules/.pnpm/@bitdisaster+exe-icon-extractor@1.0.10/node_modules/@bitdisaster/exe-icon-extractor']
// {
// name: '@electron-forge/maker-wix',
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"new-github-issue-url": "^1.0.0",
"node-fetch": "3.3.2",
"reflect-metadata": "0.2.2",
"registry-js": "1.16.0",
"rotating-file-stream": "^3.2.3",
"rxjs": "7.8.1",
"semver": "7.6.2",
Expand All @@ -75,7 +76,6 @@
"winston-daily-rotate-file": "5.0.0",
"winston-transport": "4.7.0",
"wouter": "^3.3.0",
"registry-js": "1.16.0",
"zx": "8.1.3"
},
"optionalDependencies": {
Expand Down Expand Up @@ -103,6 +103,7 @@
"@mui/styled-engine-sc": "6.0.0-alpha.18",
"@mui/styles": "^5.15.21",
"@mui/x-date-pickers": "^7.8.0",
"@rabbitholesyndrome/electron-forge-maker-portable": "^0.2.0",
"@reforged/maker-appimage": "^4.0.2",
"@types/bluebird": "3.5.42",
"@types/chai": "4.3.16",
Expand Down
Loading

0 comments on commit a41966e

Please sign in to comment.