Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Utesgui committed Nov 26, 2024
2 parents 67dd869 + df1ff46 commit f8065b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ jobs:
- id: "UltimateGadgetLaboratories.UHKAgent"
repo: "UltimateHackingKeyboard/agent"
url: "https://github.com/UltimateHackingKeyboard/agent/releases/download/v{VERSION}/UHK.Agent-{VERSION}-win-ia32.exe https://github.com/UltimateHackingKeyboard/agent/releases/download/v{VERSION}/UHK.Agent-{VERSION}-win-x64.exe https://github.com/UltimateHackingKeyboard/agent/releases/download/v{VERSION}/UHK.Agent-{VERSION}-win.exe"
- id: "stevencohn.OneMore"
repo: "stevencohn/OneMore"
url: "https://github.com/stevencohn/OneMore/releases/download/{VERSION}/OneMore_{VERSION}_Setupx64.msi https://github.com/stevencohn/OneMore/releases/download/{VERSION}/OneMore_{VERSION}_Setupx86.msi"
# - id: "<stevencohn.OneMore"
# repo: "stevencohn/OneMore"
# url: "https://github.com/stevencohn/OneMore/releases/download/{VERSION}/OneMore_{VERSION}_Setupx64.msi https://github.com/stevencohn/OneMore/releases/download/{VERSION}/OneMore_{VERSION}_Setupx86.msi"
- id: "FrancisBanyikwa.MediaDownloader"
repo: "mhogomchungu/media-downloader"
url: "https://github.com/mhogomchungu/media-downloader/releases/download/{VERSION}/MediaDownloader-{VERSION}.setup.exe"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Package Version Handling| Count|
|----------------------------|---------------------------------------------------------------|
| Script based | ![Script based Packages](https://img.shields.io/badge/ScriptPackages-27-green) |
| GitHub Release based | ![GitHub based Packages](https://img.shields.io/badge/GithubPackages-47-blue) |
| GitHub Release based | ![GitHub based Packages](https://img.shields.io/badge/GithubPackages-46-blue) |


## Tools:
Expand Down
2 changes: 1 addition & 1 deletion scripts/Packages/Update-Fork.Fork.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# $latestVersionUrl = "https://cdn.fork.dev/win/Fork-$latestVersion.exe"

$websiteContent = Invoke-WebRequest -Uri $WebsiteURL
$latestVersionUrl = $websiteContent.Links | Where-Object {$_.tagName -eq "A" -and $_.outerHTML.Contains('"downloadBtn2Win"')} | Select-Object -First 1 -ExpandProperty href
$latestVersionUrl = $websiteContent.Links | Where-Object {$_.tagName -eq "A" -and ($_.outerHTML.Contains('"downloadBtn2Win"') -or $_.outerHTML.Contains('"downloadBtn1Win"'))} | Select-Object -First 1 -ExpandProperty href
# extract version from link
$latestVersion = [regex]::Match($latestVersionUrl, '.*Fork-(.*).exe').Groups[1].Value

Expand Down

0 comments on commit f8065b9

Please sign in to comment.