Skip to content

Commit

Permalink
fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Apr 25, 2024
1 parent 5c3b976 commit 8183087
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions msupdate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ New-Item -Path ".\temp\" -ItemType "directory" -ErrorAction Ignore
if (-not (Test-Path -Path ".\bin\rclone.conf")) {
Write-Error "rclone conf not found"
}
if (-not (Test-Path -Path ".\bin\wimlib\rclone.exe")) {
if (-not (Test-Path -Path ".\bin\rclone.exe")) {
Write-Host "rclone not found, downloading..."
Invoke-WebRequest -Uri 'https://downloads.rclone.org/rclone-current-windows-amd64.zip' -outfile .\temp\rclone.zip
Expand-Archive -Path .\temp\rclone.zip -DestinationPath .\temp\ -Force
Expand Down Expand Up @@ -43,7 +43,7 @@ expand -f:* ".\fod\Miracast\update.cab" ".\fod\MiracastLP\"

# get osimage
# get original system direct link
$obj = (Invoke-WebRequest -UseBasicParsing -Uri "$server/api/fs/get" `
$obj = (Invoke-WebRequest -UseBasicParsing -Uri "https://alist.xrgzs.top/api/fs/get" `
-Method "POST" `
-ContentType "application/json;charset=UTF-8" `
-Body (@{
Expand Down

0 comments on commit 8183087

Please sign in to comment.