From cec5fad0faca65ee5171208bbac15f8a7f4973fd Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 2 Jul 2019 14:11:14 -0700 Subject: [PATCH] fix: sign macOS builds --- .travis.yml | 7 +++++++ cert/solminer.p12 | Bin 0 -> 3221 bytes forge.config.js | 1 + 3 files changed, 8 insertions(+) create mode 100644 cert/solminer.p12 diff --git a/.travis.yml b/.travis.yml index f20b7de..8e657e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,13 @@ branches: - /^v\d+\.\d+\.\d+/ install: +- if ! $TRAVIS_PULL_REQUEST && [ $TRAVIS_OS_NAME = osx ]; then + security create-keychain -p mynotsecretpassword build.keychain; + security default-keychain -s build.keychain; + security unlock-keychain -p mynotsecretpassword build.keychain; + security import cert/solminer.p12 -k build.keychain -P "$SOLMINER_P12_PASSWORD" -T /usr/bin/codesign; + security find-identity -v; + fi - yarn script: diff --git a/cert/solminer.p12 b/cert/solminer.p12 new file mode 100644 index 0000000000000000000000000000000000000000..1ff404307fa33c0bab7092906eaee7c3e401b828 GIT binary patch literal 3221 zcmY+FWl$RmmxduExCM8oflw|13c-Rqlu+DVixnuvf(0*DD1{aYZWV5DDQ<-#1%kA= zJAon>sj&TKcK7c7ICEy6_nq_eJTNq6CV-F#hNiS2CW9tuCtOhxk`NZ7DRqEoN{v5Q z1%@V`|2HBoMiUSJK?49nf%La1{yuLIQUPe4?Jh<3px4gjS_bN zMb-{l=t*l)R280UduNM$)6OF(&|m(tL+zh056hVD+y;pfo*u66hPpVvyrU>#i9Pu& zSn7_UP7{`UYL!}ks9U^o8HiX`?UHVrd-2O{Lx@tC&TEnV!4O$fKm652cWf}cVdobV zIlaUdPIX;58zG6h#j9pV%j&1?t4n-A;dg*+fRRfZs7KtJYtfr#Uo}L?sOpP%&u<64 z3XX5h_Rrj?6#Wd{qS&?O!-IITRNfYhc0krXu5j(CE-OkrbDqB`+ni*FPJi~19o)TH z=x1otuo@3)n2w?pojSJIEE>=x#f1W3!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>n@kRIdU; literal 0 HcmV?d00001 diff --git a/forge.config.js b/forge.config.js index 099069a..dfe129f 100644 --- a/forge.config.js +++ b/forge.config.js @@ -30,6 +30,7 @@ module.exports = { packageManager: 'yarn', icon: 'src/images/icon/solminer', extraResource: solanaInstallInit, + osxSign: !!process.env.TRAVIS, // Only sign if running on Travis CI }, electronWinstallerConfig, electronInstallerDMG: {