Skip to content

Commit

Permalink
fix: fix sym link test
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Apr 13, 2024
1 parent c837b8e commit ef8e981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shokofin/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer,
try {
if (!Directory.Exists(Path.GetDirectoryName(VirtualRoot)!))
Directory.CreateDirectory(Path.GetDirectoryName(VirtualRoot)!);
File.Create(target);
File.WriteAllText(target, "");
File.CreateSymbolicLink(link, target);
}
catch {
Expand Down

0 comments on commit ef8e981

Please sign in to comment.