Took 25 minutes
This commit is contained in:
Tobias Hopp 2023-02-24 12:09:57 +01:00
parent 1ca7c0c3bc
commit f57b6a6783
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

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

View File

@ -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<boolean> {
return new Promise((resolve, reject) => {
return resolve(false);
autoUpdater.on('update-available', (ev) => {
resolve(true);