constants.py: Fix path handling with DMG mounting

This commit is contained in:
Mykola Grymalyuk
2023-10-01 15:31:21 -06:00
parent c6bef2d8aa
commit fb85c42c52
+10 -8
View File
@@ -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