summaryrefslogtreecommitdiffstats
path: root/GUI/Libraries/fetch.ps1
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2022-12-18 20:36:42 -0800
committeryum <yum.food.vr@gmail.com>2022-12-18 20:36:42 -0800
commit0111a26a5526fe5f01c0dc3b4d4391af4234c2a7 (patch)
tree17469d9db468bfd9c6082c247cdc95f560db51e5 /GUI/Libraries/fetch.ps1
parent42e22cc25ffa66d936ca53171dc745b5fa799906 (diff)
Now it's possible to build the app from Powershell
No more WSL dependencies!
Diffstat (limited to 'GUI/Libraries/fetch.ps1')
-rw-r--r--GUI/Libraries/fetch.ps120
1 files changed, 20 insertions, 0 deletions
diff --git a/GUI/Libraries/fetch.ps1 b/GUI/Libraries/fetch.ps1
new file mode 100644
index 0000000..5f8d63e
--- /dev/null
+++ b/GUI/Libraries/fetch.ps1
@@ -0,0 +1,20 @@
+Set-PSDebug -trace 0
+
+$WX_3_2_1_URL = "https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.1/wxWidgets-3.2.1.zip"
+$WX_URL = $WX_3_2_1_URL
+$WX_FILE = $(Split-Path -Path $WX_URL -Leaf)
+
+pushd $PSScriptRoot
+
+if (Test-Path wx) {
+ rm -Recurse wx
+}
+
+mkdir wx
+pushd wx > $null
+Invoke-WebRequest $WX_URL -OutFile $WX_FILE
+Expand-Archive $WX_FILE -DestinationPath .
+popd > $null
+
+popd > $null
+