mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 08:26:50 +00:00
Add win32-specific commands (crash handle, upgrade, global hook)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user