From 82d53cfb3225881625daff75c3d8dc7ed3ae61a0 Mon Sep 17 00:00:00 2001 From: Jack <31696646+myspaghetti@users.noreply.github.com> Date: Sun, 26 Apr 2020 09:46:43 +0300 Subject: [PATCH] primary display resolution documentation --- macos-guest-virtualbox.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/macos-guest-virtualbox.sh b/macos-guest-virtualbox.sh index 227ba6a..ca9a3d1 100755 --- a/macos-guest-virtualbox.sh +++ b/macos-guest-virtualbox.sh @@ -2,7 +2,7 @@ # Push-button installer of macOS on VirtualBox # (c) myspaghetti, licensed under GPL2.0 or higher # url: https://github.com/myspaghetti/macos-guest-virtualbox -# version 0.90.0 +# version 0.90.1 # Dependencies: bash coreutils gzip unzip wget xxd dmg2img # Supported versions: @@ -1104,6 +1104,15 @@ ${low_contrast_color}sudo diskutil apfs resizeContainer disk1 0${default_color} repairing the disk from Terminal, delete the \"Free space\" partition so it allows the system APFS container to take up the available space. + ${highlight_color}Primary display resolution${default_color} +The following command assigns the virtual machine primary display resolution: +${low_contrast_color}VBoxManage setextradata \"\${vm_name}\" \\${default_color} + ${low_contrast_color}\"VBoxInternal2/EfiGraphicsResolution\" \"\${resolution}\"${default_color} +The following primary display resolutions are supported by macOS on VirtualBox: +${low_contrast_color}5120x2880 2880x1800 2560x1600 2560x1440 1920x1200 1600x1200 1680x1050${default_color} +${low_contrast_color}1440x900 1280x800 1024x768 640x480${default_color} +Secondary displays can have an arbitrary resolution. + ${highlight_color}Unsupported features${default_color} Developing and maintaining VirtualBox or macOS features is beyond the scope of this script. Some features may behave unexpectedly, such as USB device support,