代码拉取完成,页面将自动刷新
@echo off
:getvtag
set /P ver= <"version.txt"
if "%ver%"=="" (
goto getvtag
)
if "%1"=="build" (
echo [BUILD]building... 1/2
pyinstaller -F -p "." -i dashedgeless.ico -n on_start on_start.py
copy /Y dist\on_start.exe .\
echo [BUILD]building... 2/2
pyinstaller -F -p "." -i dashedgeless.ico -n dash dash.py
copy /Y dist\dash.exe .\
rmdir /S /Q build
rmdir /S /Q dist
del /Q *.spec
)
if "%1"=="7z" (
echo [BUILD]packing... 1/3
mkdir "tmp/dashedgeless"
xcopy /I "*" "tmp/dashedgeless/"
copy "dashedgeless.wcs" "tmp"
copy "setpath.wcs" "tmp"
echo "dashedgeless_%ver%_dashedgeless (bot).7z">"tmp/dashedgeless/whitelist.txt"
del /Q "tmp/dashedgeless/log.log"
del /Q "tmp/dashedgeless/.tip*.log"
echo [BUILD]packing... 2/3
rmdir /S /Q "dist"
mkdir dist
del /Q "dist/dashedgeless_%ver%_dashedgeless (bot).7z"
7z a "dist/dashedgeless_%ver%_dashedgeless (bot).7z" "./tmp/*"
echo [BUILD]packing... 3/3
rmdir /S /Q "tmp"
)
if "%1"=="v" (
echo --- Build tools [dashedgeless] ---
echo version: %ver%
)
if "%1"=="" (
echo --- Build tools [dashedgeless] ---
echo version: %ver%
build build
build 7z
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。