Add single quotes around proxy address in command line parameter.
This commit is contained in:
2
mkwebapp
2
mkwebapp
@@ -215,7 +215,7 @@ fi
|
||||
|
||||
### CREATE A PROXIED VERSION
|
||||
WAPP_DTF="${WAPP_DTF/.desktop/.proxied.desktop}"
|
||||
[ "${WASUFFIX}" = "pwa" ] && PRX_MTHD="Local Proxy" && WAPP_CMD="${WAPP_CMD} --proxy-server=socks://127.0.0.1:8080"
|
||||
[ "${WASUFFIX}" = "pwa" ] && PRX_MTHD="Local Proxy" && WAPP_CMD="${WAPP_CMD} --proxy-server='socks://127.0.0.1:8080'"
|
||||
[ ! "${WASUFFIX}" = "pwa" ] && PRX_MTHD="Proxychains" && WAPP_CMD="proxychains ${WAPP_CMD}"
|
||||
[ ! "${WASUFFIX}" = "ewa" ] && WAPP_CMD="${WAPP_CMD/--class ${WASUFFIX}-${WAPPNAME,,}/--class ${WASUFFIX}-${WAPPNAME,,}.proxy}"
|
||||
WAWMCLAS="${WAWMCLAS/${WAPPNAME,,}/${WAPPNAME,,}.proxy}"
|
||||
|
||||
Reference in New Issue
Block a user