#Scope for localLow on windows

14 messages · Page 1 of 1 (latest)

delicate patrol
#

Wondering how I can add a glob pattern to include the AppData/localLow directory

royal jacinth
#

interesting question, and apparently a pretty rare usecase. none of the rust path crates offer a function for that (only local and roaming)...
anyway, i guess the only way to do that at the moment is to do something like $HOME/AppData/LocalLow/whatever

uncut moon
#

Probably not that rare. Just very windows specific. https://youtu.be/3XjSTG-oIMw

Now you'll finally know what the heck Roaming and Local means!

⇒ Become a channel member for exclusive features! Check it out here: https://www.youtube.com/ThioJoe/join

Timestamps:
0:00 - Intro
0:43 - What is AppData?
3:37 - Roaming & Local Folders
7:31 - LocalLow Folder
8:50 - ProgramData Folder
10:17 - Why is Roaming the Default?

▬▬▬▬▬▬▬▬▬...

▶ Play video
royal jacinth
#

yeah i know what the folder is used for, but i never saw someone actually using it (or someone asking for it here)

#

on my system it's basically empty too x)

uncut moon
#

On my manjaro system it's also very unused 😬

#

The use case makes sense in theory. Anyway! I think this LocalLow folder just wouldn't map well to something on other platforms, so I think if crates try to offer cross-platform path helpers I'm not surprised it's left out.

#

So using something based off of $HOME is probably what you want to do for now. Perhaps for Tauri it's worth considering if we want to create an Option<PathBuf> method for it anyway since it could return None on other OSes

delicate patrol
#

cause there's no standard for save location

royal jacinth
delicate patrol
#

one of my games misspells My Games to MyGames lol