Compare commits

...

2 Commits

Author SHA1 Message Date
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
3 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

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

View File

@ -1,8 +1,8 @@
{ {
"name": "ourcrypt", "name": "trycrypt",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"main": "index.js", "main": "dist/main.js",
"scripts": { "scripts": {
"compile": "tsc && webpack", "compile": "tsc && webpack",
"watchTs": "tsc -w", "watchTs": "tsc -w",
@ -14,6 +14,7 @@
"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",
@ -63,7 +64,7 @@
"target": "AppImage", "target": "AppImage",
"icon": "staticWeb/Infoscreen-Logo_256x256.png", "icon": "staticWeb/Infoscreen-Logo_256x256.png",
"category": "System", "category": "System",
"description": "The official infoscreen app compiled for debian" "description": "The official trycrypt app compiled for debian"
}, },
"deb": {}, "deb": {},
"directories": { "directories": {

View File

@ -21,6 +21,8 @@ export default class AppUpdater {
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);
}) })