mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-10 17:42:45 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f80aa5b7c | ||
|
|
14ff1e9af6 |
@@ -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":
|
||||
# 站点认证资源
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -1 +1 @@
|
||||
APP_VERSION = 'v1.7.3-1'
|
||||
APP_VERSION = 'v1.7.3-2'
|
||||
|
||||
Reference in New Issue
Block a user