Compare commits

..

No commits in common. "master" and "alpha-1.0.0" have entirely different histories.

4 changed files with 5 additions and 9 deletions

1
.gitignore vendored
View File

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

View File

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

View File

@ -3,7 +3,6 @@ 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');

View File

@ -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://gaminggeneration.de/trycrypt/"); autoUpdater.setFeedURL("https://infoscreen.iif.li/releases/");
} }
public checkForUpdates(): Promise<boolean> { public checkForUpdates(): Promise<boolean> {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
autoUpdater.on('update-available', (ev) => { autoUpdater.on('update-available', (ev) => {
resolve(true); resolve(true);
}) })