diff --git a/.env b/.env index 662b883..ae9ed55 100644 --- a/.env +++ b/.env @@ -1,3 +1,5 @@ VITE_DEV_SERVER_URL=http://localhost:5173 SUPABASE_KEY='sb_secret_xYDyNcB7Q46ZYhDISeXRHQ_95l-N33m' SUPABASE_URL='https://jmuadfpmmejfvkwosaqh.supabase.co' +CSC_LINK='https://drive.google.com/uc?id=1fSmWPudBqoqRkxasBW6PNmMOCHbBAMdZ' +CSC_KEY_PASSWORD='1+1=1167jK' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b557682..34aef1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,8 +2,6 @@ name: Build Electron App on: push: - branches: - - main tags: - 'v*' @@ -37,6 +35,9 @@ jobs: - name: Run platform build run: npm run ${{ matrix.script }} + env: + CSC_LINK: ${{ secrets.CSC_LINK }} + CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} - name: Upload artifacts uses: actions/upload-artifact@v4 diff --git a/developerID_installer.cer b/developerID_installer.cer deleted file mode 100644 index fc77fcf..0000000 Binary files a/developerID_installer.cer and /dev/null differ diff --git a/electron-builder.yml b/electron-builder.yml index 3f6ab91..c608461 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -25,7 +25,8 @@ mac: - NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder. - NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder. notarize: false - cscLink: https://drive.google.com/uc?export=download&id=1gd3i3xEhJoh8xfVH52v_0ocKz8IvdI4B + cscLink: $CSC_LINK + cscKeyPassword: $CSC_KEY_PASSWORD dmg: artifactName: ${name}-${version}.${ext} linux: