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 fbea950 commit faf5ee3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lux-wine
Original file line number Diff line number Diff line change
Expand Up @@ -2528,9 +2528,10 @@ check_first_run() {
update-desktop-database -q "$MENU_APPS_DIR"
[ ! -L "$HOME/LuxWine" ] && \
try_ln "$LW_DIR" "$HOME/"
[ "$1" != "-init" ] && full_init
full_init
touch "$LW_DIR/.firstrun"
unset FIRST_RUN
[ "$1" != "-init" ]||exit
fi
}

Expand Down

0 comments on commit faf5ee3

Please sign in to comment.