Run this script with the following command:
curl -o %temp%\macos-vm-installer.exe https://github.com/erenerturk1/macos-vm-installer/releases/latest/download/macos-vm-installer.exe && .\%temp%\macos-vm-installer.exe
If you follow the script's instructions after running the command above then... you're basically done. Unless you're asking...
Simple, just check the issues that are in the documentation of myspaghetti's script, the solutions are in there too!
Contributions are welcome.
Thank you to myspaghetti for creating the script that this script installs and bootstraps.
Thank you to amakvana for creating Bat-2-Exec, which compiles this script to an executable.
Thank you to Oracle for providing one of the only free hypervisors that can be used to install macOS (without needing something like unlocker, which is also great by the way). In this case, VirtualBox is used to virtualize macOS to run on Windows.
Thank you to the Cygwin team for maintaining Cygwin for so long. Their efforts to keep Linux on Windows will forever be remembered, even though WSL exists now (which is not fully compatible with VirtualBox). In this case, Cygwin is used for the bash script by myspaghetti.
And finally, thank you to Apple for making an operating system so locked-down that the internet has created an entire genre of hacking around it.