2.2.0-beta7

- added Discord RPC support
- added language selection
- changed game directory
- a lot of inner changes

Thanks Maroxy for a strong help in development
+ pull requests 10, 11, 13, 14
This commit is contained in:
Observer KRypt0n_ 2021-10-24 15:44:59 +02:00
parent b9f360a67b
commit 89df4fb6f2
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA
7 changed files with 13 additions and 10 deletions

View file

@ -2,7 +2,9 @@
<img src="repository-pics/launcher-main.png">
<img src="repository-pics/launcher-settings.png">
<img src="repository-pics/launcher-settings-1.png">
<img src="repository-pics/launcher-settings-2.png">
<br><br>
@ -10,7 +12,7 @@
| Game version | Launcher version | Patch version |
| :---: | :---: | :---: |
| 2.2.0 | 2.2.0-beta6 ⚠️ | 2.2.0-stable ✅ |
| 2.2.0 | 2.2.0-beta7 ⚠️ | 2.2.0-stable ✅ |
Download from [Releases](https://notabug.org/nobody/an-anime-game-launcher/releases)

View file

@ -1,6 +1,6 @@
{
"name": "an-anime-game-linux-launcher",
"version": "2.2.0-beta6",
"version": "2.2.0-beta7",
"description": "An Anime Game Linux Launcher",
"author": "Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>",
"contributors": [

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 673 KiB

View file

@ -169,8 +169,9 @@ body
.select-options
position: absolute
display: none
overflow: auto
height: 230px
overflow: auto
background-color: white
border-radius: 12px

View file

@ -69,24 +69,24 @@ export class Genshinlib
public static getRunners (): Promise<[{ title: string, runners: Runner[] }]>
{
return new Promise((resolve, reject) => {
/*return new Promise((resolve, reject) => {
fetch(this.runnersUri)
.then(response => response.json())
.then(runners => resolve(runners));
});
});*/
// return JSON.parse(fs.readFileSync(path.join(__dirname, '..', '..', 'runners.json')));
return new Promise(resolve => resolve(JSON.parse(fs.readFileSync(path.join(path.dirname(__dirname), '..', '..', 'runners.json')))));
}
public static getDXVKs (): Promise<DXVK[]>
{
return new Promise((resolve, reject) => {
/*return new Promise((resolve, reject) => {
fetch(this.dxvksUri)
.then(response => response.json())
.then(dxvks => resolve(dxvks));
});
});*/
// return new Promise(resolve => resolve(JSON.parse(fs.readFileSync(path.join(__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