mirror of
https://github.com/n-e-y-s/G27_Pedals_and_Shifter.git
synced 2024-08-30 18:22:10 +00:00
clean up structure
This commit is contained in:
parent
1b54970010
commit
ea1e2a7e20
Before Width: | Height: | Size: 341 KiB After Width: | Height: | Size: 341 KiB |
Before Width: | Height: | Size: 285 KiB After Width: | Height: | Size: 285 KiB |
20
tools_and_scripts/g27calib_release.cmd
Normal file
20
tools_and_scripts/g27calib_release.cmd
Normal file
@ -0,0 +1,20 @@
|
||||
REM g27calib release script
|
||||
REM usage: g27calib_release.bat <path\to\python_interpreter> <GITHUB_VERSION>
|
||||
|
||||
%1 -m venv g27calib || exit /B 1
|
||||
|
||||
.\g27calib\Scripts\pip install https://github.com/n-e-y-s/G27_Pedals_and_Shifter/archive/%2.zip || exit /B 1
|
||||
.\g27calib\Scripts\pip install pyinstaller pywin32 || exit /B 1
|
||||
|
||||
echo from g27_pedals_and_shifter_gui.calib import main > g27calib.py
|
||||
echo if __name__ == "__main__": >> g27calib.py
|
||||
echo main() >> g27calib.py
|
||||
|
||||
.\g27calib\Scripts\pyinstaller.exe -w --clean .\g27calib.py || exit /B 1
|
||||
|
||||
cd dist
|
||||
"C:\Program Files\7-Zip\7z.exe" a g27calib.zip g27calib || exit /B 1
|
||||
cd ..
|
||||
move dist\g27calib.zip . || exit /B 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user