Skip to content

Commit

Permalink
bak
Browse files Browse the repository at this point in the history
  • Loading branch information
timzaak committed Sep 29, 2023
1 parent 2b05e5a commit 0cb0d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windows-build.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#set-ExecutionPolicy RemoteSigned
mkdir protoc
cd protoc
wget https://github.com/protocolbuffers/protobuf/releases/download/v21.9/protoc-21.9-win64.zip -outfile "protoc-21.9-win64.zip"
Invoke-WebRequest https://github.com/protocolbuffers/protobuf/releases/download/v21.9/protoc-21.9-win64.zip -outfile "protoc-21.9-win64.zip"
Expand-Archive protoc-21.9-win64.zip -DestinationPath ./
$env:Path += (";" + $PWD.path + "\bin")

Expand All @@ -11,7 +11,7 @@ cargo build --release
cd ../
mkdir release

wget https://github.com/ForNetCode/simple-windows-tun/releases/download/v0.1.0/fortun-win11-x86_64.zip -outfile "driver.zip"
Invoke-WebRequest https://github.com/ForNetCode/simple-windows-tun/releases/download/v0.1.0/fortun-win11-x86_64.zip -outfile "driver.zip"
Expand-Archive driver.zip -DestinationPath ./driver_tmp
mkdir driver
mv .\driver_tmp\fortun\* .\driver\
Expand Down

0 comments on commit 0cb0d95

Please sign in to comment.