Skip to content
Snippets Groups Projects
Commit 9db82d57 authored by MaxED's avatar MaxED
Browse files

Fixed, updater: fixed "Unable to locate updater.ini" error when the editor was...

Fixed, updater: fixed "Unable to locate updater.ini" error when the editor was launched using "Open with..." shell command.
parent 9e2e2221
No related branches found
No related tags found
No related merge requests found
...@@ -1028,7 +1028,9 @@ namespace CodeImp.DoomBuilder ...@@ -1028,7 +1028,9 @@ namespace CodeImp.DoomBuilder
if(PendingUpdateRev != 0) if(PendingUpdateRev != 0)
{ {
General.WriteLogLine("Initiating update to R" + PendingUpdateRev + "..."); General.WriteLogLine("Initiating update to R" + PendingUpdateRev + "...");
Process.Start(Path.Combine(apppath, "Updater.exe"), "-rev " + PendingUpdateRev);
// Working directory must be set
Process.Start(new ProcessStartInfo { WorkingDirectory = apppath, FileName = "Updater.exe", Arguments = "-rev " + PendingUpdateRev } );
} }
// Application ends here and now // Application ends here and now
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment