directories-rs icon indicating copy to clipboard operation
directories-rs copied to clipboard

Feature request: Add user program directory

Open hg-zt opened this issue 5 years ago • 1 comments

This is the read-only directory where static package files (executables, shared libraries, vendor resources, etc.) is installed. It's different from application data which could be generated during running and should be writable. And it's only readable by the user who installed the package. It's like C:\Program Files\, but for each user.

Linux

FHS (https://www.freedesktop.org/software/systemd/man/file-hierarchy.html#User%20Packages) Base: ~/.local/lib/

Private, static vendor resources of the package, compatible with any architecture, or any other kind of read-only vendor data.

Win32

Known Folders (https://docs.microsoft.com/en-us/windows/win32/msi/single-package-authoring) Base: %LocalAppData%\Programs (FOLDERID_UserProgramFiles)

When a user installs the dual-purpose package on Windows 7 or Windows Server 2008 R2 using the per-user context, these components are saved in the Programs folder of the current user (for example at %LocalAppData%\Programs) and can be accessed only by that user.

hg-zt avatar Jan 25 '21 11:01 hg-zt

Interesting, thanks, I will think about this!

soc avatar Jan 25 '21 13:01 soc