This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"syscall" | |
"unsafe" | |
"golang.org/x/sys/windows" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Create DMG Disk with Terminal | |
hdiutil create -o /tmp/mojave -size 7900m -volname mojave -layout SPUD -fs HFS+J | |
# Mount DMG Disk to your macOS | |
hdiutil attach /tmp/mojave.dmg -noverify -mountpoint /Volumes/mojave | |
# Create macOS Mojave Installer | |
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/mojave --nointeraction |
OlderNewer