Skip to content

Commit

Permalink
v0.10.0 - WIP Sonoma and legacy OS X support
Browse files Browse the repository at this point in the history
Co-authored-by: DomTrues <[email protected]>
  • Loading branch information
Coopydood and DomTrues committed Oct 4, 2023
1 parent 7c9c4bc commit bb6982a
Show file tree
Hide file tree
Showing 15 changed files with 394 additions and 127 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ ovmf/OVMF_CODE.fd
ovmf/OVMF_VARS.fd
ovmf/user_store/OVMF_VARS.fd
boot/opencore-image-ng.sh
boot/mnt
BaseSystem.dmg
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.8
0.10.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<img src="https://github.com/Coopydood/ultimate-macOS-KVM/blob/492731ef1d95d2da534c660b001550f4d76a6c68/resources/images/bannerAlphaBasic.png?raw=true" alt="ultimate-macOS-KVM" width="500"/>

### v0.9.8
### v0.10.0

Helping you build the ultimate macOS virtual machine, powered by KVM.

*[What's new?](https://github.com/Coopydood/ultimate-macOS-KVM/blob/main/docs/changelogs/v0-9-8.md)*
*[What's new?](https://github.com/Coopydood/ultimate-macOS-KVM/blob/main/docs/changelogs/v0-10-0.md)*

[![ULTMOS VERSION](https://img.shields.io/github/v/release/Coopydood/ultimate-macOS-KVM?style=for-the-badge&color=1793D1&logo=github&logoColor=white&label=)](https://github.com/Coopydood/ultimate-macOS-KVM/releases/latest) [![GitHub](https://img.shields.io/github/license/Coopydood/ultimate-macOS-KVM?label=Licence&logo=unlicense&logoColor=white&style=for-the-badge)](https://github.com/Coopydood/ultimate-macOS-KVM/blob/main/LICENSE) [![GitHub repo size](https://img.shields.io/github/repo-size/Coopydood/ultimate-macOS-KVM?color=07b55b&label=Size&logo=envoy-proxy&logoColor=white&style=for-the-badge)](https://github.com/Coopydood/ultimate-macOS-KVM) [![Discord](https://img.shields.io/discord/574943603466436628?color=7d86ff&label=Discord&logo=discord&logoColor=white&style=for-the-badge)](https://sl.coopydood.com/discord)

Expand Down
22 changes: 22 additions & 0 deletions docs/changelogs/v0-10-0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## v0.10.0

### Moderate update • 04/10/2023

This update includes the following features / fixes / changes:

- WIP macOS Sonoma (14) support
- Experimental support for legacy OS X versions (10.7 - 10.12)
- Added OpenCore Configuration Assistant
- Updated default CPU model for better compatibility
- AutoPilot now selects appropriate CPU model based on target OS
- Support for passthrough devices in Discord presence
- Base config fixes and improvements
- Fixed an issue where the VNC server IP would be replaced by the version number
- XML conversion tool fixes
- OpenCore image is no longer attached as readonly by default
- CPU model is now displayed during script verbose output
- *the marines are after me help*

To see individual code changes, visit the project's commits page at <https://github.com/Coopydood/ultimate-macOS-KVM/commits/main>

Remember, commits by Coopydood will always be signed as **4CD28348A3DD016F** or GitHub's public key.
21 changes: 14 additions & 7 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,23 @@ def startup():
if os.path.exists("./blobs/user/USR_CFG.apb"):
global apFilePath
global macOSVer
global mOSString
apFilePath = open("./blobs/user/USR_CFG.apb")
apFilePath = apFilePath.read()
if os.path.exists("./blobs/user/USR_TARGET_OS_NAME.apb"):
macOSVer = open("./blobs/user/USR_TARGET_OS_NAME.apb")
macOSVer = macOSVer.read()

macOSVer = open("./blobs/user/USR_TARGET_OS.apb")
macOSVer = macOSVer.read()
if int(macOSVer) <= 999 and int(macOSVer) > 99:
macOSVer = str(int(macOSVer) / 100)
mOSString = "Mac OS X"
else:
macOSVer = open("./blobs/user/USR_TARGET_OS.apb")
mOSString = "macOS"
if os.path.exists("./blobs/user/USR_TARGET_OS_NAME.apb"):
macOSVer = open("./blobs/user/USR_TARGET_OS_NAME.apb")
macOSVer = macOSVer.read()
if int(macOSVer) >= 999:
macOSVer = str(int(macOSVer) / 100)
if os.path.exists("./"+apFilePath):
global REQUIRES_SUDO
global VALID_FILE
Expand All @@ -154,11 +161,11 @@ def startup():
#REQUIRES_SUDO = 1 # UNCOMMENT FOR DEBUGGING

if REQUIRES_SUDO == 1:
print(color.BOLD+"\n B. Boot macOS "+macOSVer+color.YELLOW,"⚠"+color.END)
print(color.END+" Start macOS using the detected\n "+apFilePath+" script file."+color.YELLOW,"Requires superuser."+color.END)
print(color.BOLD+"\n B. Boot",mOSString,macOSVer+color.YELLOW,"⚠"+color.END)
print(color.END+" Start",mOSString,"using the detected\n "+apFilePath+" script file."+color.YELLOW,"Requires superuser."+color.END)
else:
print(color.BOLD+"\n B. Boot macOS "+macOSVer+"")
print(color.END+" Start macOS using the detected\n "+apFilePath+" script file.")
print(color.BOLD+"\n B. Boot",mOSString,macOSVer+"")
print(color.END+" Start",mOSString,"using the detected\n "+apFilePath+" script file.")
print(color.END+"\n 1. AutoPilot")

else:
Expand Down
3 changes: 2 additions & 1 deletion resources/.upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
0.9.5
0.9.6
0.9.7
0.9.8
0.9.8
0.10.0
Binary file modified resources/oc_store/compat_new/OpenCore.qcow2
Binary file not shown.
Binary file modified resources/oc_store/compat_old/OpenCore.qcow2
Binary file not shown.
Binary file added resources/oc_store/legacy_new/OpenCore.qcow2
Binary file not shown.
Loading

0 comments on commit bb6982a

Please sign in to comment.