StatusBar - Fix bug check engine file path.
This commit is contained in:
parent
bf9a89f8c5
commit
9e9875123d
|
@ -41,9 +41,9 @@ namespace AIParkingApplication
|
|||
|
||||
if (Process.GetProcessesByName("tmux").Length == 0)
|
||||
{
|
||||
if (File.Exists(engineFilePath))
|
||||
string engineBatFilePath = Application.StartupPath + engineFilePath;
|
||||
if (File.Exists(engineBatFilePath))
|
||||
{
|
||||
string engineBatFilePath = Application.StartupPath + engineFilePath;
|
||||
Util.ExecuteCommand(engineBatFilePath);
|
||||
lblEngineStatus.UpdateLabel("DỪNG HOẠT ĐỘNG", Color.Red);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user