79709716

Date: 2025-07-21 23:29:47
Score: 0.5
Natty:
Report link

on archlinux I found them in $ENV:XDG_DATA_DIRS

so for $env:LOCALAPPDATA you can

 $IsWindows ? $env:LOCALAPPDATA : $ENV:XDG_DATA_DIRS.Split([IO.Path]::PathSeparator).where({ $_ -like "*local*"})[0]

which returns /usr/local/share on linux

you can do workarounds like these :)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: alain