From 37383d25244a78c27d21fa61718e0dd14957beb4 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 | 4 +- packages/app-builder-lib/scheme.json | 8 +- packages/app-builder-lib/src/configuration.ts | 8 +- .../app-builder-lib/src/options/macOptions.ts | 17 +- packages/app-builder-lib/src/packager.ts | 9 +- .../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 | 40 +- packages/builder-util/package.json | 2 +- packages/dmg-builder/package.json | 3 +- 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 ++++-- .../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 +- 31 files changed, 716 insertions(+), 3523 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 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 @@