forked from nikleechan/eb1-script
-
Notifications
You must be signed in to change notification settings - Fork 0
/
emby-happy.sh
30 lines (23 loc) · 1.17 KB
/
emby-happy.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
read -p "本脚本适用于emby群辉4.7.14.0版本,确认是否安装?,请输入1安装,退出请输入0: " para
if [ $para == "1" ]
then
echo "----------------继续----------------"
else
echo "----------------退出----------------"
exit
fi
wget --no-check-certificate https://raw.githubusercontent.com/cantoblanco/eb1-script/main/emby-happy.tar
tar -xf emby-happy.tar
cp ./emby-happy/Emby.Web.dll /var/packages/EmbyServer/target/system/Emby.Web.dll
cp ./emby-happy/connectionmanager.js /var/packages/EmbyServer/target/system/dashboard-ui/modules/emby-apiclient/connectionmanager.js
cp ./emby-happy/embypremiere.js /var/packages/EmbyServer/target/system/dashboard-ui/embypremiere/embypremiere.js
cp ./emby-happy/Emby.Server.Implementations.dll /var/packages/EmbyServer/target/system/Emby.Server.Implementations.dll
rm -rf emby-happy.tar
rm -rf ./emby-happy/connectionmanager.js
rm -rf ./emby-happy/Emby.Server.Implementations.dll
rm -rf ./emby-happy/Emby.Web.dll
rm -rf ./emby-happy/embypremiere.js
rm -rf emby-happy.sh
echo "-------------------全部完成-------------------"
echo "运行后重启套件,清除浏览器缓存,填写任意激活码."