Skip to content

Commit

Permalink
Windows on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Oct 15, 2023
1 parent d23b60c commit a88de12
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,10 @@
"string": "{type} Windows application (64-bit only, not recommended)",
"context": "type will become something like 'NW.js' or 'Electron'. Do not translate 'Windows'."
},
"application-win-arm": {
"string": "{type} Windows application for ARM",
"context": "type will become something like 'NW.js' or 'Electron'. Do not translate 'Windows' or 'ARM'."
},
"application-mac": {
"string": "{type} macOS application",
"context": "type will become something like 'NW.js' or 'Electron'. Do not translate 'macOS'."
Expand Down
4 changes: 4 additions & 0 deletions src/p4/PackagerOptions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,10 @@
<input type="radio" name="environment" bind:group={$options.target} value="electron-win64">
{$_('options.application-win64').replace('{type}', 'Electron')}
</label>
<label class="option">
<input type="radio" name="environment" bind:group={$options.target} value="electron-win-arm">
{$_('options.application-win-arm').replace('{type}', 'Electron')}
</label>
<label class="option">
<input type="radio" name="environment" bind:group={$options.target} value="electron-mac">
{$_('options.application-mac').replace('{type}', 'Electron')}
Expand Down
5 changes: 5 additions & 0 deletions src/packager/large-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ export default {
sha256: '1a02c0f7af9664696f790dcce05948f0458a2f4f2d48c685f911d2eb99a4c9da',
estimatedSize: 96605498
},
'electron-win-arm': {
src: externalFile('electron-v22.3.27-win32-arm64.zip'),
sha256: '0e4ad218018c0881ef4de363107a94dd2ced40367a0e18ca7d0dde1f40da0531',
estimatedSize: 94065344
},
'electron-mac': {
src: externalFile('electron-v22.3.27-macos-universal.zip'),
sha256: '598b35f9030fe30f81b4041be048cd0374f675bd1bc0f172c26cf2808e80a3d9',
Expand Down

0 comments on commit a88de12

Please sign in to comment.