Don't get key when uninstalling

This commit is contained in:
Pat Hartl 2023-11-16 12:04:41 -06:00
parent 8bd422249e
commit 49c4b10cf9

View file

@ -36,8 +36,6 @@ namespace LANCommander.PlaynitePlugin
var manifest = ManifestHelper.Read(Game.InstallDirectory);
var script = new PowerShellScript();
var key = Plugin.LANCommanderClient.GetAllocatedKey(manifest.Id);
script.AddVariable("InstallDirectory", Game.InstallDirectory);
script.AddVariable("GameManifest", manifest);
script.AddVariable("DefaultInstallDirectory", Plugin.Settings.InstallDirectory);