fix addon params

This commit is contained in:
Ing 2023-08-03 20:06:14 +08:00
parent 7d4e768eb5
commit e3c20dc7a3

View File

@ -292,7 +292,8 @@ function addonMenu() {
--inputbox "$(TEXT "Type a opcional params to addon")" 0 0 \
2>${TMP_PATH}/resp
[ $? -ne 0 ] && continue
ADDONS[${ADDON}]="$(<"${TMP_PATH}/resp")"
VALUE="$(<"${TMP_PATH}/resp")"
ADDONS[${ADDON}]="${VALUE}"
writeConfigKey "addons.${ADDON}" "${VALUE}" "${USER_CONFIG_FILE}"
DIRTY=1
;;