Skip to content

Commit

Permalink
fix: add GUI status
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlaltf24 authored and thw26 committed Oct 25, 2024
1 parent cf39c85 commit da48ece
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ou_dedetai/wine.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,9 @@ def enforce_icu_data_files(app=None):
icu_version_path = Path(f"{config.WINEPREFIX}/drive_c/windows/globalization/ICU/{repo.replace('/','_')}_Version.txt")
if icu_version_path.exists() and icu_version_path.read_text().strip() == icu_latest_version:
logging.debug(f"ICU Data files already up to date, no need to install.")
if hasattr(app, 'status_evt'):
app.status_q.put("ICU files were already up to date.")
app.root.event_generate(app.status_evt)
return

if icu_url is None:
Expand Down

0 comments on commit da48ece

Please sign in to comment.