Skip to content

Commit e9c6ffe

Browse files
committed
Release v4.0: fix Windows updater command path parsing
1 parent 53cd2dc commit e9c6ffe

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

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

3+
## v4.0
4+
5+
- Windows updater launch fix: switched queued installer script path to Windows separators (`sof_buddy\update_from_zip.cmd`) so post-exit `cmd.exe` execution no longer misparses the script path on Win10/11.
6+
37
## v3.9
48

59
- Windows updater path handling: canonicalized `%ZIP_PATH%` to full absolute form before existence/extract checks, preventing malformed Wine path edge-cases.

VERSION

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

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.9"
10+
#define SOFBUDDY_VERSION "4.0"

src/core/update_command.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ constexpr const char* kUpdateApiUrl = kUpdateApiUrlGitHub;
3434
constexpr const char* kUpdateReleasesUrl = kUpdateReleasesUrlGitHub;
3535
#endif
3636
constexpr const char* kUpdateOutputDir = "sof_buddy/update";
37-
constexpr const char* kUpdateInstallScript = "sof_buddy/update_from_zip.cmd";
37+
constexpr const char* kUpdateInstallScript = "sof_buddy\\update_from_zip.cmd";
3838
constexpr DWORD kUpdateTimeoutMs = 8000;
3939
constexpr uintptr_t kWinstartRva = 0x0040353C;
4040

0 commit comments

Comments
 (0)