jbangdev / jbang

Unleash the power of Java - JBang Lets Students, Educators and Professional Developers create, edit and run self-contained source-only Java programs with unprecedented ease.
https://jbang.dev
MIT License
1.43k stars 159 forks source link

Support official winget Windows package manager? #882

Open quintesse opened 3 years ago

quintesse commented 3 years ago

Perhaps we should look into this: https://docs.microsoft.com/en-us/windows/package-manager/package/

maxandersen commented 3 years ago

We would need to have a "real" installer.

Opened this issue https://github.com/microsoft/winget-pkgs/issues/580 long time ago but they don't seem to want it :)

quintesse commented 3 years ago

Aha didn't know that!

rmcdouga commented 1 year ago

@maxandersen Looks like Windows package manager now supports .zip archives. Maybe they were listening. :)

maxandersen commented 1 year ago

You might Think so but I havent seen docs indicating it still Wont require a installer in the Zip.

Havent Found example/docs showing it yet. If You Got one Im definitely interested.

rmcdouga commented 1 year ago

Yes, I think you might be right. I see that adding support for .zip issue was closed by this PR. I looked through the commits in the PR and this commit seems to indicate that a "portable installer" is an exe.

So they accept a .zip with an installer in it? Why not a zip and a location to unzip to? Sorry. I will try and keep an eye on things and let you know if I spot anything that indicates that they can install a .zip to a location without running a .exe.

aalmiray commented 1 year ago

FWIW https://github.com/jreleaser/jreleaser/issues/185