Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

找到了win本地部署的bat文件 #42

Open
sovzzz opened this issue Nov 7, 2021 · 1 comment
Open

找到了win本地部署的bat文件 #42

sovzzz opened this issue Nov 7, 2021 · 1 comment

Comments

@sovzzz
Copy link

sovzzz commented Nov 7, 2021

原作者的release中有一个版本是通过bat部署在本地,但是源码中不包含该文件。链接如下。
https://raw.githubusercontent.com/QiYueYiya/BiliExpExplain/main/Windows/setup_for_windows.bat
内容如下
@echo off color 72 title setup_for_windows mode con cols=60 lines=24 echo.============================================================ echo.请以管理员身份运行,否则将无法创建任务 echo.输入项目文件夹路径后回车,例如: D:\文档\BiliExper-master echo.============================================================ set /p file=请输入: echo python ./BiliExp.py > %file%\BiliExp.bat :1 echo.============================================================ echo.1.定时启动 echo.2.开机启动 echo.============================================================ echo.输入数字以选择运行模式 echo.============================================================ set /p a=请输入: for /f "delims=12" %%a in ("%a%") do if not "%%a"=="" ( echo. echo.输入错误,请重新输入 pause cls goto 1 ) if "%a%"=="" ( goto 1 ) else if "%a%"=="1" ( goto 2 ) else if "%a%"=="2" ( echo.============================================================ echo.正在创建开机启动任务 schtasks /create /tn "BiliExp" /ru system /tr %file%\BiliExp.bat /sc onlogon goto 3 ) :2 echo.============================================================ echo.请输入运行时间,例如: 08:00 echo.============================================================ set /p time=请输入: echo.============================================================ echo.正在创建定时启动任务 schtasks /create /tn "BiliExp" /ru system /tr %file%\BiliExp.bat /sc DAILY /st %time% :3 start %windir%\system32\taskschd.msc /s echo.============================================================ pause

@WYHBlueAlgae
Copy link

能不能发一个release,源码编译一直各种报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants