diff --git a/docs/README.md b/docs/README.md index c8cabac2..64bf5b67 100644 --- a/docs/README.md +++ b/docs/README.md @@ -174,6 +174,11 @@ Messages that arrive while Studio is still starting are queued until startup con | Packages, plugins, native tools | `~/OneWareStudio/Packages` | | Projects | `~/OneWareStudio/Projects` | | Settings and layouts | `%APPDATA%\OneWareStudio` (Windows), `~/.config/OneWareStudio` (Linux), `~/Library/Application Support/OneWareStudio` (macOS) | +| Cache | `%LOCALAPPDATA%\OneWareStudio` (Windows), `${XDG_CACHE_HOME:-~/.cache}/OneWareStudio` (Linux), `~/Library/Caches/OneWareStudio` (macOS) | + +On Windows, uninstalling removes the current user's default cache. Settings, packages and projects are +kept unless user data removal is selected; updates keep the cache and user data. With a custom +`ONEWARE_APPDATA_DIR`, the cache is stored in its `Cache` subdirectory instead. ## Building, testing and packaging diff --git a/studio/OneWare.Studio.Desktop.WindowsInstaller/StudioComponents.wxs b/studio/OneWare.Studio.Desktop.WindowsInstaller/StudioComponents.wxs index f6b59b6e..20f7efe8 100644 --- a/studio/OneWare.Studio.Desktop.WindowsInstaller/StudioComponents.wxs +++ b/studio/OneWare.Studio.Desktop.WindowsInstaller/StudioComponents.wxs @@ -4,11 +4,12 @@ the RemoveFolderEx custom action --> + - + @@ -20,6 +21,10 @@ + +