Could you please add xyplorer to winget?

Features wanted...
Post Reply
zhuceji8
Posts: 1
Joined: 25 Jul 2022 03:04

Could you please add xyplorer to winget?

Post by zhuceji8 »

I like xyplorer and winget both. I am used to upgrade my softwares daily from winget.

It will be a great pleasure to see xyplorer from winget.

iryx
Posts: 21
Joined: 29 Jan 2007 16:51

Re: Could you please add xyplorer to winget?

Post by iryx »

Done!

Here is the initial PR... awaiting review.

https://github.com/microsoft/winget-pkgs/pull/126351

If @admin wants to check that out.... please

admin
Site Admin
Posts: 59751
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Could you please add xyplorer to winget?

Post by admin »

Interesting, thanks!

I noted that many URLs lack the "s" in https:
http://www.xyplorer.com should be https://www.xyplorer.com

Filehero
Posts: 2642
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Could you please add xyplorer to winget?

Post by Filehero »

Besides installation, does winget's portables support cover updates by now?

iryx
Posts: 21
Joined: 29 Jan 2007 16:51

Re: Could you please add xyplorer to winget?

Post by iryx »

Ops, I will fix the URLs.

To answer your question, Winget itself does not update the packages in its repository. I have something in the works to update the package in the Winget repository automatically. Does that answer your question? I will provide a link to the implementation when it's done.

For the user, if they want to update any app, installed with winget or not, it's as simple as:
```winget update --all``` or ```winget update xyplorer```

It would be a great help for the automatic update of the package, if you could provide a URL with the latest version, JSON or plain text will be fine.. Otherwise, I am scraping the HTML on your release notes page to get the latest version number.

Thanks and keep up the good work.

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Could you please add xyplorer to winget?

Post by highend »

One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

iryx
Posts: 21
Joined: 29 Jan 2007 16:51

Re: Could you please add xyplorer to winget?

Post by iryx »

You the man! Thank you. I'll get the automatic update done right now.

iryx
Posts: 21
Joined: 29 Jan 2007 16:51

Re: Could you please add xyplorer to winget?

Post by iryx »

This is done...needs testing, and need to wait on the initial PR to be merged before it works.

Pull Request: https://github.com/microsoft/winget-pkgs/pull/126351, I need help, not sure why the validation is failing

Workflow: https://github.com/The-Running-Dev/Wing ... plorer.yml

Workflow Result: https://github.com/The-Running-Dev/Wing ... 8665282654

What this workflow does is:
1. Runs every day at midnight (0 0 * * *)
2. Gets the published version from WinGet
3. Gets the latest version from https://www.xyplorer.com/version.php
4. If the latest version is different than the WinGet version, submits an update to the WinGet repository
Last edited by iryx on 14 Nov 2023 15:00, edited 1 time in total.

admin
Site Admin
Posts: 59751
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Could you please add xyplorer to winget?

Post by admin »

Cool, thanks a lot! :tup: :beer:

Filehero
Posts: 2642
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Could you please add xyplorer to winget?

Post by Filehero »

iryx wrote: 14 Nov 2023 13:05 No answer your question, Winget itself does not update the packages in its repository.
No I meant wether winget itself can handle a XYplorer portable installation. The last time I've checked only installation was supported for portable apps but not "winget upgrade" or "winget uninstall".

I will just make another try when I have some spare time left.

iryx
Posts: 21
Joined: 29 Jan 2007 16:51

Re: Could you please add xyplorer to winget?

Post by iryx »

Ah, gotcha!

And yes it does!

Here is the docs about it if you are curious.

https://github.com/microsoft/winget-cli ... %20apps.md

I created a portable package of XYplorer as well, per your idea.

Here it is...
https://github.com/microsoft/winget-pkgs/pull/126622
the ID is going to be ```CologneCodeCompany.XYplorerPortable```

And here is the workflow that will keep it updated:

https://github.com/The-Running-Dev/Wing ... rtable.yml

Filehero
Posts: 2642
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Could you please add xyplorer to winget?

Post by Filehero »

Cool, thanks. :tup:

I will try it the next days.

iryx
Posts: 21
Joined: 29 Jan 2007 16:51

Re: Could you please add xyplorer to winget?

Post by iryx »

So this is almost all set!

Both packages are now in the WinGet repository. Here are the merged pull requests:

XYplorer: https://github.com/microsoft/winget-pkgs/pull/126351
XYplorer Portable: https://github.com/microsoft/winget-pkgs/pull/126622

In the screenshot, you can see both packages listed when you search for XYplorer through the WinGet-CLI.

I have also automated the updates, so there is nothing anyone needs to do whenever there is a new version.
The automation workflows are here: https://github.com/The-Running-Dev/Wing ... es/actions

There is a small issue with the XYplorer (installer) package, and I have already submitted a pull request to fix it:
https://github.com/microsoft/winget-pkgs/pull/126984
Attachments
Screenshot 2023-11-16 171151.png
Screenshot 2023-11-16 171151.png (19.42 KiB) Viewed 641400 times

reg_ed
Posts: 1
Joined: 04 Jan 2024 10:03

Re: Could you please add xyplorer to winget?

Post by reg_ed »

Hi guys, I'm having an issue using WinGet to deploy XYplorer.

WinGet complains that 'Installer hash does not match.' and this is the case whichever version I select to install.

Would someone mind taking a look at this for me?

Post Reply