Skip to content

Commit b8ec3f8

Browse files
committed
Rename --mac-legacy to --mac-legacy-10.13-10.14 to prepare for future
Electron 33 drops support for macOS 10.15 so we may end up having two different macOS legacy versions. While the macOS 10.13/10.14 version would run fine on macOS 10.15 as well, that would be a significant downgrade of Chromium which tends to result in data loss. This is starting to get a bit out of hand.
1 parent 2ae7f66 commit b8ec3f8

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
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: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
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:

docs/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

release-automation/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

release-automation/build.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)