Skip to content

Commit

Permalink
Fix prefix restore on first run with -init
Browse files Browse the repository at this point in the history
  • Loading branch information
VHSgunzo committed Jan 2, 2024
1 parent 0170fdd commit fbea950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lux-wine
Original file line number Diff line number Diff line change
Expand Up @@ -2528,8 +2528,8 @@ check_first_run() {
update-desktop-database -q "$MENU_APPS_DIR"
[ ! -L "$HOME/LuxWine" ] && \
try_ln "$LW_DIR" "$HOME/"
touch "$LW_DIR/.firstrun"
[ "$1" != "-init" ] && full_init
touch "$LW_DIR/.firstrun"
unset FIRST_RUN
fi
}
Expand Down Expand Up @@ -2660,9 +2660,9 @@ lite_init() {
check_terminal
check_vkbasalt_cfg
check_exe_args
check_first_run "$@"
check_esync
check_fsync
check_first_run "$@"
fi
}

Expand Down

0 comments on commit fbea950

Please sign in to comment.