Skip to content

Update scripts and manifests for improved functionality and accuracy#130

Merged
aaronparker merged 5 commits into
mainfrom
Updates
Apr 6, 2026
Merged

Update scripts and manifests for improved functionality and accuracy#130
aaronparker merged 5 commits into
mainfrom
Updates

Conversation

@aaronparker

Copy link
Copy Markdown
Collaborator
  • AdvancedInstaller: Fix Unicode decoding of the update INI feed — switch to Invoke-EvergreenWebRequest and decode the raw byte response with [System.Text.Encoding]::Unicode.GetString before parsing
  • jrsoftware InnoSetup: Refactor to use the shared Get-GitHubRepoRelease helper; update manifest to point at the GitHub releases API, broaden MatchVersion regex, and add MatchFileTypes for .exe/.msi
  • ESETPROTECTServer: Correct manifest Name from "ESET Endpoint Antivirus" to "ESET PROTECT Server"
  • MicrosoftTeams: Remove (new) suffix from manifest Name — now simply "Microsoft Teams"
  • PritunlOpenVPNClient: Update Get.Uri to point to the pritunl/pritunl-client repository (away from the old pritunl-client-electron repo)

Replace Invoke-EvergreenRestMethod with Invoke-EvergreenWebRequest and capture the raw response. Decode the Unicode byte response to a string ([System.Text.Encoding]::Unicode.GetString) before running ConvertFrom-IniFile, and retain the existing string replacements to avoid parsing issues. This ensures the update INI feed is properly decoded and parsed.
Switch Get-jrsoftwareInnoSetup to use the shared Get-GitHubRepoRelease helper instead of manually resolving the download URL and parsing the ResponseUri. The script now passes the repo releases API URL, MatchVersion and file-type filter to Get-GitHubRepoRelease and returns its formatted object. The manifest was updated to point Get.Uri at the GitHub releases API, broaden the MatchVersion regex to support up to 4 numeric segments and add MatchFileTypes for .exe/.msi. Removed the previous Resolve-SystemNetWebRequest + regex extraction logic and a couple of script metadata lines.
Rename the "Name" field in Manifests/ESETPROTECTServer.json from "ESET Endpoint Antivirus" to "ESET PROTECT Server" to reflect the correct product name.
Update Manifests/MicrosoftTeams.json to change the Name field from "Microsoft Teams (new)" to "Microsoft Teams", removing the '(new)' suffix to reflect the finalized manifest name. No other changes made.
Change the Get.Uri in Manifests/PritunlOpenVPNClient.json to point to the pritunl/pritunl-client repository instead of pritunl/pritunl-client-electron. This updates the GitHub releases API endpoint used to fetch the latest client releases (likely due to a repository rename or move).
@aaronparker aaronparker self-assigned this Apr 6, 2026
@aaronparker aaronparker added the fix Introduces a fix for an identified issue or other problem label Apr 6, 2026
@aaronparker aaronparker merged commit 649ec79 into main Apr 6, 2026
7 checks passed
@aaronparker aaronparker deleted the Updates branch April 6, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Introduces a fix for an identified issue or other problem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant