From 74f72eb7b2b855ddef4c0b1b723bf6a6738e4f72 Mon Sep 17 00:00:00 2001 From: develar Date: Fri, 19 Jul 2019 09:41:11 +0200 Subject: [PATCH] fix(dmg): cannot build DMG on macOS 10.15 Close #3990 --- .idea/codeStyles/Project.xml | 7 + .idea/dictionaries/develar.xml | 1 + package.json | 6 +- packages/app-builder-lib/package.json | 3 +- packages/app-builder-lib/scheme.json | 6 +- packages/app-builder-lib/src/configuration.ts | 6 - .../app-builder-lib/src/options/macOptions.ts | 17 +- packages/app-builder-lib/src/packager.ts | 7 - .../src/publish/PublishManager.ts | 2 +- .../src/targets/nsis/nsisOptions.ts | 2 +- .../app-builder-lib/src/util/appBuilder.ts | 4 + packages/app-builder-lib/src/util/config.ts | 39 +- packages/builder-util/package.json | 2 +- packages/dmg-builder/package.json | 1 - packages/dmg-builder/src/dmg.ts | 147 ++-- packages/dmg-builder/src/dmgUtil.ts | 17 - .../dmg-builder/templates/dmgProperties.pl | 44 - packages/dmg-builder/templates/settings.py | 230 ----- .../dmg-builder/vendor/Mac/Finder/DSStore.pm | 733 --------------- .../Mac/Finder/DSStore/BuddyAllocator.pm | 783 ---------------- .../vendor/Mac/Finder/DSStore/Format.pod | 552 ------------ .../dmg-builder/vendor/biplist/__init__.py | 278 ++++-- packages/dmg-builder/vendor/dmgProperties.py | 186 ++++ .../dmg-builder/vendor/dmgbuild/__init__.py | 3 - packages/dmg-builder/vendor/dmgbuild/core.py | 832 ++++++------------ .../dmg-builder/vendor/dmgbuild/resources.py | 355 -------- packages/dmg-builder/vendor/ds_store/store.py | 2 +- packages/electron-builder/package.json | 2 +- test/out/mac/__snapshots__/dmgTest.js.snap | 69 ++ test/src/mac/dmgTest.ts | 23 + test/src/protonTest.ts | 8 +- yarn.lock | 48 +- 32 files changed, 896 insertions(+), 3519 deletions(-) delete mode 100644 packages/dmg-builder/templates/dmgProperties.pl delete mode 100644 packages/dmg-builder/templates/settings.py delete mode 100644 packages/dmg-builder/vendor/Mac/Finder/DSStore.pm delete mode 100644 packages/dmg-builder/vendor/Mac/Finder/DSStore/BuddyAllocator.pm delete mode 100644 packages/dmg-builder/vendor/Mac/Finder/DSStore/Format.pod create mode 100644 packages/dmg-builder/vendor/dmgProperties.py delete mode 100644 packages/dmg-builder/vendor/dmgbuild/__init__.py delete mode 100644 packages/dmg-builder/vendor/dmgbuild/resources.py diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 9f8e8a245ea..24e63815faf 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -64,6 +64,13 @@