Compare commits
3 Commits
main
...
build-lndl
Author | SHA1 | Date | |
---|---|---|---|
bb547ec49c | |||
d85a173d00 | |||
0f38287bbc |
2
.github/workflows/nuitka.yml
vendored
2
.github/workflows/nuitka.yml
vendored
@ -86,7 +86,7 @@ jobs:
|
||||
- name: Build by nuitka
|
||||
shell: pwsh
|
||||
run: |
|
||||
python nuitka_build.py --github
|
||||
python -m lndl_nuitka . -y
|
||||
# 集成的构建脚本 好耶!
|
||||
|
||||
# 获取短 sha
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -74,7 +74,7 @@ jobs:
|
||||
- name: Build by nuitka
|
||||
shell: pwsh
|
||||
run: |
|
||||
python nuitka_build.py --github
|
||||
python -m lndl_nuitka . -y
|
||||
# 集成的构建脚本 好耶!
|
||||
|
||||
# 编译 dr_rs
|
||||
|
@ -8,7 +8,7 @@ from pathlib import Path
|
||||
|
||||
from Difficult_Rocket.api.types import Options, Version
|
||||
|
||||
sdk_version = Version("0.9.0.0-alpha.0") # SDK 版本
|
||||
sdk_version = Version("0.9.0.0") # SDK 版本
|
||||
build_version = Version("2.2.0.0") # 编译文件版本(与游戏本体无关)
|
||||
api_version = Version("0.1.1.0") # API 版本
|
||||
__version__ = sdk_version
|
||||
|
@ -55,6 +55,15 @@ def gen_pyglet_no_follow_import() -> list:
|
||||
def main(config: raw_config_type) -> nuitka_config_type:
|
||||
print("debug", config)
|
||||
config = config["cli"]
|
||||
if platform.system() == "Darwin":
|
||||
config.pop("windows-icon-from-ico")
|
||||
config.pop("linux-icon")
|
||||
elif platform.system() == "Linux":
|
||||
config.pop("windows-icon-from-ico")
|
||||
config.pop("macos-app-icon")
|
||||
elif platform.system() == "Windows":
|
||||
config.pop("linux-icon")
|
||||
config.pop("macos-app-icon")
|
||||
|
||||
config["file-version"] = str(build_version)
|
||||
config["product-version"] = str(sdk_version)
|
||||
|
Loading…
Reference in New Issue
Block a user