Open unrarc opened 9 months ago
一样
参考 https://github.com/ronggang/transmission-web-control/issues/620#issuecomment-1486710925 目录已经发生改变,需要多一些操作
cd /usr/share/transmission
sudo mv public_html public_html_backup
sudo cp -R web public_htm
刷新浏览器缓存
分2步 1 备份并修改文件夹名 2 修改文件夹所属和权限,然后重新启动Tr就汉化了。
cd /var/packages/transmission/target/share/transmission
sudo mv public_html public_html_backup sudo cp -R web public_html
sudo chown -R sc-transmission:synocommunity public_html sudo chmod -R 700 public_html
太坑了,新版本没有匹配
找到了这个才解决了:
https://gitee.com/amos123/transmission-web-control-fixed
问题描述: transimission更新后,更新TW,然后页面始终停留在官方原始界面,不能切换。
--2023-12-10 02:55:59-- https://api.github.com/repos/ronggang/transmission-web-control/releases/latest Resolving api.github.com... 20.205.243.168 Connecting to api.github.com|20.205.243.168|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/json] Saving to: 'STDOUT'
2023-12-10 02:56:00 (25.6 MB/s) - written to stdout [5886]
<< 2023-12-10 02:56:00 >> == 开始 == << 2023-12-10 02:56:00 >> << 2023-12-10 02:56:00 >> 当前 Transmission Web 目录为: /var/packages/transmission/target/share/transmission/web << 2023-12-10 02:56:00 >> 您正在使用指定版本安装,版本: 1.6.1-update1 << 2023-12-10 02:56:00 >> 正在尝试指定版本 1.6.1-update1 << 2023-12-10 02:56:00 >> 正在下载 Transmission Web Control...
--2023-12-10 02:56:00-- https://github.com/ronggang/transmission-web-control/archive/v1.6.1-update1.tar.gz Resolving github.com... 20.205.243.166 Connecting to github.com|20.205.243.166|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/ronggang/transmission-web-control/tar.gz/refs/tags/v1.6.1-update1 [following] --2023-12-10 02:56:00-- https://codeload.github.com/ronggang/transmission-web-control/tar.gz/refs/tags/v1.6.1-update1 Resolving codeload.github.com... 20.205.243.165 Connecting to codeload.github.com|20.205.243.165|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: 'v1.6.1-update1.tar.gz'
v1.6.1-update1.tar.gz [ <=> ] 1.15M 1.89MB/s in 0.6s
2023-12-10 02:56:02 (1.89 MB/s) - 'v1.6.1-update1.tar.gz' saved [1206252]
<< 2023-12-10 02:56:02 >> 下载完成,正在准备安装... << 2023-12-10 02:56:02 >> 正在解压安装包... << 2023-12-10 02:56:02 >> 正在复制安装包... << 2023-12-10 02:56:02 >> 正在设置权限,大约需要一分钟 ... << 2023-12-10 02:56:05 >> Transmission Web Control 安装完成! << 2023-12-10 02:56:05 >> 正在清理安装包... << 2023-12-10 02:56:05 >> 安装脚本执行完成。如遇到问题请查看:https://github.com/ronggang/transmission-web-control/wiki << 2023-12-10 02:56:05 >> == 结束 ==