Small changes

- changed app icon size to 64x64
- disabled logging, added auth token export
- removed unused dependency
- added comment for `Runners.download` method
This commit is contained in:
Observer KRypt0n_ 2021-12-21 21:35:10 +02:00
parent 9dc5b47983
commit fbae851add
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA
3 changed files with 10 additions and 5 deletions

View file

@ -7,10 +7,10 @@
"url": "/", "url": "/",
"enableServer": true, "enableServer": true,
"enableNativeAPI": true, "enableNativeAPI": true,
"exportAuthInfo": false, "exportAuthInfo": true,
"logging": { "logging": {
"enabled": true, "enabled": false,
"writeToLogFile": true "writeToLogFile": false
}, },
"nativeBlockList": [], "nativeBlockList": [],
"globalVariables": {}, "globalVariables": {},
@ -21,7 +21,7 @@
"height": 700, "height": 700,
"fullScreen": false, "fullScreen": false,
"alwaysOnTop": false, "alwaysOnTop": false,
"icon": "/public/icons/256x256.png", "icon": "/public/icons/64x64.png",
"enableInspector": true, "enableInspector": true,
"borderless": false, "borderless": false,
"maximize": false, "maximize": false,

View file

@ -7,7 +7,6 @@
"build": "vite build && neu build --release" "build": "vite build && neu build --release"
}, },
"dependencies": { "dependencies": {
"es6-promisify": "^7.0.0",
"vue": "^3.2.25" "vue": "^3.2.25"
}, },
"devDependencies": { "devDependencies": {

View file

@ -210,6 +210,12 @@ class Runners
}); });
} }
/**
* Download runner to the [Constants.paths.runners] directory
*
* @param runner Runner object or name
* @returns Promise<null|Stream>
*/
public static download(runner: Runner|Runner['name']): Promise<null|Stream> public static download(runner: Runner|Runner['name']): Promise<null|Stream>
{ {
return new Promise(async (resolve) => { return new Promise(async (resolve) => {