update
Took 25 minutes
This commit is contained in:
parent
1ca7c0c3bc
commit
f57b6a6783
@ -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"
|
||||
|
@ -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');
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user