Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
Main: update new hashlink windows version
Browse files Browse the repository at this point in the history
  • Loading branch information
PXshadow committed Mar 9, 2023
1 parent dbc8cec commit 335eb9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ function main() {
case "Windows":
deleteDirectoryRecursively("hashlink_windows");
Sys.println("---------------------");
Sys.command('powershell.exe -Command wget -O hashlink.zip https://github.com/HaxeFoundation/hashlink/releases/download/1.11/hl-1.11.0-win.zip');
Sys.command('powershell.exe -Command wget -O hashlink.zip https://github.com/HaxeFoundation/hashlink/releases/download/1.13/hl-1.13.0-win.zip');
if (!sys.FileSystem.exists("hashlink_windows"))
sys.FileSystem.createDirectory("hashlink_windows");
Sys.command("powershell.exe -Command Expand-Archive hashlink.zip -DestinationPath hashlink_windows");
Sys.setCwd("hashlink_windows/hl-1.11.0-win");
Sys.setCwd("hashlink_windows/hl-1.13.0-win");

Sys.command('powershell.exe -Command "echo "' + Sys.getCwd() + '" | Out-File -FilePath "' + Sys.getEnv("GITHUB_PATH") + '" -Encoding utf8 -Append"');
case "Linux":
Expand Down

0 comments on commit 335eb9d

Please sign in to comment.