mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-18 06:13:42 +00:00
fix: task directory open (#647)
This commit is contained in:
1 file changed
+1
-6
@@ -151,12 +151,7 @@ extension TaskEnhance on Task {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String get explorerUrl {
|
String get explorerUrl {
|
||||||
if (isFolder) {
|
return path.join(Util.safeDir(meta.opts.path), Util.safeDir(showName));
|
||||||
return path.join(Util.safeDir(meta.opts.path),
|
|
||||||
Util.safeDir(meta.res!.files[0].path), showName);
|
|
||||||
} else {
|
|
||||||
return path.join(Util.safeDir(meta.opts.path), Util.safeDir(showName));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> explorer() async {
|
Future<void> explorer() async {
|
||||||
|
|||||||
Reference in new issue
Block a user