File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,12 @@ rmdir /s /q build 2>nul
1313rmdir /s /q dist 2 > nul
1414
1515echo .
16- echo [2/5] Generating version files from versioninfo.json...
16+ echo [2/6] Installing dependencies...
17+ pip install -r requirements.txt --quiet
18+ pip install pyinstaller Pillow --quiet
19+
20+ echo .
21+ echo [3/6] Generating version files from versioninfo.json...
1722python scripts\generate_version.py
1823if errorlevel 1 (
1924 echo ERROR: Version generation failed!
@@ -22,7 +27,7 @@ if errorlevel 1 (
2227)
2328
2429echo .
25- echo [3/5 ] Generating Icon...
30+ echo [4/6 ] Generating Icon...
2631python scripts\generate_icon.py
2732if errorlevel 1 (
2833 echo ERROR: Icon generation failed!
@@ -31,12 +36,7 @@ if errorlevel 1 (
3136)
3237
3338echo .
34- echo [4/5] Installing dependencies...
35- pip install -r requirements.txt --quiet
36- pip install pyinstaller Pillow --quiet
37-
38- echo .
39- echo [5/5] Reading Plugin Configuration...
39+ echo [5/6] Reading Plugin Configuration...
4040set /p PLUGIN_ARGS = < build\pyinstaller_args.txt
4141echo Plugins: %PLUGIN_ARGS%
4242
Original file line number Diff line number Diff line change @@ -169,7 +169,8 @@ def generate_version_files():
169169 # Dest: plugins/{name}
170170 # Separator for --add-data is ';' on Windows and ':' on Linux
171171 sep = os .pathsep
172- args .append (f'--add-data "src/plugins/{ plugin_name } { sep } plugins/{ plugin_name } "' )
172+ # Removed explicit quotation marks to allow seamless expansion in Bash & CMD
173+ args .append (f'--add-data src/plugins/{ plugin_name } { sep } plugins/{ plugin_name } ' )
173174 print (f" [+] Enabling plugin: { plugin_name } " )
174175 else :
175176 print (f" [-] Skipping plugin: { plugin_name } " )
You can’t perform that action at this time.
0 commit comments