diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 96ee1ed..0e4e70b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,15 +1,16 @@ name: Publish -on: - push: - branches: - - main +#on: +# push: +# branches: +# - main + +on: [push, pull_request] jobs: publish: # To enable auto publishing to github, update your electron publisher # config in package.json > "build" and remove the conditional below - if: ${{ github.repository_owner == 'electron-react-boilerplate' }} runs-on: ${{ matrix.os }} strategy: @@ -20,6 +21,12 @@ jobs: - name: Checkout git repo uses: actions/checkout@v3 + - name: Import Cert + uses: apple-actions/import-codesign-certs@v2 + with: + p12-file-base64: ${{ secrets.CERTIFICATES_P12 }} + p12-password: ${{ secrets.CSC_KEY_PASSWORD }} + - name: Install Node and NPM uses: actions/setup-node@v3 with: @@ -32,6 +39,10 @@ jobs: npm run postinstall npm run build + - name: Sign main executable + run: | + codesign --deep --options runtime --timestamp --force --verify --verbose --sign "Developer ID Application: FLock.io LTD (35H5QAYP2F)" build/bin/main.bin + - name: Publish releases env: # These values are used for auto updates signing diff --git a/splash/splash.gif b/splash/splash.gif index dcd4c47..f46d944 100644 Binary files a/splash/splash.gif and b/splash/splash.gif differ diff --git a/splash/splash.html b/splash/splash.html index 87033a7..b3b6cdd 100644 --- a/splash/splash.html +++ b/splash/splash.html @@ -5,7 +5,7 @@
-