|
|
@@ -1,12 +1,13 @@
|
|
|
#!/bin/bash
|
|
|
|
|
|
# 创建emby-crx目录并下载所需文件
|
|
|
+rm -rf emby-crx
|
|
|
mkdir -p emby-crx
|
|
|
-wget -N https://raw.githubusercontent.com/Nolovenodie/emby-crx/master/static/css/style.css -P emby-crx/
|
|
|
-wget -N https://raw.githubusercontent.com/Nolovenodie/emby-crx/master/static/js/common-utils.js -P emby-crx/
|
|
|
-wget -N https://raw.githubusercontent.com/Nolovenodie/emby-crx/master/static/js/jquery-3.6.0.min.js -P emby-crx/
|
|
|
-wget -N https://raw.githubusercontent.com/Nolovenodie/emby-crx/master/static/js/md5.min.js -P emby-crx/
|
|
|
-wget -N https://raw.githubusercontent.com/Nolovenodie/emby-crx/master/content/main.js -P emby-crx/
|
|
|
+wget https://raw.githubusercontent.com/Nolovenodie/emby-crx/master/static/css/style.css -P emby-crx/
|
|
|
+wget https://raw.githubusercontent.com/Nolovenodie/emby-crx/master/static/js/common-utils.js -P emby-crx/
|
|
|
+wget https://raw.githubusercontent.com/Nolovenodie/emby-crx/master/static/js/jquery-3.6.0.min.js -P emby-crx/
|
|
|
+wget https://raw.githubusercontent.com/Nolovenodie/emby-crx/master/static/js/md5.min.js -P emby-crx/
|
|
|
+wget https://raw.githubusercontent.com/Nolovenodie/emby-crx/master/content/main.js -P emby-crx/
|
|
|
|
|
|
# 读取index.html文件内容
|
|
|
content=$(cat index.html)
|