diff --git a/.gitignore b/.gitignore index 6702f32..ce181e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ .idea .gradle -build -config \ No newline at end of file +build \ No newline at end of file diff --git a/config/cancel_auto_start.bat b/config/cancel_auto_start.bat new file mode 100644 index 0000000..42b8ac8 --- /dev/null +++ b/config/cancel_auto_start.bat @@ -0,0 +1,3 @@ +C: +cd C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\ +del RoomIt.bat diff --git a/config/copy_auto_start_file.bat b/config/copy_auto_start_file.bat new file mode 100644 index 0000000..faeef79 --- /dev/null +++ b/config/copy_auto_start_file.bat @@ -0,0 +1,5 @@ +@echo off +%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit +cd /d "%~dp0" + +xcopy ".\RoomIt.bat" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\" /y \ No newline at end of file