Minor changes

- added usage statistics to the readme
- changed let to const in.. don't matter
This commit is contained in:
Observer KRypt0n_ 2021-11-07 01:03:27 +02:00
parent 5c0ea4e5da
commit dbf8540946
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA
3 changed files with 10 additions and 5 deletions

View file

@ -22,6 +22,12 @@ Download from [Releases](https://notabug.org/nobody/an-anime-game-launcher/relea
<br> <br>
## Usage statistics
<img src="repository-pics/statistics.png">
<br>
# Requirements # Requirements
To work this launcher requires To work this launcher requires

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View file

@ -28,12 +28,11 @@ export class Tools
{ {
return new Promise(resolve => { return new Promise(resolve => {
getPixels(path, (err: void, pixels: any) => { getPixels(path, (err: void, pixels: any) => {
let response = []; let response = [], offset = 0;
let width = pixels.shape[0], const width = pixels.shape[0],
height = pixels.shape[1], height = pixels.shape[1],
depth = pixels.shape[2], depth = pixels.shape[2];
offset = 0;
for (let i = 0; i < height; ++i) for (let i = 0; i < height; ++i)
for (let j = 0; j < width; ++j) for (let j = 0; j < width; ++j)