Remix.run Logo
froh 2 hours ago

is this aspect also cross platform? like supporting Windows %APPDATA% and %LOCALAPPDATA% ?

likewise for ~/.cache ($XDG_CACHE_HOME). does wxWindows provide a cross platform abstraction for the cache dir, too?

bt1a 2 hours ago | parent [-]

Genuinely curious- what would the cross platform compatibility help with? Ease of migration? I don't remember configuring many win programs with notation like such, just the PATH

mpyne an hour ago | parent [-]

There are Qt analogs for just this thing (QStandardPaths, https://doc.qt.io/qt-6/qstandardpaths.html) to drastically simplify what can be a quite annoying task if you're trying to write GUI software that respects the OS standard file locations across multiple desktops.

This is a different problem than migrating file locations in the same OS, as what the linked blog post is about, but it is a related issue for apps intending to be multi-platform.