coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

Consider publishing this in the Windows Store

Open surban opened this issue 3 years ago • 6 comments
trafficstars

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.

surban avatar Dec 06 '21 11:12 surban

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

sylvestre avatar Dec 06 '21 13:12 sylvestre

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.

surban avatar Dec 16 '21 13:12 surban

Cool, thanks for investigating! :)

sylvestre avatar Dec 16 '21 13:12 sylvestre

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.

stale[bot] avatar Jan 20 '23 04:01 stale[bot]

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.

YDX-2147483647 avatar Nov 15 '23 14:11 YDX-2147483647

https://github.com/uutils/coreutils/issues/2758#issuecomment-1812587269

@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.

RokeJulianLockhart avatar Nov 15 '23 16:11 RokeJulianLockhart