forked from CastroFidel/winehelper
Compare commits
2 Commits
ded62bd9ac
...
eca1905c62
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eca1905c62 | ||
|
|
371b2b7484 |
BIN
image/wh_default.png
Normal file
BIN
image/wh_default.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
@@ -610,7 +610,7 @@ create_desktop () {
|
||||
print_ok "Иконка успешно извлечена и сохранена: $icon_file"
|
||||
else
|
||||
print_warning "Не удалось извлечь иконку из $exe_file. Используется иконка по умолчанию."
|
||||
icon_file="wine" # Запасной вариант
|
||||
icon_file="$WH_IMAGE_PATH/wh_default.png" # Запасной вариант
|
||||
fi
|
||||
try_remove_dir "$tmp_ico_dir"
|
||||
fi
|
||||
@@ -620,7 +620,7 @@ create_desktop () {
|
||||
# Случай 4: Запасной вариант по умолчанию
|
||||
else
|
||||
print_info "Иконка '$icon_arg' не найдена. Используется иконка по умолчанию."
|
||||
icon_file="wine"
|
||||
icon_file="$WH_IMAGE_PATH/wh_default.png"
|
||||
fi
|
||||
# --- Конец логики обработки иконки ---
|
||||
|
||||
|
||||
@@ -5117,6 +5117,7 @@ class WineHelperGUI(QMainWindow):
|
||||
if exit_code == 0:
|
||||
self.command_log_output.append(f"\n=== Восстановление успешно завершено ===")
|
||||
self.update_installed_apps()
|
||||
self._load_created_prefixes()
|
||||
self.filter_installed_buttons()
|
||||
else:
|
||||
self.command_log_output.append(f"\n=== Ошибка выполнения (код: {exit_code}) ===")
|
||||
|
||||
Reference in New Issue
Block a user