Skip to content

Commit

Permalink
make batch script executable from other directories
Browse files Browse the repository at this point in the history
  • Loading branch information
niklases committed Oct 23, 2024
1 parent dee73cf commit bf5df8f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions gui_setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ powershell -Command "$ProgressPreference = 'SilentlyContinue';Invoke-WebRequest

REM Not removing Python installer EXE as it can be used for easy uninstall/repair
REM del /Q python-3.12.7-amd64.exe

set "python_exe=.\Python3127\python.exe"


Expand All @@ -35,7 +34,11 @@ set "python_exe=.\Python3127\python.exe"

powershell -Command "%python_exe% -m pip install -U pypef pyside6"

echo start /min cmd /c powershell -Command ^"%python_exe% gui/qt_window.py^" > run_pypef_gui.bat
(
echo @echo off
echo:
echo start /min cmd /c powershell -Command ^"%%~dp0%python_exe% %%~dp0gui\qt_window.py^"
) > run_pypef_gui.bat

echo Finished installation...
echo +++ Created file +++
Expand Down

0 comments on commit bf5df8f

Please sign in to comment.