mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
sspatch: final fix
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
3dee54b66b
commit
80a7f6fc07
@ -68,8 +68,8 @@ if [ -d /var/packages/SurveillanceStation ]; then
|
|||||||
echo -e "SSPatch: ${SO_FILE} permissions set"
|
echo -e "SSPatch: ${SO_FILE} permissions set"
|
||||||
|
|
||||||
# Remove warning message
|
# Remove warning message
|
||||||
sed -i 's/SYNO.API.RedirectToDSMByErrorCode=function(c){alert(SYNO.API.getErrorString(c));/SYNO.API.RedirectToDSMByErrorCode = () => { };/g' ${JS_FILE}
|
#sed -i 's/SYNO.API.RedirectToDSMByErrorCode=function(c){alert(SYNO.API.getErrorString(c));/SYNO.API.RedirectToDSMByErrorCode = () => { };/g' ${JS_FILE}
|
||||||
echo -e "SSPatch: sds.js patched"
|
#echo -e "SSPatch: sds.js patched"
|
||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
/usr/syno/bin/synopkg start SurveillanceStation
|
/usr/syno/bin/synopkg start SurveillanceStation
|
||||||
|
Loading…
Reference in New Issue
Block a user