fix: portproton cli --edit-db

parent 0c4c67f2
......@@ -52,6 +52,12 @@ MISSING_DESKTOP_FILE="0"
unset PW_NO_RESTART_PPDB PW_DISABLED_CREATE_DB
if [[ ${1,,} == "cli" ]] ; then
export PW_CLI="1"
export PROCESS_LOG="1"
shift
fi
if [[ "${1,,}" =~ .ppack$ ]] ; then
export PW_NO_RESTART_PPDB="1"
export PW_DISABLED_CREATE_DB="1"
......@@ -388,12 +394,6 @@ fi
### CLI ###
if [[ ${1,,} == "cli" ]] ; then
export PW_CLI="1"
export PROCESS_LOG="1"
shift
fi
get_wine_and_pfx () {
[[ -n $1 ]] && export PW_WINE_USE="$1"
[[ -n $2 ]] && export PW_PREFIX_NAME="$2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment