当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 7

hackflame / VC-LTL
暂停

forked from 初雨团队 / VC-LTL
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Install.cmd 1.29 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
@echo off
setlocal
set IsTextMode=No
echo VC-LTL Installer [Version 0.1.0]
echo (c) Chuyu Team. All rights reserved.
echo.
if /i "%1"=="" goto TextMode
if /i "%1"=="/?" goto Help
if /i "%1"=="/I" goto Install
if /i "%1"=="/U" goto UnInstall
echo Invaild Command Parameter.
echo.
goto Help
:Install
echo.
echo.Start writing to the registry
echo.[HKCU\Code\VC-LTL]
echo.Root="%~dp0"
echo.
reg ADD HKCU\Code\VC-LTL /v Root /t REG_SZ /d "%~dp0\" /f
echo.
goto ExitScript
:UnInstall
echo.
reg delete HKCU\Code\VC-LTL /f
echo.
goto ExitScript
:Help
echo.Manages VC-LTL information in the current user registry.
echo.
echo.Install [Options]
echo.
echo. /I Add VC-LTL information to the current user registry.
echo. /U Remove VC-LTL information to the current user registry.
echo. /? Show this content.
goto ExitScript
:TextMode
set IsTextMode=Yes
echo.Welcome to use VC-LTL Installer! If you want to invoke this script
echo.silently, please use /? parameter to read help.
reg query HKCU\Code\VC-LTL /v Root >nul 2>nul && goto TextUnInstall || goto Install
:TextUnInstall
echo.
set /p Answer=VC-LTL appears to be installed, do you want to uninstall it (Y/N)?
if /i "%Answer%"=="Y" goto UnInstall
echo.
echo.Operation canceled.
echo.
goto ExitScript
:ExitScript
if /i "%IsTextMode%"=="Yes" pause
@echo on
C++
1
https://gitee.com/hackflame/VC-LTL.git
git@gitee.com:hackflame/VC-LTL.git
hackflame
VC-LTL
VC-LTL
master

搜索帮助

14c37bed 8189591 565d56ea 8189591