parent
a5e5c3d941
commit
7351fe9633
69 changed files with 141 additions and 141 deletions
|
@ -52,9 +52,9 @@ function runningOnLinux()
|
|||
return ((installer.value("os") === "linux") || (installer.value("os") === "x11"));
|
||||
}
|
||||
|
||||
function sleep(miliseconds) {
|
||||
function sleep(milliseconds) {
|
||||
var currentTime = new Date().getTime();
|
||||
while (currentTime + miliseconds >= new Date().getTime()) {}
|
||||
while (currentTime + milliseconds >= new Date().getTime()) {}
|
||||
}
|
||||
|
||||
function raiseInstallerWindow()
|
||||
|
@ -85,13 +85,13 @@ function appProcessIsRunning()
|
|||
}
|
||||
}
|
||||
} else {
|
||||
return checkProccesIsRunning("pgrep -x '" + appName() + "'")
|
||||
return checkProcessIsRunning("pgrep -x '" + appName() + "'")
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function checkProccesIsRunning(arg)
|
||||
function checkProcessIsRunning(arg)
|
||||
{
|
||||
var cmdArgs = ["-c", arg];
|
||||
var result = installer.execute("/bin/bash", cmdArgs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue