From 74388bbe742c82037a75225f38101b14b8017a1b Mon Sep 17 00:00:00 2001 From: develar Date: Tue, 21 Jun 2016 11:33:52 +0200 Subject: [PATCH] feat: specified icon not being used when generating osx build Close #519 --- .idea/dictionaries/develar.xml | 1 + .idea/typescript-compiler.xml | 1 + .travis.yml | 2 +- CONTRIBUTING.md | 2 +- README.md | 20 +- appveyor.yml | 1 + docker/6/Dockerfile | 2 +- docs/Code Signing.md | 4 +- docs/Multi Platform Build.md | 16 +- docs/Options.md | 51 ++-- docs/Publishing Artifacts.md | 2 +- docs/programmaticUsage.js | 2 +- package.json | 7 +- src/asarUtil.ts | 4 +- src/build-cli.ts | 17 ++ src/builder.ts | 16 +- src/cliOptions.ts | 34 ++- src/index.ts | 5 +- src/linuxPackager.ts | 285 ++++------------------- src/metadata.ts | 107 ++++++--- src/osxPackager.ts | 164 ++++++------- src/packager.ts | 55 +++-- src/platformPackager.ts | 95 ++++---- src/promise.ts | 4 +- src/targets/archive.ts | 2 +- src/targets/dmg.ts | 84 +++++++ src/targets/fpm.ts | 247 ++++++++++++++++++++ src/targets/nsis.ts | 21 +- src/targets/squirrelWindows.ts | 27 +-- src/targets/targetFactory.ts | 39 ++++ src/util.ts | 2 +- src/winPackager.ts | 87 ++++--- test/README.md | 2 +- test/fixtures/test-app-one/index.js | 4 +- test/fixtures/test-app-one/package.json | 7 +- test/fixtures/test-app/app/index.js | 4 +- test/fixtures/test-app/package.json | 7 +- test/src/BuildTest.ts | 15 +- test/src/globTest.ts | 2 +- test/src/helpers/packTester.ts | 13 +- test/src/helpers/runTests.ts | 3 + test/src/osxPackagerTest.ts | 59 ++++- test/src/winPackagerTest.ts | 35 ++- test/tsconfig.json | 5 +- tsconfig.json | 5 + typings/electron-packager.d.ts | 6 +- {test/typings => typings}/path-sort.d.ts | 0 typings/updateNotifier.d.ts | 18 ++ 48 files changed, 970 insertions(+), 621 deletions(-) create mode 100644 src/targets/dmg.ts create mode 100644 src/targets/fpm.ts create mode 100644 src/targets/targetFactory.ts rename {test/typings => typings}/path-sort.d.ts (100%) create mode 100644 typings/updateNotifier.d.ts diff --git a/.idea/dictionaries/develar.xml b/.idea/dictionaries/develar.xml index 591cee5671d..bdebf788e4b 100644 --- a/.idea/dictionaries/develar.xml +++ b/.idea/dictionaries/develar.xml @@ -5,6 +5,7 @@ appveyor archs aspx + atime authenticode awaiter bintray diff --git a/.idea/typescript-compiler.xml b/.idea/typescript-compiler.xml index 88b88fe9a19..498a6a21392 100644 --- a/.idea/typescript-compiler.xml +++ b/.idea/typescript-compiler.xml @@ -4,6 +4,7 @@