add some more to main.py
This commit is contained in:
parent
21eab0e582
commit
ba7651a4c4
@ -81,7 +81,7 @@ class Game(Options):
|
|||||||
logging_config: Dict
|
logging_config: Dict
|
||||||
logger: logging.Logger
|
logger: logging.Logger
|
||||||
|
|
||||||
mod_module: List["ModInfo"]
|
mod_module: List["ModInfo"] = []
|
||||||
|
|
||||||
def init_logger(self) -> None:
|
def init_logger(self) -> None:
|
||||||
log_path = self.logging_config['handlers']['file']['filename']
|
log_path = self.logging_config['handlers']['file']['filename']
|
||||||
|
@ -24,12 +24,13 @@ $arg += @("--macos-app-icon=textures/icon.png")
|
|||||||
$arg += @("--clang")
|
$arg += @("--clang")
|
||||||
$arg += @("--lto=no")
|
$arg += @("--lto=no")
|
||||||
# 包配置
|
# 包配置
|
||||||
$arg += @("--nofollow-import-to=objprint,pillow,PIL,cffi")
|
$arg += @("--nofollow-import-to=objprint,pillow,PIL,cffi,pydoc")
|
||||||
$arg += @("--follow-import-to=pyglet")
|
$arg += @("--follow-import-to=pyglet")
|
||||||
# 数据配置
|
# 数据配置
|
||||||
$arg += @("--include-data-dir=./libs/fonts=./libs/fonts")
|
$arg += @("--include-data-dir=./libs/fonts=./libs/fonts")
|
||||||
$arg += @("--include-data-dir=./textures=./textures")
|
$arg += @("--include-data-dir=./textures=./textures")
|
||||||
$arg += @("--include-data-dir=./configs=./configs")
|
$arg += @("--include-data-dir=./configs=./configs")
|
||||||
|
$arg += @("--include-package=Difficult_Rocket.api")
|
||||||
# 编译配置
|
# 编译配置
|
||||||
$arg += @("--show-memory")
|
$arg += @("--show-memory")
|
||||||
$arg += @("--show-progress")
|
$arg += @("--show-progress")
|
||||||
|
@ -32,6 +32,7 @@ $arg += @("--follow-import-to=pyglet")
|
|||||||
$arg += @("--include-data-dir=./libs/fonts=./libs/fonts")
|
$arg += @("--include-data-dir=./libs/fonts=./libs/fonts")
|
||||||
$arg += @("--include-data-dir=./textures=./textures")
|
$arg += @("--include-data-dir=./textures=./textures")
|
||||||
$arg += @("--include-data-dir=./configs=./configs")
|
$arg += @("--include-data-dir=./configs=./configs")
|
||||||
|
$arg += @("--include-package=Difficult_Rocket.api")
|
||||||
# 编译配置
|
# 编译配置
|
||||||
$arg += @("--show-memory")
|
$arg += @("--show-memory")
|
||||||
$arg += @("--show-progress")
|
$arg += @("--show-progress")
|
||||||
|
Loading…
Reference in New Issue
Block a user