Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Revert "[desktop] Code sign on Windows"

Manav Rathi69e2a36933f8
diff --git a/desktop/.github/workflows/desktop-release.yml b/desktop/.github/workflows/desktop-release.yml
index 5c54c2c33f..70eedf3ea6 100644
--- a/desktop/.github/workflows/desktop-release.yml
+++ b/desktop/.github/workflows/desktop-release.yml
@@ -54,16 +54,8 @@ jobs:
# https://github.com/electron-userland/electron-builder/issues/4181
run: sudo apt-get install libarchive-tools
- - name: Export Windows code signing certificate
- if: startsWith(matrix.os, 'windows')
- run: echo "$CSC_LINK_PFX_B64" | base64 -d > windows-csc.pfx
- shell: bash
- env:
- CSC_LINK_PFX_B64: ${{ secrets.WINDOWS_CSC_LINK_PFX_B64 }}
-
- - name: Build Linux
+ - name: Build
uses: ente-io/[email protected]
- if: startsWith(matrix.os, 'ubuntu')
with:
package_root: desktop
build_script_name: build:ci
@@ -76,19 +68,6 @@ jobs:
# create a (draft) release after building. Otherwise upload
# assets to the existing draft named after the version.
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
- env:
- # Workaround recommended in
- # https://github.com/electron-userland/electron-builder/issues/3179
- USE_HARD_LINKS: false
-
- - name: Build macOS
- uses: ente-io/[email protected]
- if: startsWith(matrix.os, 'macos')
- with:
- package_root: desktop
- build_script_name: build:ci
- github_token: ${{ secrets.GITHUB_TOKEN }}
- release: ${{ startsWith(github.ref, 'refs/tags/v') }}
mac_certs: ${{ secrets.MAC_CERTS }}
mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }}
@@ -99,18 +78,3 @@ jobs:
${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
USE_HARD_LINKS: false
-
- - name: Build Windows
- uses: ente-io/[email protected]
- if: startsWith(matrix.os, 'windows')
- with:
- package_root: desktop
- build_script_name: build:ci
- github_token: ${{ secrets.GITHUB_TOKEN }}
- release: ${{ startsWith(github.ref, 'refs/tags/v') }}
- env:
- # Windows signing credentials
- # https://www.electron.build/code-signing
- CSC_LINK: "windows-csc.pfx"
- CSC_KEY_PASSWORD: ${{ secrets.WINDOWS_CSC_KEY_PASSWORD }}
- USE_HARD_LINKS: false
diff --git a/desktop/electron-builder.yml b/desktop/electron-builder.yml
index aab8d0effb..c2c000ce9f 100644
--- a/desktop/electron-builder.yml
+++ b/desktop/electron-builder.yml
@@ -7,9 +7,6 @@ extraFiles:
- from: build
to: resources
win:
- publisherName:
- "C=US, ST=Delaware, L=Dover, O=Ente Technologies, Inc., CN=Ente,
target:
- target: nsis
arch: [x64, arm64]