瀏覽代碼

treewide: update repo link

Signed-off-by: CN_SZTL <[email protected]>
CN_SZTL 4 年之前
父節點
當前提交
ebbadef632

+ 8 - 6
Makefile

@@ -1,20 +1,22 @@
-# Copyright (C) 2016 Openwrt.org
 #
-# This is a free software, use it under GNU General Public License v3.0.
+# Copyright (C) 2021 ImmortalWrt
+# (https://project-openwrt.eu.org)
+#
+# This is free software, licensed under the GNU General Public License v3.
+# See /LICENSE for more information.
 #
-# Created By [CTCGFW]Project-OpenWrt
-# https://github.com/project-openwrt
 
 include $(TOPDIR)/rules.mk
 
 LUCI_TITLE:=LuCI support for UnblockNeteaseMusic
 LUCI_DEPENDS:=+bash +busybox +coreutils +coreutils-nohup +curl +dnsmasq-full +ipset +libopenssl +node
 LUCI_PKGARCH:=all
+
 PKG_NAME:=luci-app-unblockneteasemusic
 PKG_VERSION:=2.8
-PKG_RELEASE:=8
+PKG_RELEASE:=9
 
-PKG_MAINTAINER:=[CTCGFW]Project-OpenWrt
+PKG_MAINTAINER:=CN_SZTL <[email protected]>
 
 include $(TOPDIR)/feeds/luci/luci.mk
 

+ 2 - 2
README.md

@@ -23,7 +23,7 @@
     #进入OpenWrt源码package目录
     cd package
     #克隆插件源码
-    git clone https://github.com/project-openwrt/luci-app-unblockneteasemusic.git
+    git clone https://github.com/immortalwrt/luci-app-unblockneteasemusic.git
     #返回上一层目录
     cd ..
     #配置
@@ -54,7 +54,7 @@
   ![Image text](https://raw.githubusercontent.com/project-openwrt/luci-app-unblockneteasemusic/master/views/view4.jpg)
 
 ## 协议
-### 本项目使用[GPLv3.0](https://github.com/project-openwrt/luci-app-unblockneteasemusic/blob/master/LICENSE)协议授权,在遵循此协议的前提下,你可以自由修改和分发
+### 本项目使用[GPLv3.0](https://github.com/immortalwrt/luci-app-unblockneteasemusic/blob/master/LICENSE)协议授权,在遵循此协议的前提下,你可以自由修改和分发
 #### 总而言之,根据协议,你可以:
 - ##### 仅自己使用,在不重新分发的情况下,没有任何限制
 - ##### 不修改源代码并重新分发,需要在明显的地方标注本项目源码地址,并沿用GPLv3.0协议

+ 3 - 3
luasrc/controller/unblockneteasemusic.lua

@@ -1,6 +1,6 @@
 -- This is a free software, use it under GNU General Public License v3.0.
--- Created By [CTCGFW]Project OpenWRT
--- https://github.com/project-openwrt
+-- Created By ImmortalWrt
+-- https://github.com/immortalwrt
 
 module("luci.controller.unblockneteasemusic", package.seeall)
 
@@ -28,7 +28,7 @@ function act_status()
 end
 
 function update_luci()
-	luci_cloud_ver=luci.sys.exec("curl -s 'https://github.com/project-openwrt/luci-app-unblockneteasemusic/releases/latest'| grep -Eo '[0-9\.]+\-[0-9]+'")
+	luci_cloud_ver=luci.sys.exec("curl -s 'https://github.com/immortalwrt/luci-app-unblockneteasemusic/releases/latest'| grep -Eo '[0-9\.]+\-[0-9]+'")
 	if not luci_cloud_ver then
 		return "1"
 	else

+ 1 - 1
luasrc/model/cbi/unblockneteasemusic/unblockneteasemusic.lua

@@ -1,5 +1,5 @@
 mp = Map("unblockneteasemusic", translate("解除网易云音乐播放限制"))
-mp.description = translate("原理:采用 [QQ/虾米/百度/酷狗/酷我/咪咕/JOOX] 等音源,替换网易云音乐 无版权/收费 歌曲链接<br/>具体使用方法参见:https://github.com/project-openwrt/luci-app-unblockneteasemusic")
+mp.description = translate("原理:采用 [QQ/虾米/百度/酷狗/酷我/咪咕/JOOX] 等音源,替换网易云音乐 无版权/收费 歌曲链接<br/>具体使用方法参见:https://github.com/immortalwrt/luci-app-unblockneteasemusic")
 
 mp:section(SimpleSection).template = "unblockneteasemusic/unblockneteasemusic_status"
 

+ 2 - 2
root/etc/init.d/unblockneteasemusic

@@ -1,6 +1,6 @@
 #!/bin/sh /etc/rc.common
-# Created By [CTCGFW]Project OpenWRT
-# https://github.com/project-openwrt
+# Created By ImmortalWrt
+# https://github.com/immortalwrt
 
 START=92
 STOP=10

+ 2 - 2
root/usr/share/unblockneteasemusic/gen_qq_provider.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
-# Created By [CTCGFW]Project OpenWRT
-# https://github.com/project-openwrt
+# Created By ImmortalWrt
+# https://github.com/immortalwrt
 
 header="const cache = require('../cache')
 const insure = require('./insure')

+ 2 - 2
root/usr/share/unblockneteasemusic/log_check.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
-# Created By [CTCGFW]Project OpenWRT
-# https://github.com/project-openwrt
+# Created By ImmortalWrt
+# https://github.com/immortalwrt
 
 NAME="unblockneteasemusic"
 

+ 4 - 4
root/usr/share/unblockneteasemusic/update.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
-# Created By [CTCGFW]Project OpenWRT
-# https://github.com/project-openwrt
+# Created By ImmortalWrt
+# https://github.com/immortalwrt
 
 NAME="unblockneteasemusic"
 
@@ -19,7 +19,7 @@ function clean_log(){
 }
 
 function check_luci_latest_version(){
-	luci_latest_ver="$(curl -s 'https://github.com/project-openwrt/luci-app-unblockneteasemusic/releases/latest'| grep -Eo '[0-9\.]+\-[0-9]+')"
+	luci_latest_ver="$(curl -s 'https://github.com/immortalwrt/luci-app-unblockneteasemusic/releases/latest'| grep -Eo '[0-9\.]+\-[0-9]+')"
 	[ -z "${luci_latest_ver}" ] && { echo -e "\nFailed to check latest LuCI version, please try again later." >> "/tmp/$NAME.log"; exit 1; }
 	if [ "$(opkg info "luci-app-unblockneteasemusic" |sed -n "2p" |tr -d "Version: ")" != "${luci_latest_ver}" ]; then
 		clean_log
@@ -37,7 +37,7 @@ function update_luci(){
 
 	mkdir -p "/tmp" > "/dev/null" 2>&1
 
-	curl -sL "https://github.com/project-openwrt/luci-app-unblockneteasemusic/releases/download/v${luci_latest_ver}/luci-app-unblockneteasemusic_${luci_latest_ver}_all.ipk" -o "/tmp/luci-app-unblockneteasemusic_${luci_latest_ver}_all.ipk" > "/dev/null" 2>&1
+	curl -sL "https://github.com/immortalwrt/luci-app-unblockneteasemusic/releases/download/v${luci_latest_ver}/luci-app-unblockneteasemusic_${luci_latest_ver}_all.ipk" -o "/tmp/luci-app-unblockneteasemusic_${luci_latest_ver}_all.ipk" > "/dev/null" 2>&1
 	opkg install "/tmp/luci-app-unblockneteasemusic_${luci_latest_ver}_all.ipk"
 	rm -f "/tmp/luci-app-unblockneteasemusic_${luci_latest_ver}_all.ipk"
 	rm -rf "/tmp/luci-indexcache" "/tmp/luci-modulecache"