fix(crash): 修复双击闪退——路径基于可执行文件目录解析、崩溃兜底日志、资源入 bin 与安装包
This commit is contained in:
@@ -22,6 +22,8 @@ Copy-Item (Join-Path $root "config\client.yaml") (Join-Path $stage "config")
|
||||
Copy-Item (Join-Path $root "config\server.yaml") (Join-Path $stage "config")
|
||||
New-Item -ItemType Directory -Force -Path (Join-Path $stage "mods") | Out-Null
|
||||
Copy-Item (Join-Path $root "mods\README.md") (Join-Path $stage "mods")
|
||||
# 游戏数据(方块/物品/配方注册表)
|
||||
Copy-Item (Join-Path $root "assets") (Join-Path $stage "assets") -Recurse
|
||||
# 默认素材包
|
||||
Copy-Item (Join-Path $root "resourcepacks") (Join-Path $stage "resourcepacks") -Recurse
|
||||
# 安装脚本(GBK 编码保证 cmd 中文显示)
|
||||
|
||||
Reference in New Issue
Block a user