Skip to content

Commit f55482d

Browse files
add mcp support
1 parent 1f2292f commit f55482d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ def zip_folder(folder_path):
4848

4949

5050
import PyInstaller.__main__
51-
51+
with open("src/version.py", "w") as f:
52+
version = os.getenv('GITHUB_RUN_NUMBER') or os.getenv("USER") + "@local"
53+
f.write(f"tool_version = '5.{version}'")
5254
PyInstaller.__main__.run(['-F', 'run.py', '--exclude-module=numpy', '-i', 'icon.ico'])
5355

5456
if os.name == 'nt':

0 commit comments

Comments
 (0)