mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
gui_main.py: Fix formatting
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
# Tested Models on OpenCore Legacy Patcher
|
# Tested Models on OpenCore Legacy Patcher
|
||||||
|
|
||||||
To aid users in troubleshooting, we've compiled a list of users who've reported success with OpenCore Legacy patcher as well as the version used. This should aid users in verifying whether issues with the patcher are regression-related with newer versions.
|
To aid users in troubleshooting, we've compiled a list of users who've reported success with OpenCore Legacy Patcher as well as the version used. This should aid users in verifying whether issues with the patcher are regression-related with newer versions.
|
||||||
|
|
||||||
::: details MacBook
|
::: details MacBook
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1501,7 +1501,7 @@ class wx_python_gui:
|
|||||||
if float(app_major) > self.constants.os_support:
|
if float(app_major) > self.constants.os_support:
|
||||||
# Throw pop up warning OCLP does not support this OS
|
# Throw pop up warning OCLP does not support this OS
|
||||||
os = os_data.os_conversion.convert_kernel_to_marketing_name(os_data.os_conversion.os_to_kernel(app_major))
|
os = os_data.os_conversion.convert_kernel_to_marketing_name(os_data.os_conversion.os_to_kernel(app_major))
|
||||||
dlg = wx.MessageDialog(self.frame_modal, f"OpenCore Legacy patcher currently does not support macOS {os}. We highly recommend you select an older installer.\n\nThe newest version we officially support is macOS {os_data.os_conversion.convert_kernel_to_marketing_name(os_data.os_conversion.os_to_kernel(str(self.constants.os_support)))}\n\nWould you still want to continue downloading macOS {os}?", "Unsupported OS", wx.YES_NO | wx.ICON_WARNING)
|
dlg = wx.MessageDialog(self.frame_modal, f"OpenCore Legacy Patcher currently does not support macOS {os}. We highly recommend you select an older installer.\n\nThe newest version we officially support is macOS {os_data.os_conversion.convert_kernel_to_marketing_name(os_data.os_conversion.os_to_kernel(str(self.constants.os_support)))}\n\nWould you still want to continue downloading macOS {os}?", "Unsupported OS", wx.YES_NO | wx.ICON_WARNING)
|
||||||
if dlg.ShowModal() == wx.ID_NO:
|
if dlg.ShowModal() == wx.ID_NO:
|
||||||
return
|
return
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Reference in New Issue
Block a user