From 5ad6ec943c276c0a323e0914fee53b3da9953216 Mon Sep 17 00:00:00 2001 From: Steffen Hirtle Date: Tue, 5 Jul 2022 12:50:21 +0200 Subject: [PATCH] Rename run.exe to graxpert.exe in bootloader --- .github/workflows/build-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 35ae742..3409085 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -90,11 +90,13 @@ jobs: run: | pip install setuptools wheel && ` cd .\pyinstaller\bootloader && ` + (Get-Content .\wscript) -Replace "'run'", "'graxpert'" | Set-Content .\wscript && ` (Get-Content .\src\main.c) -Replace 'pyi_main\(', 'my_pyi_main(' | Set-Content .\src\main.c && ` (Get-Content .\src\pyi_main.h) -Replace 'pyi_main\(', 'my_pyi_main(' | Set-Content .\src\pyi_main.h && ` (Get-Content .\src\pyi_main.c) -Replace 'pyi_main\(', 'my_pyi_main(' | Set-Content .\src\pyi_main.c && ` python ./waf all && ` cd .. && ` + (Get-Content .\setup.py) -Replace 'run.exe', 'graxpert.exe' | Set-Content .\setup.py && ` python setup.py install && ` cd .. && ` pip install -r requirements.txt @@ -132,11 +134,13 @@ jobs: run: | pip install setuptools wheel && ` cd .\pyinstaller\bootloader && ` + (Get-Content .\wscript) -Replace "'run'", "'graxpert'" | Set-Content .\wscript && ` (Get-Content .\src\main.c) -Replace 'pyi_main\(', 'my_pyi_main(' | Set-Content .\src\main.c && ` (Get-Content .\src\pyi_main.h) -Replace 'pyi_main\(', 'my_pyi_main(' | Set-Content .\src\pyi_main.h && ` (Get-Content .\src\pyi_main.c) -Replace 'pyi_main\(', 'my_pyi_main(' | Set-Content .\src\pyi_main.c && ` python ./waf all && ` cd .. && ` + (Get-Content .\setup.py) -Replace 'run.exe', 'graxpert.exe' | Set-Content .\setup.py && ` python setup.py install && ` cd .. && ` pip install -r requirements.txt @@ -229,4 +233,4 @@ jobs: GraXpert-win64.exe GraXpert-linux.zip GraXpert-win64.zip - GraXpert-macos-x86_64.dmg + GraXpert-macos-x86_64.dmg \ No newline at end of file