mirror of
https://github.com/Installomator/Installomator.git
synced 2026-02-19 13:02:28 +00:00
Logitech Options fails due to missing version number #555
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pythoninthegrass on GitHub.
The
logitechoptionslabel is failing due to not having a version number.Website appears to obfuscate the version number in a CSS flex grid instead of HTML.
Current version is
9.40.75. The app when manually downloaded viacurlis namedLogiMgr Installer 9.40.75.app. A workaround would be to hard-code the version number, but ideally there'd be a more dynamic solution.FWIW this works:
with output:
@pythoninthegrass commented on GitHub:
Thanks so much @Theile! Really appreciate the swift resolution 🙏
@Theile commented on GitHub:
Installomator can now search for
pkgName.@apizz commented on GitHub:
Yeah we've been looking at this over in MacAdmins because the installer app now has the version number in the name and at the moment there's not any glob functionality so we can avoid having to collect this info and just get to the install PKG within that we want.
Doesn't help that Logitech designed their website such that it's really difficult to scrape the latest version from the download page so we could side step this altogether.
@Theile commented on GitHub:
I have also found the version, so PR 359 has been updated again.
The problem is that Installomator does not handle regex in
pkgName, so have to figure that out…@Theile commented on GitHub:
I have found the
downloadURL:@pythoninthegrass commented on GitHub:
It's also an awkward compressed named version app installer that installs another generic app 😱
options_installer>LogiMgr Installer 9.50.122.app>/Applications/Logi Options.appLooking through type functions to see if it can be automated.
@pythoninthegrass commented on GitHub:
Got it. Thanks again for your help @Theile !
@Theile commented on GitHub:
It has been fixed in another PR, but the other team-members need to have a look at that first before we merge it.
You can find it here: PR369
@pythoninthegrass commented on GitHub:
Something must have changed in their JSON with current releases. Now catching the smaller Logitech Options+ installer in the
downloadURL.Current implementation
Modified regex to only match options_installer.zip
https.*/.*/options.*\.ziptohttps:\/\/.*\/options_installer\.zip@Theile commented on GitHub:
It was a fun challenge!