Compare commits

...

17 Commits

Author SHA1 Message Date
aclist
2228cc26dd
Update CHANGELOG.md
Some checks failed
Mirror to Codeberg / mirror-to-codeberg (push) Has been cancelled
2025-12-27 23:59:47 +09:00
aclist
9913e48524
Merge pull request #251 from aclist/fix/setup-whitespaces
fix: enclose whitespaces during setup
2025-12-27 23:46:05 +09:00
aclist
203ca0d388 chore: update changelog 2025-12-27 23:44:54 +09:00
aclist
34ee8c6645 fix: enclose whitespaces during setup 2025-12-27 23:42:49 +09:00
aclist
0cd561b62a fix: enclose game_dir in quotes 2025-12-27 23:06:11 +09:00
aclist
b9c30b4f52 fix: encapsulate paths 2025-12-27 21:06:44 +09:00
aclist
a2dc935ffc
Update bug_report.yml 2025-12-27 21:04:38 +09:00
aclist
1f9159792d
Merge pull request #250 from aclist/chore/template-disclaimer
Chore/template disclaimer
2025-12-27 21:03:54 +09:00
aclist
d0d05cfc2b Merge branch 'main' into chore/template-disclaimer 2025-12-27 21:02:37 +09:00
aclist
8578cad702 chore: add disclaimer 2025-12-27 21:01:59 +09:00
aclist
b1cca7bb69
Update trouble.yml 2025-12-27 21:01:04 +09:00
aclist
a7486ccea9
Update trouble.yml 2025-12-27 21:00:44 +09:00
aclist
ff678dccaf
Update trouble.yml 2025-12-27 21:00:24 +09:00
aclist
243e92b660
Merge pull request #249 from aclist/chore/template-disclaimer
chore: add disclaimer
2025-12-27 20:58:21 +09:00
aclist
51f69e8b4e chore: add disclaimer 2025-12-27 20:57:59 +09:00
aclist
4bcf894704 chore: update installscript branch 2025-12-27 20:41:25 +09:00
aclist
c37800795b fix: malformed vdf path discovery 2025-12-27 20:39:09 +09:00
4 changed files with 33 additions and 6 deletions

View File

@ -5,6 +5,10 @@ labels: ["bug"]
assignees:
- aclist
body:
- type: markdown
attributes:
value: |
### WARNING: When posting log/config data, redact any sensitive information like API keys.
- type: checkboxes
id: kb
attributes:

View File

@ -5,6 +5,10 @@ labels: ["troubleshooting"]
assignees:
- aclist
body:
- type: markdown
attributes:
value: |
### WARNING: When posting log/config data, redact any sensitive information like API keys.
- type: dropdown
id: device
attributes:

View File

@ -1,5 +1,10 @@
# Changelog
## [5.8.1] 2025-12-27
## Fixed
- Path discovery during first-time setup when parsing filepaths with whitespaces
- First-time setup dialog continuously triggering when DayZ install path had whitespaces in it
## [5.8.0] 2025-07-06
## Added
- Filter servers by official/unofficial status

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o pipefail
version=5.8.0
version=5.8.1
#CONSTANTS
aid=221100
@ -488,7 +488,7 @@ migrate_files(){
}
stale_symlinks(){
local game_dir="$steam_path/steamapps/common/DayZ"
for l in $(find "$game_dir" -xtype l); do
for l in "$(find "$game_dir" -xtype l)"; do
logger DEBUG "Updating stale symlink '$l'"
unlink "$l"
done
@ -851,12 +851,26 @@ file_picker(){
}
find_library_folder(){
local search_path="$1"
steam_path="$(python3 "$helpers_path/vdf2json.py" -i "$1/steamapps/libraryfolders.vdf" \
| jq -r '.libraryfolders[]|select(.apps|has("221100")).path')"
if [[ ! $? -eq 0 ]] || [[ -z $steam_path ]]; then
readarray -t paths < <(python3 "$helpers_path/vdf2json.py" -i "$1/steamapps/libraryfolders.vdf" \
| jq -r '.libraryfolders[]|select(.apps|has("221100")).path')
if [[ ! $? -eq 0 ]]; then
logger WARN "Failed to parse Steam path using '$search_path'"
return 1
fi
if [[ ${#paths[@]} -eq 0 ]]; then
logger WARN "No valid VDF paths in '$search_path'"
return 1
fi
if [[ ${#paths[@]} -gt 1 ]]; then
for path in "${paths[@]}"; do
if [[ -d "$path" ]]; then
steam_path="$path"
break
fi
done
else
steam_path="${paths[0]}"
fi
logger INFO "Steam path resolved to: $steam_path"
}
create_config(){
@ -938,7 +952,7 @@ varcheck(){
source "$config_file"
local workshop_dir="$steam_path/steamapps/workshop/content/$aid"
local game_dir="$steam_path/steamapps/common/DayZ"
if [[ ! -d $steam_path ]] || [[ ! -d $game_dir ]] || [[ ! $(find $game_dir -type f) ]]; then
if [[ ! -d $steam_path ]] || [[ ! -d $game_dir ]] || [[ ! $(find "$game_dir" -type f) ]]; then
logger WARN "DayZ path resolved to '$game_dir'"
logger WARN "Workshop path resolved to '$workshop_dir'"
qdialog "$msg2" "Yes" "Exit"