From fbae851add4ee2f6fcc3f681814b1ba9d9f18466 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Tue, 21 Dec 2021 21:35:10 +0200 Subject: [PATCH] Small changes - changed app icon size to 64x64 - disabled logging, added auth token export - removed unused dependency - added comment for `Runners.download` method --- neutralino.config.json | 8 ++++---- package.json | 1 - src/ts/Runners.ts | 6 ++++++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/neutralino.config.json b/neutralino.config.json index c506a00..314ad26 100644 --- a/neutralino.config.json +++ b/neutralino.config.json @@ -7,10 +7,10 @@ "url": "/", "enableServer": true, "enableNativeAPI": true, - "exportAuthInfo": false, + "exportAuthInfo": true, "logging": { - "enabled": true, - "writeToLogFile": true + "enabled": false, + "writeToLogFile": false }, "nativeBlockList": [], "globalVariables": {}, @@ -21,7 +21,7 @@ "height": 700, "fullScreen": false, "alwaysOnTop": false, - "icon": "/public/icons/256x256.png", + "icon": "/public/icons/64x64.png", "enableInspector": true, "borderless": false, "maximize": false, diff --git a/package.json b/package.json index 708fae5..4df34db 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "build": "vite build && neu build --release" }, "dependencies": { - "es6-promisify": "^7.0.0", "vue": "^3.2.25" }, "devDependencies": { diff --git a/src/ts/Runners.ts b/src/ts/Runners.ts index 88b0b22..806f355 100644 --- a/src/ts/Runners.ts +++ b/src/ts/Runners.ts @@ -210,6 +210,12 @@ class Runners }); } + /** + * Download runner to the [Constants.paths.runners] directory + * + * @param runner Runner object or name + * @returns Promise + */ public static download(runner: Runner|Runner['name']): Promise { return new Promise(async (resolve) => {