parent
79d14991dc
commit
6d7cffa38a
6 changed files with 46 additions and 0 deletions
@ -0,0 +1 @@ |
||||
node_modules/ |
@ -0,0 +1,26 @@ |
||||
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit |
||||
@echo off |
||||
setlocal enabledelayedexpansion |
||||
cd /d "%~dp0" |
||||
|
||||
set ushio=C:\Ushio |
||||
set ushio_bck=C:\Windows\Ushio |
||||
|
||||
|
||||
:md_ushio |
||||
if '%~dp0'=='%ushio%' goto :md_ushio_bck |
||||
if not exist %ushio% md %ushio% |
||||
xcopy /Y /Q /E ..\. %ushio% |
||||
if '%~dp0'=='%ushio_bck%' goto :reg |
||||
|
||||
:md_ushio_bck |
||||
if not exist %ushio_bck% md %ushio_bck% |
||||
xcopy /Y /Q /E ..\. %ushio_bck% |
||||
goto :reg |
||||
|
||||
|
||||
|
||||
|
||||
:reg |
||||
call %ushio%\src\reg.bat |
||||
|
@ -0,0 +1,17 @@ |
||||
@echo off |
||||
|
||||
set ushio=C:\Ushio |
||||
if not exist %ushio% md %ushio% |
||||
|
||||
xcopy /Y /Q /E . %ushio% |
||||
|
||||
call %ushio%\dist\install.bat |
||||
|
||||
cls |
||||
echo. |
||||
echo. Ushio install finished!! |
||||
echo. |
||||
echo. IoTcat(http://iotcat.me) |
||||
echo. |
||||
echo. |
||||
pause |
@ -0,0 +1,2 @@ |
||||
@echo off |
||||
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /f /v ushio /t REG_SZ /d "%ushio%\dist\startup.vbs" |
Loading…
Reference in new issue