spacedrive/apps
jake f9e827512f
[ENG-1540] Remove localStorage if no libraries are created (#1945)
* feat: clear localstorage on start if no libraries are found

* chore: add a check to see if the node is for desktop or server use

this will prevent desktop/app localstorage from being cleared if it's a server being hosted

* fix: add secondary localstorage directory for macos

for some reason the app/onboarding progress is kept in `Library/WebKit/Spacedrive` (at least in dev?) so it also needs clearing

* feat: delete cache directories also

* chore: iterate over paths

* feat: add support for windows `localStorage` by using `data_local_dir`

* docs/style: better comments and logs

* feat: remove both `AppData` local and roaming on Windows

* fix: mobile builds

* chore: tweak error message for windows
2024-01-29 12:32:48 +00:00
..
cli [ENG-1479] AI Prototype (#1845) 2023-12-19 09:28:57 +00:00
desktop [ENG-1540] Remove localStorage if no libraries are created (#1945) 2024-01-29 12:32:48 +00:00
landing Port AppImage build to use appimage-builder (#1785) 2024-01-22 10:52:26 +00:00
mobile [ENG-1540] Remove localStorage if no libraries are created (#1945) 2024-01-29 12:32:48 +00:00
server [ENG-1540] Remove localStorage if no libraries are created (#1945) 2024-01-29 12:32:48 +00:00
storybook update tailwindcss to 3.4 (#1949) 2024-01-17 20:46:14 +00:00
web Vite upgrades (#1911) 2024-01-02 06:26:28 +00:00