-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* dev initial * dev * dev * dev * dev * dev * dev * dev * preparing v3.0 * dev * preparing v3.0 * refactor lazy polars * show polar op points * blend SD7003 - thanks Thomas! * popen Windows conditionals - thanks Thomas * preparing beta 2 * fix logging * refactor subprocess call to align better with LINUX (?) * scale re * fix exe directory * re_scale * asyncio tests * refactoring polar generation * cleaning * Update airfoil_test.py * code cleanings * cleanup file functions * fix example airfoil * Update airfoil_examples.py * blend label * refactor Artist refresh * polar error handling * refresh polar defs * code cleaning * code cleaning * bezier sanity file check - thanks Martin! * UI tweaks * Improved Worker check * preparing 3.0
- Loading branch information
Showing
42 changed files
with
5,589 additions
and
1,042 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@echo off | ||
|
||
set APP_VERSION=3.0 | ||
set WIN_RELEASE=AirfoilEditor_%APP_VERSION%_win | ||
|
||
echo. | ||
echo ------ Packaging AirfoilEditor windows runtime into %WIN_RELEASE% | ||
echo. | ||
echo. ? build_win_exe.bat run ? (in .\dist is actual build version) | ||
echo. ? README.pdf ready ? (in VSCode export readme.md as pdf) | ||
echo. | ||
echo. | ||
pause | ||
|
||
cd .. | ||
|
||
rem ----- clean dist folder ------------ | ||
|
||
if exist dist\AirfoilEditor\Example.dat del dist\AirfoilEditor\example.dat /q | ||
if exist dist\AirfoilEditor\Example_polars rd dist\AirfoilEditor\Example_polars /s /q | ||
if exist dist\AirfoilEditor\_internal\AirfoilEditor.settings del dist\AirfoilEditor\_internal\AirfoilEditor.settings /q | ||
|
||
pause | ||
|
||
rem ----- clean releases folder ------------ | ||
|
||
if exist releases\%WIN_RELEASE% rd releases\%WIN_RELEASE% /s /q | ||
if exist releases\%WIN_RELEASE%.zip del releases\%WIN_RELEASE%.zip /q | ||
|
||
mkdir "releases\%WIN_RELEASE%" | ||
|
||
rem ----- copy files ------------ | ||
|
||
if not exist Readme.pdf goto end | ||
xcopy README.pdf releases\%WIN_RELEASE%\ /i /q | ||
|
||
xcopy dist\AirfoilEditor releases\%WIN_RELEASE%\ /s /i /q | ||
|
||
pause | ||
|
||
rem ----- zip with powershell ------------ | ||
cd releases | ||
powershell Compress-Archive %WIN_RELEASE%\* %WIN_RELEASE%.zip | ||
cd .. | ||
dir releases\%WIN_RELEASE% | ||
pause | ||
:end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
@echo off | ||
echo. | ||
echo Make onedir exe with pyinstaller in .\dist | ||
echo. | ||
echo ! Dont't forget to increase version number in source file ! | ||
echo. | ||
|
||
echo - Running Pytest for *-test.py | ||
echo. | ||
cd .. | ||
Pytest | ||
|
||
pause | ||
|
||
rem this is needed for pyinstaller to avoid "WARNING: lib not found: api-ms-win-crt ..." | ||
set PATH=%PATH%;C:\Windows\System32\downlevel | ||
|
||
rem to show missing imports: --debug imports ^ | ||
rem also look in modules for imports!: --paths modules ^ | ||
rem more infos during build: --log-level=INFO | ||
|
||
echo. | ||
echo - Building AirfoilEditor.exe in dist\AirfoilEditor | ||
echo. | ||
rem suppress console --noconsole ^ | ||
pyinstaller --noconfirm --log-level=INFO --onedir --noconsole ^ | ||
--icon=./modules/AE_ico.ico ^ | ||
--paths modules ^ | ||
--add-data="./modules/base/icons;./icons" ^ | ||
--add-data="./modules/AE_ico.ico;./icons" ^ | ||
--add-data="./assets/windows/worker.exe;./assets/windows" ^ | ||
--runtime-tmpdir="mySuperTemp" ^ | ||
AirfoilEditor.py | ||
|
||
echo. | ||
pause | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.