From 4179247203527d27e4d7cc8b3d0c49dd3f1ba349 Mon Sep 17 00:00:00 2001 From: KeelrLeek <156356974+KeelrLeek@users.noreply.github.com> Date: Thu, 30 Jul 2026 07:39:30 -0500 Subject: [PATCH] build: strip the UTF-8 BOM that stopped both halves of the app starting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0.1.0-alpha.2 bumped three version strings with a tool that writes UTF-8 WITH a BOM, and committed it. Neither build survives that: package.json vitefu JSON.parses the raw string, so `npm run dev` exited instantly — "Unable to read package.json" tauri.conf.json the Tauri build script failed with "expected value at line 1 column 1"; cargo exit 101 Cargo.toml tolerated, but wrong `require()` hides this. Node strips a BOM on require and JSON.parse does not, so reading package.json from a REPL reports a perfectly good file while both builds refuse it. Only the raw bytes show it: EF BB BF. All 191 tracked files scanned. These three were the only ones affected, and they are exactly the three 5682dfc touched. Stripped with Node rather than PowerShell, whose default Out-File/Set-Content encoding is what wrote them in the first place — the files are byte-identical but for the three leading bytes. Cargo.lock carries the 0.1.0-alpha.1 -> alpha.2 propagation the release commit left behind in the working tree. --- Cargo.lock | 14 +++++++------- Cargo.toml | 2 +- package.json | 2 +- src-tauri/tauri.conf.json | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 35bd3f8..15b962e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -161,7 +161,7 @@ checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3" [[package]] name = "app" -version = "0.1.0-alpha.1" +version = "0.1.0-alpha.2" dependencies = [ "base64 0.22.1", "image", @@ -2296,7 +2296,7 @@ dependencies = [ [[package]] name = "library" -version = "0.1.0-alpha.1" +version = "0.1.0-alpha.2" dependencies = [ "log", "rusqlite", @@ -2427,7 +2427,7 @@ dependencies = [ [[package]] name = "metadata" -version = "0.1.0-alpha.1" +version = "0.1.0-alpha.2" dependencies = [ "futures", "httpdate", @@ -3077,7 +3077,7 @@ checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" [[package]] name = "player" -version = "0.1.0-alpha.1" +version = "0.1.0-alpha.2" dependencies = [ "env_logger", "log", @@ -4075,7 +4075,7 @@ dependencies = [ [[package]] name = "soulseek-client" -version = "0.1.0-alpha.1" +version = "0.1.0-alpha.2" dependencies = [ "bytes", "env_logger", @@ -4089,7 +4089,7 @@ dependencies = [ [[package]] name = "soulseek-proto" -version = "0.1.0-alpha.1" +version = "0.1.0-alpha.2" dependencies = [ "bytes", "flate2", @@ -4463,7 +4463,7 @@ dependencies = [ [[package]] name = "tagger" -version = "0.1.0-alpha.1" +version = "0.1.0-alpha.2" dependencies = [ "lofty", "log", diff --git a/Cargo.toml b/Cargo.toml index 8a7e15b..e60e2e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,4 @@ -[workspace] +[workspace] resolver = "2" members = [ "src-tauri", diff --git a/package.json b/package.json index 0651072..cd425da 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,4 @@ -{ +{ "name": "soulstream", "version": "0.1.0-alpha.2", "type": "module", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 1c75f71..b013416 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "SoulStream", "version": "0.1.0-alpha.2",