From 90452a8f8ccee4aea628dff96869cf0546504873 Mon Sep 17 00:00:00 2001 From: cucadmuh <49571317+cucadmuh@users.noreply.github.com> Date: Thu, 11 Jun 2026 11:02:51 +0300 Subject: [PATCH] fix(whats-new): allow plugin-fs write into AppData cache dir (#1062) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(whats-new): allow plugin-fs write into AppData cache dir mkdir for release-notes/ succeeded but write_text_file to nested paths was denied without fs:allow-app-write-recursive — RC/stable re-fetched whats-new.md on every launch with an empty cache folder. * docs: CHANGELOG PR #1062 for release-notes cache write --- CHANGELOG.md | 8 ++++++++ src-tauri/capabilities/default.json | 1 + 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21cde3be..e0db3e04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -341,6 +341,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +### What's New — release-notes cache file on disk (RC/stable) + +**By [@cucadmuh](https://github.com/cucadmuh), PR [#1062](https://github.com/Psychotoxical/psysonic/pull/1062)** + +* RC and stable builds now persist the downloaded `whats-new.md` slice under AppData — `plugin-fs` had mkdir but lacked recursive write scope, so the `release-notes/` folder appeared empty and every launch re-fetched from GitHub. + + + ## [1.47.0] > **🙏 Thank you to our amazing Discord community.** This release would not have been possible without your tireless support, quality checks, bug reports and all-round collaboration. Every report, every repro and every bit of feedback shaped what shipped here — thank you. Come join us: [discord.gg/AMnDRErm4u](https://discord.gg/AMnDRErm4u) diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 77e78831..243a4de7 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -22,6 +22,7 @@ "fs:allow-write-file", "fs:allow-read-file", "fs:allow-mkdir", + "fs:allow-app-write-recursive", "fs:scope-download-recursive", "fs:scope-home-recursive", "window-state:allow-save-window-state",