Page 1 of 2

Could you please add xyplorer to winget?

Posted: 25 Jul 2022 03:08
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.

Re: Could you please add xyplorer to winget?

Posted: 13 Nov 2023 18:24
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

Re: Could you please add xyplorer to winget?

Posted: 14 Nov 2023 08:44
by admin
Interesting, thanks!

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

Re: Could you please add xyplorer to winget?

Posted: 14 Nov 2023 10:19
by Filehero
Besides installation, does winget's portables support cover updates by now?

Re: Could you please add xyplorer to winget?

Posted: 14 Nov 2023 13:05
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.

Re: Could you please add xyplorer to winget?

Posted: 14 Nov 2023 13:33
by highend

Re: Could you please add xyplorer to winget?

Posted: 14 Nov 2023 13:51
by iryx
You the man! Thank you. I'll get the automatic update done right now.

Re: Could you please add xyplorer to winget?

Posted: 14 Nov 2023 14:23
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

Re: Could you please add xyplorer to winget?

Posted: 14 Nov 2023 14:51
by admin
Cool, thanks a lot! :tup: :beer:

Re: Could you please add xyplorer to winget?

Posted: 14 Nov 2023 16:33
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.

Re: Could you please add xyplorer to winget?

Posted: 14 Nov 2023 20:28
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

Re: Could you please add xyplorer to winget?

Posted: 14 Nov 2023 22:03
by Filehero
Cool, thanks. :tup:

I will try it the next days.

Re: Could you please add xyplorer to winget?

Posted: 16 Nov 2023 17:16
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

Re: Could you please add xyplorer to winget?

Posted: 04 Jan 2024 10:07
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?

Re: Could you please add xyplorer to winget?

Posted: 06 Apr 2024 19:54
by iryx
I am working on fixing this now. I will post pack when it is done. That was my fuck-up, I apologize.

Just for information, you can disable the hash check in the meantime.

In PowerShell Admin:

Code: Select all

& winget settings --enable InstallerHashOverride
In Powershell, when installing

Code: Select all

& winget install --id CologneCodeCompany.XYplorer --ignore-security-hash