robjschroeder / App-Auto-Patch

Auto patch management script via Dialog

Home Page:https://techitout.xyz/app-auto-patch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug when version checking DIsplay Link Manager & Ignoring DEPNotify

Uggbert opened this issue · comments

From the logs:

App Auto-Patch: 2024-02-05 22:11:38 - [INFO] Found DisplayLink Manager.app version 1.10.0
App Auto-Patch: 2024-02-05 22:11:54 - [NOTICE] --- New version: 1.9
App Auto-Patch: 2024-02-05 22:11:54 - [NOTICE] Queueing displaylinkmanager

I think its maybe interpreting 1.10 as 1.0 ?

Hey @Uggbert, it's not necessarily interpreting 1.10 as 1.0. It's looking to see if "$previousVersion" == "$appNewVersion". And we couldn't use a greater-than type of operator because how there are so many vendors out there that include letters or other types of things in their versioning strings. Weird though that the new version is 1.9 and you seem to have 1.10 installed, this looks like a problem with the Installomator label for displaylinkmanager

Update, its a known issue over at installomator: Installomator/Installomator#1427

This can be closed.