diff options
author | Ashraf Teleb <ashraf.teleb85@gmail.com> | 2022-06-03 22:33:11 +0300 |
---|---|---|
committer | Ashraf Teleb <ashraf.teleb85@gmail.com> | 2022-06-03 22:33:11 +0300 |
commit | a5d441dd346b8daf2af234c0697abab0c15f9cce (patch) | |
tree | 65c725c6a09afa52667ea632eb07e38232a4d4fd | |
parent | 9ed47c8766490ee6a3f517a0981250112b7a8352 (diff) |
Using non-EV certificate to sign windows binaries
-rw-r--r-- | .github/workflows/electron-builder-win.yml | 2 | ||||
-rw-r--r-- | electron-builder-appx.json | 3 | ||||
-rw-r--r-- | electron-builder-win.json | 8 | ||||
-rw-r--r-- | electron-builder-win32.json | 11 |
4 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/electron-builder-win.yml b/.github/workflows/electron-builder-win.yml index a1116e3..c1638cd 100644 --- a/.github/workflows/electron-builder-win.yml +++ b/.github/workflows/electron-builder-win.yml @@ -10,6 +10,8 @@ jobs: runs-on: windows-latest env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CSC_LINK: ${{ secrets.WIN_CSC_LINK }} + CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }} steps: - name: Checkout reposistory uses: actions/checkout@v2 diff --git a/electron-builder-appx.json b/electron-builder-appx.json index a0d4b20..8c71d49 100644 --- a/electron-builder-appx.json +++ b/electron-builder-appx.json @@ -20,8 +20,7 @@ { "target": "appx", "arch": [ - "x64", - "ia32" + "x64" ] } ] diff --git a/electron-builder-win.json b/electron-builder-win.json index fcd9571..0c5af51 100644 --- a/electron-builder-win.json +++ b/electron-builder-win.json @@ -6,7 +6,6 @@ "**/*", "!**/WEB-INF{,/**}" ], - "artifactName": "${productName}-${arch}-${version}.${ext}", "directories": { "app": "./drawio/src/main/webapp", "output": "./dist/" @@ -16,6 +15,7 @@ "provider": "github" }, "win": { + "publisherName": "JGraph Ltd", "target": [ { "target": "nsis", @@ -38,12 +38,16 @@ ] }, "nsis": { + "artifactName": "${productName}-${version}-windows-installer.${ext}", "oneClick": false, "perMachine": true, "allowToChangeInstallationDirectory": true }, + "msi": { + "artifactName": "${productName}-${version}.${ext}" + }, "portable": { - "artifactName": "${productName}-${version}-portable.${ext}" + "artifactName": "${productName}-${version}-windows-no-installer.${ext}" }, "fileAssociations": [ { diff --git a/electron-builder-win32.json b/electron-builder-win32.json index 84b28bc..aa83d72 100644 --- a/electron-builder-win32.json +++ b/electron-builder-win32.json @@ -6,7 +6,6 @@ "**/*", "!**/WEB-INF{,/**}" ], - "artifactName": "${productName}-ia32-${version}.${ext}", "directories": { "app": "./drawio/src/main/webapp", "output": "./dist/" @@ -16,6 +15,7 @@ "provider": "github" }, "win": { + "publisherName": "JGraph Ltd", "target": [ { "target": "nsis", @@ -28,22 +28,17 @@ "arch": [ "ia32" ] - }, - { - "target": "msi", - "arch": [ - "ia32" - ] } ] }, "nsis": { + "artifactName": "${productName}-ia32-${version}-windows-32bit-installer.${ext}", "oneClick": false, "perMachine": true, "allowToChangeInstallationDirectory": true }, "portable": { - "artifactName": "${productName}-ia32-${version}-portable.${ext}" + "artifactName": "${productName}-ia32-${version}-windows-32bit-no-installer.${ext}" }, "fileAssociations": [ { |