mirror of
https://github.com/EpicMorg/UniversalValveToolbox.git
synced 2024-12-27 07:05:29 +03:00
holly fix of EpicMorg/UniversalValveToolbox#5
This commit is contained in:
parent
174f7baa16
commit
d14feb1112
@ -327,7 +327,7 @@ namespace UniversalValveToolbox {
|
|||||||
var toolPath = Path.Combine(selectedEnginePath, selectedTool.Bin);
|
var toolPath = Path.Combine(selectedEnginePath, selectedTool.Bin);
|
||||||
|
|
||||||
if (File.Exists(toolPath))
|
if (File.Exists(toolPath))
|
||||||
Process.Start(toolPath, $"{selectedTool.Args} -game \"{SelectedProject.Path}\"");
|
Process.Start(toolPath, $"{selectedTool.Args} -game \"{SelectedProject?.Path ?? ""}\"");
|
||||||
else
|
else
|
||||||
MessageBox.Show($"\"{selectedTool.Name}\" no found.\n{toolPath}", "Message", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
MessageBox.Show($"\"{selectedTool.Name}\" no found.\n{toolPath}", "Message", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user