Skip to content

Commit

Permalink
fix: twincat doesnt deal with relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
iadonkey committed Jan 26, 2024
1 parent 7915ee3 commit 39b22ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwinpackShared/TwinpackUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public static void InstallPackageVersions(ITcPlcLibraryManager libManager, List<
_logger.Info($"Installing package {packageVersion.Name} ...");

var suffix = packageVersion.Compiled == 1 ? "compiled-library" : "library";
libManager.InstallLibrary("System", $@"{cachePath ?? DefaultLibraryCachePath}\{packageVersion.Target}\{packageVersion.Name}_{packageVersion.Version}.{suffix}", bOverwrite: true);
libManager.InstallLibrary("System", Path.GetFullPath($@"{cachePath ?? DefaultLibraryCachePath}\{packageVersion.Target}\{packageVersion.Name}_{packageVersion.Version}.{suffix}"), bOverwrite: true);
}
}

Expand Down

0 comments on commit 39b22ac

Please sign in to comment.