summaryrefslogtreecommitdiff
path: root/gui/win32/scripts/run.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'gui/win32/scripts/run.ps1')
-rw-r--r--gui/win32/scripts/run.ps110
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/win32/scripts/run.ps1 b/gui/win32/scripts/run.ps1
new file mode 100644
index 0000000..a8f50e8
--- /dev/null
+++ b/gui/win32/scripts/run.ps1
@@ -0,0 +1,10 @@
+$originalLocation = Get-Location
+$scriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path
+Set-Location $scriptPath
+
+$exePath = "..\build\bin\butck_gui.exe"
+if (Test-Path $exePath) {
+ & $exePath
+}
+
+Set-Location $originalLocation