-
Notifications
You must be signed in to change notification settings - Fork 0
/
src.bat
18 lines (18 loc) · 974 Bytes
/
src.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off
cls
echo [IMPORTANT] CHECK THE README.md FILE BEFORE CONTINUING
pause
if not exist %temp%\cygwin-setup.exe (
curl -o %temp%\cygwin-setup.exe https://cygwin.com/setup-x86_64.exe
)
cmd /c %temp%\cygwin-setup.exe ^
--no-shortcuts ^
--no-desktop ^
--quiet-mode ^
--verbose ^
--packages bash,coreutils,gzip,unzip,wget,xxd
echo [IMPORTANT] CONTINUE ONLY AFTER THE CYGWIN SETUP CLOSES
pause
winget install Oracle.VirtualBox
start "[REMINDER] RUN AFTER INSTALL COMPLETION" cmd /c "echo [INFO] After the instalation of macOS Catalina finishes, power it off and run {C:\cygwin64\bin\bash --login -c './macos-guest-virtualbox.sh prompt_delete_temporary_files'} to clean up the installation files. This window is a reminder and can be closed at any time. & pause"
C:\cygwin64\bin\bash --login -c 'wget https://raw.githubusercontent.com/myspaghetti/macos-virtualbox/master/macos-guest-virtualbox.sh ^&^& chmod 777 macos-guest-virtualbox.sh ^&^& ./macos-guest-virtualbox.sh'