Skip to content

Commit

Permalink
Task: NetEase.IdentityV.CN Split installer URL
Browse files Browse the repository at this point in the history
  • Loading branch information
SpecterShell committed Aug 8, 2024
1 parent e34f737 commit ef5acd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tasks/NetEase.IdentityV.CN/Script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $Object1 = (Invoke-WebRequest -Uri 'https://adl.netease.com/d/g/id5/c/gw?type=pc

# Installer
$this.CurrentState.Installer += $Installer = [ordered]@{
InstallerUrl = [regex]::Match($Object1, 'pc_link\s*=\s*"(.+?)"').Groups[1].Value
InstallerUrl = [regex]::Match($Object1, 'pc_link\s*=\s*"(.+?)"').Groups[1].Value | Split-Uri -LeftPart Path
}

# Version
Expand Down

0 comments on commit ef5acd8

Please sign in to comment.