feat: 试试
This commit is contained in:
parent
6b57408109
commit
4c51eaa0cd
3
.github/workflows/get_info.py
vendored
3
.github/workflows/get_info.py
vendored
@ -15,5 +15,6 @@ print(sys.path)
|
||||
|
||||
from Difficult_Rocket import DR_runtime
|
||||
|
||||
os.system(f'echo "DR_version={DR_runtime.DR_version.__str__()}" >> $GITHUB_OUTPUT')
|
||||
print(f'DR_version={DR_runtime.DR_version}')
|
||||
os.system(f'echo "DR_version={DR_runtime.DR_version}" >> $GITHUB_OUTPUT')
|
||||
|
||||
|
2
.github/workflows/nuitka.yml
vendored
2
.github/workflows/nuitka.yml
vendored
@ -70,6 +70,7 @@ jobs:
|
||||
shell: pwsh
|
||||
run: |
|
||||
Write-Output $GITHUB_OUTPUT
|
||||
Write-Output $`{GITHUB_OUTPUT`}
|
||||
$arg = @()
|
||||
$arg += @("--standalone")
|
||||
$arg += @("--msvc=latest")
|
||||
@ -84,6 +85,7 @@ jobs:
|
||||
# $arg += @("--show-progress")
|
||||
$arg += @("--assume-yes-for-download")
|
||||
python -m nuitka $arg DR.py
|
||||
Write-Output $GITHUB_OUTPUT
|
||||
|
||||
- name: Build on MacOS / Linux
|
||||
if: ${{ runner.os == 'macOS' || runner.os == 'Linux' }}
|
||||
|
@ -29,7 +29,7 @@ long_version: 一个用于标记内部协议的整数
|
||||
"""
|
||||
|
||||
|
||||
class DR_option(Options):
|
||||
class _DR_option(Options):
|
||||
"""
|
||||
DR 的整体配置存储类
|
||||
"""
|
||||
@ -94,7 +94,7 @@ class _DR_runtime(Options):
|
||||
_DR_runtime.add_option('language', _DR_runtime.language)
|
||||
|
||||
|
||||
DR_option = DR_option()
|
||||
DR_option = _DR_option()
|
||||
DR_runtime = _DR_runtime()
|
||||
|
||||
if DR_option.playing:
|
||||
|
Loading…
Reference in New Issue
Block a user