Skip to content

Commit

Permalink
fix: sign macOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jul 2, 2019
1 parent 0af5f9d commit cec5fad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Binary file added cert/solminer.p12
Binary file not shown.
1 change: 1 addition & 0 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit cec5fad

Please sign in to comment.