allowdowngrade: add mediaserver and photos

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-11-09 21:51:06 +01:00
parent 886f15f4c2
commit fae2ef8d70
2 changed files with 20 additions and 5 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# Copyright (C) 2023 AuxXxilium <https://github.com/AuxXxilium> # Copyright (C) 2024 AuxXxilium <https://github.com/AuxXxilium>
# #
# This is free software, licensed under the MIT License. # This is free software, licensed under the MIT License.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -15,16 +15,31 @@
# Allow Surveillance Station Downgrade on DSM 7.2.2 # Allow Surveillance Station Downgrade on DSM 7.2.2
/usr/syno/bin/synosetkeyvalue /etc.defaults/synopackageslimit.conf SurveillanceStation "9.2.0-11289" /usr/syno/bin/synosetkeyvalue /etc.defaults/synopackageslimit.conf SurveillanceStation "9.2.0-11289"
/usr/syno/bin/synosetkeyvalue /etc/synopackageslimit.conf SurveillanceStation "9.2.0-11289" /usr/syno/bin/synosetkeyvalue /etc/synopackageslimit.conf SurveillanceStation "9.2.0-11289"
# Allow Media Server Downgrade on DSM 7.2.2
/usr/syno/bin/synosetkeyvalue /etc.defaults/synopackageslimit.conf MediaServer "2.1.0-3304"
/usr/syno/bin/synosetkeyvalue /etc/synopackageslimit.conf MediaServer "2.1.0-3304"
# Allow Synology Photos Downgrade on DSM 7.2.2
/usr/syno/bin/synosetkeyvalue /etc.defaults/synopackageslimit.conf SynologyPhotos "1.6.2-0710"
/usr/syno/bin/synosetkeyvalue /etc/synopackageslimit.conf SynologyPhotos "1.6.2-0710"
# Prevent AME from updating # Prevent AME from updating
if [ -d "/var/packages/CodecPack" ]; then if [ -d "/var/packages/CodecPack" ]; then
/usr/syno/bin/synosetkeyvalue /var/packages/CodecPack/INFO version "30.1.0-3005" /usr/syno/bin/synosetkeyvalue "/var/packages/CodecPack/INFO version" "30.1.0-3005"
fi fi
# Prevent VideoStation from updating # Prevent VideoStation from updating
if [ -d "/var/packages/VideoStation" ]; then if [ -d "/var/packages/VideoStation" ]; then
/usr/syno/bin/synosetkeyvalue /var/packages/VideoStation/INFO version "30.1.0-3153" /usr/syno/bin/synosetkeyvalue "/var/packages/VideoStation/INFO version" "30.1.0-3153"
fi fi
# Prevent Surveillance Station from updating # Prevent Surveillance Station from updating
if [ -d "/var/packages/SurveillanceStation" ]; then if [ -d "/var/packages/SurveillanceStation" ]; then
/usr/syno/bin/synosetkeyvalue /var/packages/SurveillanceStation/INFO version "90.2.0-11289" /usr/syno/bin/synosetkeyvalue "/var/packages/SurveillanceStation/INFO version" "90.2.0-11289"
fi
# Prevent Media Server from updating
if [ -d "/var/packages/MediaServer" ]; then
/usr/syno/bin/synosetkeyvalue "/var/packages/MediaServer/INFO" version "20.1.0-3304"
fi
# Prevent Synology Photos from updating
if [ -d "/var/packages/Synology Photos" ]; then
/usr/syno/bin/synosetkeyvalue "/var/packages/Synology Photos/INFO" version "10.6.2-0710"
fi fi

View File

@ -1,6 +1,6 @@
version: 1 version: 1
name: allowdowngrade name: allowdowngrade
description: "Allow Downgrade for AME, SS and VideoStation with DSM 7.2.2" description: "Allow Downgrade for AME, MediaServer, SynoPhotos, SS and VideoStation on DSM 7.2.2"
system: false system: false
beta: false beta: false
target: app target: app