Compare commits

..

2 Commits

Author SHA1 Message Date
jxxghp
5f80aa5b7c - 豆瓣订阅及本地CookieCloud服务问题修复 2024-03-17 15:12:24 +08:00
jxxghp
14ff1e9af6 fix resource 2024-03-17 15:09:10 +08:00
3 changed files with 3 additions and 5 deletions

View File

@@ -57,10 +57,6 @@ class ResourceHelper(metaclass=Singleton):
# 判断平台
if platform and platform != SystemUtils.platform():
continue
# 判断本地是否存在
local_path = self._base_dir / target / rname
if not local_path.exists():
continue
# 判断版本号
if rtype == "auth":
# 站点认证资源

View File

@@ -437,6 +437,8 @@ class SystemUtils:
"""
执行Docker重启操作
"""
if not SystemUtils.is_docker():
return False, "非Docker环境无法重启"
try:
# 创建 Docker 客户端
client = docker.DockerClient(base_url='tcp://127.0.0.1:38379')

View File

@@ -1 +1 @@
APP_VERSION = 'v1.7.3-1'
APP_VERSION = 'v1.7.3-2'