thilojaeggi / WinGetty

An open source REST Backend for creating a private WinGet Repo without having to rely on cloud dependencies.
https://wingetty.dev
GNU Affero General Public License v3.0
170 stars 15 forks source link

Nested Installers #4

Closed ImNtReal closed 11 months ago

ImNtReal commented 1 year ago

Is your feature request related to a problem? Please describe. I have a package that features a .exe installer nested inside of a .zip file. It would be handy if WinGetty had an advanced option for this, or if there's a way for me to supply it manually via an API, that would be good to know.

Describe the solution you'd like or how it could be implemented Have an option on the Add Package dialog to have a nested package type with a relative path to the installer.

Describe alternatives you've considered I honestly haven't dug into the API yet, to see if it's possible for me to submit a package that way, but I'm guessing it probably is a part of the spec.

Additional context Not sure what else to add. The YAMLCreate.ps1 script in the winget-pkgs repo has support for this, so that could be helpful to reference.

thilojaeggi commented 1 year ago

Just added preliminary support for this, with it releasing in v0.0.3

If you want, you can try it out with your own package on https://wingetty.thilojaeggi.ch with the login demo@demo.com:demo123. I already added postman this way for testing and it seems to work fine:

Screenshot 2023-07-10 at 22 58 13 Screenshot 2023-07-10 at 22 55 20
ImNtReal commented 11 months ago

Sorry. I didn't realize you'd given me a place to test. I don't actually have access to that site from my work network (which is where my package is).

Let's go ahead and close this out, and I'll open a new bug once you've released if I have an issue specific to my package.

thilojaeggi commented 11 months ago

v0.0.3 is out now featuring nested installers.