winehelper.log moved to the winehelper_backup_log directory

This commit is contained in:
Sergey Palcheh
2025-10-02 12:24:21 +06:00
parent dd2901c85e
commit 95a8d370ab
2 changed files with 6 additions and 4 deletions

View File

@@ -102,7 +102,9 @@ else
fi
if [[ $WINEDEBUG != "-all" ]] ; then
export LOG_FILE="$HOME/winehelper.log"
log_dir="$HOME/winehelper_backup_log"
mkdir -p "$log_dir"
export LOG_FILE="$log_dir/winehelper.log"
date > "$LOG_FILE"
print_warning "Включен режим логирования работы WINE."
print_warning "Лог будет сохранен по пути: $LOG_FILE"