fix: task directory open (#647)

This commit is contained in:
Levi authored and GitHub committed 2024-08-14 21:21:41 +08:00
1 parent fb1c2cb060
commit e3ccecbd9c
1 file changed
+1 -6
@@ -151,12 +151,7 @@ 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));
}
return path.join(Util.safeDir(meta.opts.path), Util.safeDir(showName));
}
Future<void> explorer() async {