Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino

This commit is contained in:
Maroxy 2021-12-21 20:42:42 +01:00
commit bde04d7a9a
No known key found for this signature in database
GPG key ID: F4B27EADB21E3021
3 changed files with 10 additions and 5 deletions

View file

@ -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,

View file

@ -7,7 +7,6 @@
"build": "vite build && neu build --release"
},
"dependencies": {
"es6-promisify": "^7.0.0",
"vue": "^3.2.25"
},
"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>
{
return new Promise(async (resolve) => {