mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-26 06:47:07 +03:00
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:
parent
9dc5b47983
commit
fbae851add
3 changed files with 10 additions and 5 deletions
|
@ -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,
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
"build": "vite build && neu build --release"
|
||||
},
|
||||
"dependencies": {
|
||||
"es6-promisify": "^7.0.0",
|
||||
"vue": "^3.2.25"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue