Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add user program directory #65

Open
hg-zt opened this issue Jan 25, 2021 · 1 comment
Open

Feature request: Add user program directory #65

hg-zt opened this issue Jan 25, 2021 · 1 comment

Comments

@hg-zt
Copy link

hg-zt commented Jan 25, 2021

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.

@soc
Copy link
Collaborator

soc commented Jan 25, 2021

Interesting, thanks, I will think about this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants