Added step to check for default-pwa and launch Chromium if not.

master
BrainwreckedTech 4 years ago
parent bd91599ebd
commit 8cb74cf5f9

@ -157,6 +157,14 @@ elif [ "${WASUFFIX}" = "ssb" ]; then
fi fi
### MAKE SURE pwa-default PROFILE EXISTS, COPY IT TO NEW PROFILE.
if [ "${WASUFFIX}" = "pwa" ]; then
if [ ! -e "${WAPP_DPF}" ]; then
${BRWSRBIN} --user-data-dir="${WAPP_DPF}" --no-first-run --no-default-browser-check
fi
cp -a "${WAPP_DPF}" "${WAPP_PRF}"
fi
### MAKE SURE WEBAPP DIRECTORY EXISTS ### MAKE SURE WEBAPP DIRECTORY EXISTS
printf -- ':: ' && mkdir -pv "${WAPP_DIR}" printf -- ':: ' && mkdir -pv "${WAPP_DIR}"

Loading…
Cancel
Save