Skip to content

armgit / ente

Public Imported from GitHub
0

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

[ensu] default updater endpoint to ensu-desktop json

Prateek Sunal133f685f09a8
diff --git a/.github/workflows/ensu-release.yml b/.github/workflows/ensu-release.yml
index 50ba3e5353..12b4e3c831 100644
--- a/.github/workflows/ensu-release.yml
+++ b/.github/workflows/ensu-release.yml
@@ -132,13 +132,12 @@ jobs:
env:
ENSU_TAURI_UPDATER_PUBKEY: ${{ vars.ENSU_TAURI_UPDATER_PUBKEY }}
ENSU_TAURI_UPDATER_ENDPOINT: ${{ vars.ENSU_TAURI_UPDATER_ENDPOINT }}
- GH_REPO: ${{ github.repository }}
run: |
node - <<'NODE'
const fs = require('fs');
const path = 'rust/apps/ensu/src-tauri/tauri.conf.json';
const config = JSON.parse(fs.readFileSync(path, 'utf8'));
- const endpoint = (process.env.ENSU_TAURI_UPDATER_ENDPOINT || `https://github.com/${process.env.GH_REPO}/releases/latest/download/latest.json`).trim();
+ const endpoint = (process.env.ENSU_TAURI_UPDATER_ENDPOINT || 'https://ente.io/release-info/ensu-desktop.json').trim();
if (!process.env.ENSU_TAURI_UPDATER_PUBKEY) {
throw new Error('ENSU_TAURI_UPDATER_PUBKEY is empty');