Files
op-packages/.github/diy/patches/transmission-web-control.patch
T

48 lines
2.5 KiB
Diff

--- a/transmission-web-control/Makefile
+++ b/transmission-web-control/Makefile
@@ -4,10 +4,10 @@ PKG_NAME:=transmission-web-control
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/ronggang/transmission-web-control
-PKG_SOURCE_DATE:=2024-04-08
-PKG_SOURCE_VERSION:=f02a47aff2680de10c2269e22a3d0b37a318dbcd
-PKG_MIRROR_HASH:=05e7422744dd3a23af58a3be6774b06ce7f2539b090aa0bb0dd1732e72267721
+PKG_SOURCE_URL:=https://github.com/Youngv/transmission-web-control
+PKG_SOURCE_DATE:=2026-04-10
+PKG_SOURCE_VERSION:=ea23f2fdbb554bd65f25921b15b250f42d7e72ee
+PKG_MIRROR_HASH:=skip
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
deleted file mode 100644
index a885498523a..00000000000
--- a/transmission-web-control/patches/001-remove-ui-original-link.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/src/index.html
-+++ b/src/index.html
-@@ -66,11 +66,6 @@
- data-options="iconCls:'icon-mobile',plain:true" system-tip-lang="toolbar.tip['ui-mobile']"><span
- system-lang="toolbar['ui-mobile']"></span></a>
- <span class="button-split">|</span>
-- <!-- 切换到原版 -->
-- <a id="" href="javascript:location.href = 'index.original.html';" class="easyui-linkbutton"
-- data-options="iconCls:'icon-transmission',plain:true" system-tip-lang="toolbar.tip['ui-original']"><span
-- system-lang="toolbar['ui-original']"></span></a>
-- <span class="button-split">|</span>
- <!-- 关于 -->
- <a id="toolbar_about" href="javascript:void(0);"
- onclick="javascript:system.openDialogFromTemplate({id: 'dialog-about',options: {title: system.lang.toolbar['about'],width: 420,height: 370}});"
---- a/src/index.mobile.html
-+++ b/src/index.mobile.html
-@@ -69,7 +69,6 @@
- <ul data-role="listview" data-divider-theme="a" data-theme="c" data-icon="false" style="margin-top:15px;">
- <li data-role='list-divider'>UI</li>
- <li><a href="#" onclick="location.href = 'index.html?devicetype=computer';"><img src="tr-web-control/style/images/computer.png" class="ui-li-icon"/><span system-lang="toolbar['ui-computer']"></span></a></li>
-- <li><a href="#" onclick="location.href = 'index.original.html';"><img src="tr-web-control/style/images/transmission.png" class="ui-li-icon"/><span system-lang="toolbar['ui-original']"></span></a></li>
- </ul>
- <ul data-role="listview" data-divider-theme="a" data-theme="c" data-icon="false" style="margin-top:15px;">
- <li data-role='list-divider'><span system-lang="title.status"></span></li>