From f57b6a67839b43a314cd8f507c9b6d51c4e057a0 Mon Sep 17 00:00:00 2001 From: Tobias Hopp Date: Fri, 24 Feb 2023 12:09:57 +0100 Subject: [PATCH] update Took 25 minutes --- package.json | 2 +- src/main.ts | 1 + src/updater.ts | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 94234f2..3ed89cf 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "allowToChangeInstallationDirectory": false }, "linux": { - "target": "AppImage", + "target": "deb", "icon": "staticWeb/Infoscreen-Logo_256x256.png", "category": "System", "description": "The official trycrypt app compiled for debian" diff --git a/src/main.ts b/src/main.ts index 4881f14..472fbbb 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,6 +3,7 @@ import * as path from "path"; import AppUpdater from "./updater"; const crypto = require('crypto'); + const setupPug = require('electron-pug'); const packageJson = require("../package.json"); const Store = require('electron-store'); diff --git a/src/updater.ts b/src/updater.ts index 4cf51cf..ffcaee7 100644 --- a/src/updater.ts +++ b/src/updater.ts @@ -16,12 +16,11 @@ export default class AppUpdater { //log.transports.file.level = "debug" autoUpdater.autoDownload = false; autoUpdater.allowDowngrade = false; - autoUpdater.setFeedURL("https://infoscreen.iif.li/releases/"); + autoUpdater.setFeedURL("https://gaminggeneration.de/trycrypt/"); } public checkForUpdates(): Promise { return new Promise((resolve, reject) => { - return resolve(false); autoUpdater.on('update-available', (ev) => { resolve(true);