From d289f4b0f09d090bf6883ada661fcf8e1c0559f2 Mon Sep 17 00:00:00 2001 From: develar Date: Thu, 1 Dec 2016 08:57:12 +0100 Subject: [PATCH] fix(mac): build.fileAssociations icon links to original file in output Closes #954 --- .gitignore | 23 +++++++++--- .idea/inspectionProfiles/Project_Default.xml | 5 +++ package.json | 4 +-- src/packager/mac.ts | 16 ++++++--- .../mac/__snapshots__/macPackagerTest.js.snap | 35 +++++++++++++++++++ test/src/helpers/packTester.ts | 9 +++-- test/src/mac/macPackagerTest.ts | 29 +++++++++++++-- yarn.lock | 22 ++++++------ 8 files changed, 118 insertions(+), 25 deletions(-) create mode 100644 test/out/mac/__snapshots__/macPackagerTest.js.snap diff --git a/.gitignore b/.gitignore index 6cd89979bf8..8f131770e95 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1,31 @@ node_modules/ *.log -out/ + +#**/out/**/* +#!**/*js.snap + dist/ + /.idea/compiler.xml /.idea/encodings.xml -/.idea/copyright/profiles_settings.xml /.idea/workspace.xml +/.idea/copyright/ /.idea/deployment.xml +/.idea/shelf/ + +/docs/.idea/ + /typings/browser/ /typings/browser.d.ts /typings/main.d.ts + .DS_Store -.idea/shelf/ + /test/typings/electron-builder.d.ts -/test/typings/electron-auto-updater.d.ts \ No newline at end of file +/test/typings/electron-auto-updater.d.ts + +/nsis-auto-updater/out/ +/out/ +# to not exclude .js.snap (jest snapshots) +/test/out/**/*.js +/test/out/**/*.map \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index a4ab52713ac..3d4082833f6 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -3,8 +3,13 @@