Added step to check for default-pwa and launch Chromium if not.
This commit is contained in:
parent
bd91599ebd
commit
8cb74cf5f9
8
mkwebapp
8
mkwebapp
@ -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…
x
Reference in New Issue
Block a user