From 2a88288cd2ee48a1859eee9a56b0831c937575c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=A4=96=E4=B9=8B=E7=A5=9E?= Date: Thu, 31 Mar 2022 22:31:09 +0800 Subject: [PATCH] Windowslize --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 959b86d..2477698 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ python main.py * 5:坚果保龄球模式 * **注意:目前单文件发布版本不支持自定义调整关卡** -# 单文件封装 +# Windows单文件封装 先在仓库所在文件夹执行 @@ -43,11 +43,12 @@ nuitka --mingw --standalone --onefile --show-progress --show-memory --output-dir 再及时在单文件编译前于同一文件夹中执行 -``` shell -mkdir out/main.dist/pygame -ln out/freesansbold.ttf out/main.dist/freesansbold.ttf -ln -s resources out/main.dist/resources -ln -s source out/main.dist/source +``` powershell +mkdir out\main.dist\pygame +mkdir out\main.dist\source +ln out\freesansbold.ttf out\main.dist\pygame\freesansbold.ttf +New-Item -Path out\main.dist\resources -ItemType Junction -Value resources +New-Item -Path out\main.dist\source\data -ItemType Junction -Value source\data ``` # 截屏