remove quotation marks

This commit is contained in:
seraphima
2024-06-12 21:47:31 +02:00
parent 3cc3701465
commit 6bfe924234

View File

@@ -147,7 +147,7 @@ namespace ProjectsEditor.ViewModels
IWshRuntimeLibrary.IWshShortcut shortcut = (IWshRuntimeLibrary.IWshShortcut)shell.CreateShortcut(shortcutAddress);
shortcut.Description = $"Project Launcher {project.Id}";
shortcut.TargetPath = Path.Combine(basePath, "PowerToys.ProjectsLauncher.exe");
shortcut.Arguments = '"' + project.Id + '"';
shortcut.Arguments = project.Id;
shortcut.WorkingDirectory = basePath;
shortcut.IconLocation = shortcutIconFilename;
shortcut.Save();