Skip to content

Commit

Permalink
Merge pull request #75 from mertcelen/1.1-dev
Browse files Browse the repository at this point in the history
Windows Server crash fixed.
  • Loading branch information
mertcelen authored Jul 2, 2020
2 parents 9ddb2bf + 02ae74f commit 38521aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions app/Models/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,10 @@ public function getVersion()
if ($this->isLinux()) {
return $this->run("lsb_release -ds");
}

return explode(
"|",
$this->run("(Get-WmiObject Win32_OperatingSystem).name")[0]
);
$this->run("(Get-WmiObject Win32_OperatingSystem).name")
)[0];
}

public function getHostname()
Expand Down
2 changes: 1 addition & 1 deletion storage/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.6
1.1.6a
Binary file modified storage/connector
Binary file not shown.

0 comments on commit 38521aa

Please sign in to comment.