Skip to content

Commit 53cd2dc

Browse files
committed
Release v3.9: harden Wine zip path and updater script noise
1 parent c069280 commit 53cd2dc

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## v3.9
4+
5+
- Windows updater path handling: canonicalized `%ZIP_PATH%` to full absolute form before existence/extract checks, preventing malformed Wine path edge-cases.
6+
- VBScript fallback noise cleanup: removed a fragile redirection from `.vbs` generation in `update_from_zip.cmd` to avoid spurious `'2' is not recognized` console errors.
7+
38
## v3.8
49

510
- Linux/Wine package completeness: `release_linux_wine.zip` now includes `update_from_zip.cmd` in CI packaging, matching the current auto-install launch path.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.8
1+
3.9

hdr/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
Increment version using: ./increment_version.sh
88
*/
99

10-
#define SOFBUDDY_VERSION "3.8"
10+
#define SOFBUDDY_VERSION "3.9"

rsrc/win_scripts/update_from_zip.cmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ if not defined ZIP_PATH (
3232
pause
3333
exit /b 1
3434
)
35-
set "ZIP_PATH=!ZIP_PATH:/=\!"
36-
if /i not "!ZIP_PATH:~1,1!"==":" set "ZIP_PATH=%ROOT_DIR%\!ZIP_PATH!"
35+
if /i not "%ZIP_PATH:~1,1%"==":" set "ZIP_PATH=%ROOT_DIR%\%ZIP_PATH%"
36+
for %%I in ("%ZIP_PATH%") do set "ZIP_PATH=%%~fI"
3737
if not exist "!ZIP_PATH!" (
3838
echo Update zip not found: "!ZIP_PATH!"
3939
popd
@@ -125,7 +125,7 @@ set "VBS=%VBS_DIR%\sofbuddy_unzip_%RANDOM%%RANDOM%.vbs"
125125
echo dst.CopyHere src.Items, 16
126126
echo WScript.Sleep 3000
127127
echo WScript.Quit 0
128-
) > "%VBS%" 2>nul
128+
) > "%VBS%"
129129
if not exist "%VBS%" exit /b 1
130130

131131
where cscript.exe >nul 2>&1

0 commit comments

Comments
 (0)