Compare commits

...

3 Commits

Author SHA1 Message Date
f57b6a6783 update
Took 25 minutes
2023-02-24 12:09:57 +01:00
1ca7c0c3bc update
Took 24 seconds
2023-02-24 10:05:35 +01:00
320c436514 update
Took 16 minutes
2023-02-24 10:05:11 +01:00
4 changed files with 9 additions and 5 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ node_modules/
yarn-error.log
package.json.lock
dist/
releases/

View File

@ -1,8 +1,8 @@
{
"name": "ourcrypt",
"name": "trycrypt",
"version": "1.0.0",
"description": "",
"main": "index.js",
"main": "dist/main.js",
"scripts": {
"compile": "tsc && webpack",
"watchTs": "tsc -w",
@ -14,6 +14,7 @@
"fullBuild": "yarn run compile && yarn run distMult",
"pack": "electron-builder --dir"
},
"homepage": "https://gaminggeneration.de",
"keywords": [],
"author": {
"email": "tobi@gaminggeneration.de",
@ -60,10 +61,10 @@
"allowToChangeInstallationDirectory": false
},
"linux": {
"target": "AppImage",
"target": "deb",
"icon": "staticWeb/Infoscreen-Logo_256x256.png",
"category": "System",
"description": "The official infoscreen app compiled for debian"
"description": "The official trycrypt app compiled for debian"
},
"deb": {},
"directories": {

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,11 +16,12 @@ 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) => {
autoUpdater.on('update-available', (ev) => {
resolve(true);
})