Minor changes

- fixed runners and dxvks loading in builded app
- updated repository logo
This commit is contained in:
Observer KRypt0n_ 2021-10-24 16:33:24 +02:00
parent 89df4fb6f2
commit 072e1d7640
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA
6 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View file

@ -5,4 +5,5 @@ yarn.lock
wineprefix-installation.log
public/css/index.css
public/css/settings.css
public/js
public/js
repository-pics/logo.xcf

BIN
repository-pics/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

View file

@ -75,7 +75,7 @@ export class Genshinlib
.then(runners => resolve(runners));
});*/
return new Promise(resolve => resolve(JSON.parse(fs.readFileSync(path.join(path.dirname(__dirname), '..', '..', 'runners.json')))));
return new Promise(resolve => resolve(JSON.parse(fs.readFileSync(path.join(path.dirname(__dirname), '..', 'runners.json')))));
}
public static getDXVKs (): Promise<DXVK[]>
@ -86,7 +86,7 @@ export class Genshinlib
.then(dxvks => resolve(dxvks));
});*/
return new Promise(resolve => resolve(JSON.parse(fs.readFileSync(path.join(path.dirname(__dirname), '..', '..', 'dxvks.json')))));
return new Promise(resolve => resolve(JSON.parse(fs.readFileSync(path.join(path.dirname(__dirname), '..', 'dxvks.json')))));
}
public static getConfig (property: string|null = null): any