Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可否增加filestation、drive等登陆页面同步于DSM登录的图片? #29

Open
sclodestar opened this issue Apr 13, 2023 · 3 comments

Comments

@sclodestar
Copy link

RT,既然改了登录图,那就把DSM应用程序的登录图也改了吧?

谢谢大佬支持

@TinyQiang
Copy link

TinyQiang commented Mar 15, 2024

将这段加在代码的最后,然后根据需要把对应程序名前面的#去掉。如果没起作用,先将程序登录界面随便自定义一个背景再试。

#修改应用程序登录壁纸,需要修的的就把这里对应的程序名前的#去掉
#AudioStation=yes
#DownloadStation=yes
#FileStation=yes
#SynologyDrive=yes
#SynologyPhotos=yes
#VideoStation=yes

#以下部分不要修改

#修改应用程序登录壁纸
#AudioStation
if [ "$AudioStation" == "yes" ]
then echo "[x]Applying user AudioStation wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.SDS.AudioStation.Application_login_background.jpg
fi

#修改应用程序登录壁纸
#DownloadStation
if [ "$DownloadStation" == "yes" ]
then echo "[x]Applying user DownloadStation wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.SDS.DownloadStation.Application_login_background.jpg
fi

#修改应用程序登录壁纸
#FileStation
if [ "$FileStation" == "yes" ]
then echo "[x]Applying user FileStation wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.SDS.App.FileStation3.Instance_login_background.jpg
fi

#修改应用程序登录壁纸
#SynologyDrive
if [ "$SynologyDrive" == "yes" ]
then echo "[x]Applying user SynologyDrive wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.SDS.SheetStation.Application_login_background.jpg
fi

#修改应用程序登录壁纸
#SynologyPhotos
if [ "$SynologyPhotos" == "yes" ]
then echo "[x]Applying user SynologyPhotos wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.Foto.AppInstance_login_background.jpg
fi

#修改应用程序登录壁纸
#VideoStation
if [ "$VideoStation" == "yes" ]
then echo "[x]Applying user VideoStation wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.SDS.VideoStation.AppInstance_login_background.jpg
fi

@sclodestar
Copy link
Author

谢谢大佬的答复,知道怎么整了,我操作下,有问题我再来反馈

@TinyQiang
Copy link

将这段加在代码的最后,然后根据需要把对应程序名前面的#去掉。如果没起作用,先将程序登录界面随便自定义一个背景再试。

#修改应用程序登录壁纸,需要修的的就把这里对应的程序名前的#去掉
#AudioStation=yes
#DownloadStation=yes
#FileStation=yes
#SynologyDrive=yes
#SynologyPhotos=yes
#VideoStation=yes

#以下部分不要修改

#修改应用程序登录壁纸
#AudioStation
if [ "$AudioStation" == "yes" ]
then echo "[x]Applying user AudioStation wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.SDS.AudioStation.Application_login_background.jpg
fi

#修改应用程序登录壁纸
#DownloadStation
if [ "$DownloadStation" == "yes" ]
then echo "[x]Applying user DownloadStation wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.SDS.DownloadStation.Application_login_background.jpg
fi

#修改应用程序登录壁纸
#FileStation
if [ "$FileStation" == "yes" ]
then echo "[x]Applying user FileStation wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.SDS.App.FileStation3.Instance_login_background.jpg
fi

#修改应用程序登录壁纸
#SynologyDrive
if [ "$SynologyDrive" == "yes" ]
then echo "[x]Applying user SynologyDrive wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.SDS.SheetStation.Application_login_background.jpg
fi

#修改应用程序登录壁纸
#SynologyPhotos
if [ "$SynologyPhotos" == "yes" ]
then echo "[x]Applying user SynologyPhotos wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.Foto.AppInstance_login_background.jpg
fi

#修改应用程序登录壁纸
#VideoStation
if [ "$VideoStation" == "yes" ]
then echo "[x]Applying user VideoStation wallpaper..."
cp -f /usr/syno/etc/login_background.jpg /usr/syno/etc/SYNO.SDS.VideoStation.AppInstance_login_background.jpg
fi

刚才最下面一个VideoStation变量名写错了,复制过来忘了改。现在更正了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants