Skip to content

Commit

Permalink
fix bug from ce7d5ed
Browse files Browse the repository at this point in the history
yes of course i didn't even run it, what did you expect??
  • Loading branch information
TheLastGimbus committed Sep 12, 2023
1 parent ce7d5ed commit 1760493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/moving.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Future<File> createShortcut(Directory location, File target) async {
final link = findNotExistingName(File(p.join(location.path, name)));
// this must be relative to not break when user moves whole folder around:
// https://github.com/TheLastGimbus/GooglePhotosTakeoutHelper/issues/232
final targetRelativePath = p.relative(target.path, from: link.path);
final targetRelativePath = p.relative(target.path, from: link.parent.path);
if (Platform.isWindows) {
final res = await Process.run(
'powershell.exe',
Expand Down

0 comments on commit 1760493

Please sign in to comment.