mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 12:48:18 +10:00
GUI: Add additional handling
This commit is contained in:
@@ -289,7 +289,7 @@ class macOSInstallerFlashFrame(wx.Frame):
|
||||
try:
|
||||
total_bytes_written = float(utilities.monitor_disk_output(root_disk))
|
||||
except:
|
||||
pass
|
||||
total_bytes_written = initial_bytes_written
|
||||
bytes_written = total_bytes_written - initial_bytes_written
|
||||
wx.CallAfter(bytes_written_label.SetLabel, f"Bytes Written: {bytes_written:.2f} MB")
|
||||
wx.CallAfter(progress_bar.SetValue, int(bytes_written))
|
||||
|
||||
Reference in New Issue
Block a user