mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 07:28:56 +08:00
core: 不重要的优化
This commit is contained in:
@ -13,7 +13,7 @@ cd /d %~dp0
|
||||
openfiles 1>nul 2>&1
|
||||
if not !errorlevel! == 0 (
|
||||
echo Please run as administrator^^!
|
||||
exit 1
|
||||
exit /b
|
||||
)
|
||||
|
||||
:: 检查是否国内
|
||||
@ -59,7 +59,7 @@ if not exist !tags! (
|
||||
--root %SystemDrive%\cygwin^
|
||||
--local-package-dir %tmp%\cygwin-local-package-dir^
|
||||
--packages !pkgs!^
|
||||
&& echo >!tags!
|
||||
&& type nul >!tags!
|
||||
)
|
||||
|
||||
:: 下载 reinstall.sh
|
||||
|
||||
Reference in New Issue
Block a user