Skip to content

Commit

Permalink
Fix Zoom Outlook to auto push packages on new version.
Browse files Browse the repository at this point in the history
  • Loading branch information
meek2100 committed Jan 19, 2023
1 parent 259adfe commit 5a5b17e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions automatic/Zoom-Outlook/update.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$ErrorActionPreference = 'Stop'
import-module au

$download_page_url = 'https://zoom.us/download#outlook_plugin'
$download_page_url = 'https://stealthpuppy.com/apptracker/name/#zoom'
$url_part1 = 'https://zoom.us/client/'
$url_part2 = '/ZoomOutlookPluginSetup.msi'

Expand All @@ -18,8 +18,8 @@ function global:au_GetLatest {
$homepage_content = Invoke-WebRequest -UseBasicParsing -Uri $download_page_url

# Get Version
$homepage_content -match 'Version \d+\.\d+\.\d+\.\d{2}'| Out-Null
$version = $matches[0] -replace "Version ", ""
$homepage_content -match '\d+\.\d+\.\d+\.\d{3}/ZoomOutlookPluginSetup.msi'| Out-Null
$version = $matches[0] -replace "/ZoomOutlookPluginSetup.msi", ""
$url = $url_part1 + $version + $url_part2


Expand Down

0 comments on commit 5a5b17e

Please sign in to comment.