Add win32-specific commands (crash handle, upgrade, global hook)

This commit is contained in:
baldurk
2016-07-12 17:39:24 +02:00
parent 90f6a9da20
commit 5c53e623df
4 changed files with 173 additions and 136 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ namespace renderdocui.Windows.Dialogs
File.Copy(Path.Combine(srcpath, "renderdoccmd.exe"), Path.Combine(dstpath, "renderdoccmd.exe"), true);
var process = new Process();
process.StartInfo = new ProcessStartInfo(Path.Combine(dstpath, "renderdoccmd.exe"), "--update \"" + srcpath.Replace('\\', '/') + "/\"");
process.StartInfo = new ProcessStartInfo(Path.Combine(dstpath, "renderdoccmd.exe"), "upgrade --path \"" + srcpath.Replace('\\', '/') + "/\"");
process.StartInfo.WorkingDirectory = dstpath;
process.StartInfo.Verb = "runas"; // need to run as admin to have write permissions