fix: reduce startup time

This commit is contained in:
aclist 2025-03-21 02:15:03 +09:00
parent 4eb3171891
commit 406943bc12
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## [5.7.0-beta.11] 2024-03-20
## Fixed
- Reduce startup time when testing remote APIs
## [5.7.0-beta.10] 2024-03-15
## Added
- Restore application size on subsequent startup

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o pipefail
version=5.7.0-beta.10
version=5.7.0-beta.11
#CONSTANTS
aid=221100
@ -882,7 +882,7 @@ test_connection(){
local res2
local str="No connection could be established to the remote server"
hr=(
["steampowered.com"]="https://api.steampowered.com/IGameServersService/GetServerList/v1/?key=$steam_api"
["steampowered.com"]="https://api.steampowered.com/IGameServersService/GetServerList/v1/?filter=\appid\221100&limit=10&key=$steam_api"
["github.com"]="https://github.com/$author"
["codeberg.org"]="https://codeberg.org/$author"
)