Spelling fixed
This commit is contained in:
Josh Soref 2023-04-11 09:50:44 -04:00 committed by GitHub
parent a5e5c3d941
commit 7351fe9633
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
69 changed files with 141 additions and 141 deletions

View file

@ -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);