mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-19 23:03:43 +00:00
fix: task directory open (#647)
This commit is contained in:
1 file changed
-5
@@ -151,13 +151,8 @@ extension TaskEnhance on Task {
|
||||
}
|
||||
|
||||
String get explorerUrl {
|
||||
if (isFolder) {
|
||||
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 {
|
||||
if (Util.isDesktop()) {
|
||||
|
||||
Reference in new issue
Block a user