Skip to content

Commit

Permalink
Update download URLs for vmwarehorizonclient
Browse files Browse the repository at this point in the history
work was done by @DanielBahr2 and @spikehed in Installomator#1658

this pr fixes Installomator#1658
  • Loading branch information
northalpha committed Jun 6, 2024
1 parent 8cf43f0 commit 82e1775
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fragments/labels/vmwarehorizonclient.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
vmwarehorizonclient)
name="VMware Horizon Client"
type="pkgInDmg"
downloadGroup=$(curl -fsL "https://my.vmware.com/channel/public/api/v1.0/products/getRelatedDLGList?locale=en_US&category=desktop_end_user_computing&product=vmware_horizon_clients&version=horizon_8&dlgType=PRODUCT_BINARY" | grep -o '[^"]*_MAC_[^"]*')
fileName=$(curl -fsL "https://my.vmware.com/channel/public/api/v1.0/dlg/details?locale=en_US&category=desktop_end_user_computing&product=vmware_horizon_clients&dlgType=PRODUCT_BINARY&downloadGroup=${downloadGroup}" | grep -o '"fileName":"[^"]*"' | cut -d: -f2 | sed 's/"//g')
downloadURL="https://download3.vmware.com/software/$downloadGroup/${fileName}"
appNewVersion=$(curl -fsL "https://my.vmware.com/channel/public/api/v1.0/dlg/details?locale=en_US&downloadGroup=${downloadGroup}" | grep -o '[^"]*\.dmg[^"]*' | sed 's/.*-\(.*\)-.*/\1/')
downloadGroup=$(curl -fsL "https://customerconnect.omnissa.com/channel/public/api/v1.0/products/getRelatedDLGList?locale=en_US&category=desktop_end_user_computing&product=vmware_horizon_clients&version=horizon_8&dlgType=PRODUCT_BINARY" | grep -o '[^"]*_MAC_[^"]*')
fileName=$(curl -fsL "https://customerconnect.omnissa.com/channel/public/api/v1.0/dlg/details?locale=en_US&category=desktop_end_user_computing&product=vmware_horizon_clients&dlgType=PRODUCT_BINARY&downloadGroup=${downloadGroup}" | grep -o '"fileName":"[^"]*"' | cut -d: -f2 | sed 's/"//g')
downloadURL="https://download3.omnissa.com/software/${downloadGroup}/${fileName}"
appNewVersion=$(curl -fsL "https://customerconnect.omnissa.com/channel/public/api/v1.0/dlg/details?locale=en_US&downloadGroup=${downloadGroup}" | grep -o '[^"]*\.dmg[^"]*' | sed 's/.*-\(.*\)-.*/\1/')
expectedTeamID="EG7KH642X6"
;;

0 comments on commit 82e1775

Please sign in to comment.