update
Took 25 minutes
This commit is contained in:
parent
1ca7c0c3bc
commit
f57b6a6783
@ -61,7 +61,7 @@
|
|||||||
"allowToChangeInstallationDirectory": false
|
"allowToChangeInstallationDirectory": false
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"target": "AppImage",
|
"target": "deb",
|
||||||
"icon": "staticWeb/Infoscreen-Logo_256x256.png",
|
"icon": "staticWeb/Infoscreen-Logo_256x256.png",
|
||||||
"category": "System",
|
"category": "System",
|
||||||
"description": "The official trycrypt app compiled for debian"
|
"description": "The official trycrypt app compiled for debian"
|
||||||
|
@ -3,6 +3,7 @@ import * as path from "path";
|
|||||||
import AppUpdater from "./updater";
|
import AppUpdater from "./updater";
|
||||||
const crypto = require('crypto');
|
const crypto = require('crypto');
|
||||||
|
|
||||||
|
|
||||||
const setupPug = require('electron-pug');
|
const setupPug = require('electron-pug');
|
||||||
const packageJson = require("../package.json");
|
const packageJson = require("../package.json");
|
||||||
const Store = require('electron-store');
|
const Store = require('electron-store');
|
||||||
|
@ -16,12 +16,11 @@ export default class AppUpdater {
|
|||||||
//log.transports.file.level = "debug"
|
//log.transports.file.level = "debug"
|
||||||
autoUpdater.autoDownload = false;
|
autoUpdater.autoDownload = false;
|
||||||
autoUpdater.allowDowngrade = false;
|
autoUpdater.allowDowngrade = false;
|
||||||
autoUpdater.setFeedURL("https://infoscreen.iif.li/releases/");
|
autoUpdater.setFeedURL("https://gaminggeneration.de/trycrypt/");
|
||||||
}
|
}
|
||||||
|
|
||||||
public checkForUpdates(): Promise<boolean> {
|
public checkForUpdates(): Promise<boolean> {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
return resolve(false);
|
|
||||||
|
|
||||||
autoUpdater.on('update-available', (ev) => {
|
autoUpdater.on('update-available', (ev) => {
|
||||||
resolve(true);
|
resolve(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user