mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-16 04:10:00 +10:00
constants.py: Fix path handling with DMG mounting
This commit is contained in:
+10
-8
@@ -243,14 +243,6 @@ class Constants:
|
||||
os_data.os_data.sonoma,
|
||||
]
|
||||
|
||||
self.icons_path = [
|
||||
str(self.icon_path_macos_generic),
|
||||
str(self.icon_path_macos_big_sur),
|
||||
str(self.icon_path_macos_monterey),
|
||||
str(self.icon_path_macos_ventura),
|
||||
str(self.icon_path_macos_sonoma)
|
||||
]
|
||||
|
||||
@property
|
||||
def special_build(self):
|
||||
"""
|
||||
@@ -779,6 +771,16 @@ class Constants:
|
||||
return Path(self.launcher_binary).parent.parent / Path("Resources")
|
||||
|
||||
|
||||
@property
|
||||
def icons_path(self):
|
||||
return [
|
||||
str(self.icon_path_macos_generic),
|
||||
str(self.icon_path_macos_big_sur),
|
||||
str(self.icon_path_macos_monterey),
|
||||
str(self.icon_path_macos_ventura),
|
||||
str(self.icon_path_macos_sonoma)
|
||||
]
|
||||
|
||||
sbm_values = [
|
||||
"j137ap", # iMacPro1,1
|
||||
"j680ap", # MacBookPro15,1
|
||||
|
||||
Reference in New Issue
Block a user