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

Consider publishing this in the Windows Store #2758

Open
surban opened this issue Dec 6, 2021 · 6 comments
Open

Consider publishing this in the Windows Store #2758

surban opened this issue Dec 6, 2021 · 6 comments

Comments

@surban
Copy link

surban commented Dec 6, 2021

Although it is not widely known, the Windows Store allows installation of command line binaries into a directory that is in the user's PATH. Having this collection of tools available to Windows users with a straightforward method for installation and upgrades would be a huge benefit.

@sylvestre
Copy link
Sponsor Contributor

Interesting idea!
Is there "low level" tools on the Windows store already?
And pure rust software ? (besides Firefox)

@surban
Copy link
Author

surban commented Dec 16, 2021

Powershell and Python are available in the store, see https://www.microsoft.com/store/productId/9MZ1SNWT0N5D and https://www.microsoft.com/store/productId/9PJPW5LDXLZ5.

ls is also available on the store, but without a trusted publisher and link to a repository I wouldn't trust it.

I don't know about Rust software, but it shouldn't matter since Rust is statically linked and you can use the full Win32 API from the store.

@sylvestre
Copy link
Sponsor Contributor

Cool, thanks for investigating! :)

@stale
Copy link

stale bot commented Jan 20, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@YDX-2147483647
Copy link
Contributor

I research it today, and I am afraid that Microsoft Store is not suitable for things like coreutils…

Python Doc:

Because of restrictions on Microsoft Store apps, Python scripts may not have full write access to shared locations such as TEMP and the registry. Instead, it will write to a private copy. If your scripts must modify the shared locations, you will need to install the full installer.

When reading files, Windows will return the file from the private folder, or if that does not exist, the real Windows directory. For example reading C:\Windows\System32 returns the contents of C:\Windows\System32 plus the contents of C:\Program Files\WindowsApps\package_name\VFS\SystemX86.

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Nov 15, 2023

#2758 (comment)

@YDX-2147483647, that's not a showstopper - just publishing the coreutils as an unsandboxed .MSIX file to https://github.com/microsoft/winget-pkgs provides exactly the same benefits - some WinGet packages are even accessible via the Microsoft Store GUI.

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

No branches or pull requests

5 participants