diff --git a/Apewer.Windows/WindowsUtility.cs b/Apewer.Windows/WindowsUtility.cs index 88d1885..270d19d 100644 --- a/Apewer.Windows/WindowsUtility.cs +++ b/Apewer.Windows/WindowsUtility.cs @@ -1059,10 +1059,10 @@ namespace Apewer var wshShortcut = (IWshRuntimeLibrary.IWshShortcut)wshObject; var shortcut = wshShortcut; shortcut.TargetPath = sourcePath ?? ""; - shortcut.Arguments = sourceArgs ?? "arg1"; - shortcut.Description = linkDescription ?? "Invalid Description"; + shortcut.Arguments = sourceArgs ?? ""; + shortcut.Description = linkDescription ?? ""; shortcut.WorkingDirectory = directory ?? ""; - shortcut.IconLocation = linkIcon; + shortcut.IconLocation = linkIcon ?? sourcePath; shortcut.WindowStyle = 1; // shortcut.WorkingDirectory = ""; // shortcut.RelativePath = "";