Skip to content

Commit 6ac4d2f

Browse files
committed
Reverted from debug.
1 parent b6433a6 commit 6ac4d2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Save In Companion/MenuEntry.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private void CreateSymbolicLink(string linkPath, string realPath)
143143
{
144144
Process process = new Process();
145145
ProcessStartInfo startInfo = new ProcessStartInfo();
146-
//startInfo.WindowStyle = ProcessWindowStyle.Hidden;
146+
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
147147

148148
if (Environment.OSVersion.Platform == PlatformID.Unix || Environment.OSVersion.Platform == PlatformID.MacOSX)
149149
{
@@ -159,7 +159,7 @@ private void CreateSymbolicLink(string linkPath, string realPath)
159159
if (IsUserAnAdmin()) linktype = "D";
160160
else linktype = "J";
161161

162-
startInfo.Arguments = string.Format(@"/K mklink /{0} ""{1}"" ""{2}""", linktype, linkPath, realPath);
162+
startInfo.Arguments = string.Format(@"/C mklink /{0} ""{1}"" ""{2}""", linktype, linkPath, realPath);
163163
}
164164

165165
process.StartInfo = startInfo;

0 commit comments

Comments
 (0)