File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed
Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 3737 if : runner.os == 'macOS'
3838 run : |
3939 node release-automation/build.js --mac --universal
40- node release-automation/build.js --mac-legacy --x64
40+ node release-automation/build.js --mac-legacy-10.13-10.14 --x64
4141 - name : Package Linux
4242 if : runner.os == 'Linux'
4343 run : |
Original file line number Diff line number Diff line change 5757 # @electron/notaraize documentation says key should be an absolute path
5858 export APPLE_API_KEY="$(pwd)/$APPLE_API_KEY_NAME"
5959 node release-automation/build.js --mac --universal --production
60- node release-automation/build.js --mac-legacy --x64 --production
60+ node release-automation/build.js --mac-legacy-10.13-10.14 --x64 --production
6161 # for safety
6262 rm "$APPLE_API_KEY_NAME"
6363 env :
Original file line number Diff line number Diff line change @@ -546,6 +546,7 @@ <h1 class="header">
546546
547547 < script >
548548 // FIXME: when >= 1.13.2 is released, update the .deb packages to not hardcode 1.13.1
549+ // FIXME: when >= 1.13.2 is released, macOS legacy download name may need to be updated
549550 const VERSION = '1.13.0' ;
550551
551552 // OS-specific styles
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ You must specify which platform to build for:
2828--mac
2929 Create app for macOS 10.15 and later.
3030
31- --mac-legacy
32- Create app for macOS 10.13 and later (less secure than --mac).
31+ --mac-legacy-10.13-10.14
32+ Create app for macOS 10.13 and 10.14 (less secure than --mac).
3333
3434--mac-dir
3535 Generate executables for macOS 10.15 and later but don't package into a complete DMG installer.
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ const buildMac = () => build({
251251 }
252252} ) ;
253253
254- const buildMacLegacy = ( ) => {
254+ const buildMacLegacy10131014 = ( ) => {
255255 // This is the last release of Electron 26
256256 // Electron 27 dropped support for macOS 10.13 and 10.14
257257 const LEGACY_ELECTRON_VERSION = '26.6.10' ;
@@ -263,7 +263,7 @@ const buildMacLegacy = () => {
263263 legacy : true ,
264264 extraConfig : {
265265 mac : {
266- artifactName : '${productName} Legacy Setup ${version}.${ext}'
266+ artifactName : '${productName} Legacy 10.13 10.14 Setup ${version}.${ext}'
267267 }
268268 } ,
269269 prepare : async ( archName ) => {
@@ -318,7 +318,7 @@ const run = async () => {
318318 '--windows-dir' : buildWindowsDir ,
319319 '--microsoft-store' : buildMicrosoftStore ,
320320 '--mac' : buildMac ,
321- '--mac-legacy' : buildMacLegacy ,
321+ '--mac-legacy-10.13-10.14 ' : buildMacLegacy10131014 ,
322322 '--mac-dir' : buildMacDir ,
323323 '--debian' : buildDebian ,
324324 '--tarball' : buildTarball ,
You can’t perform that action at this time.
0 commit comments