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);