feat: 试试

This commit is contained in:
shenjack 2022-12-29 17:45:47 +08:00
parent 6b57408109
commit 4c51eaa0cd
3 changed files with 6 additions and 3 deletions

View File

@ -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')

View File

@ -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' }}

View File

@ -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: