mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
changed tasklist | findstr на tasklist
This commit is contained in:
@@ -76,9 +76,7 @@ function raiseInstallerWindow()
|
||||
function appProcessIsRunning()
|
||||
{
|
||||
if (runningOnWindows()) {
|
||||
var cmdArgs = ["| findstr " + appExecutableFileName()];
|
||||
var result = installer.execute("tasklist", cmdArgs);
|
||||
|
||||
var result = installer.execute("tasklist");
|
||||
if ( Number(result[1]) === 0 ) {
|
||||
if (result[0].indexOf(appExecutableFileName()) !== -1) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user