Skip to content

Commit

Permalink
v1.0.9
Browse files Browse the repository at this point in the history
adapt edit
fix var env
  • Loading branch information
Spishous committed Apr 3, 2022
1 parent a3c797d commit 5f167a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spish.pha
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ class command extends gitInfo{
usleep(100);
$r = fread($handle, 2096);
$sysPath=trim(explode(" ",$r)[3]??"");
if($sysPath[strlen($sysPath)-1]!==";") $sysPath .= ";";
pclose($handle);
if(!str_contains($sysPath, CLIDIR."\;")&&!str_contains(exec('echo %path%'), CLIDIR."\;")){
$sysPath.=CLIDIR."\;";
Expand Down

0 comments on commit 5f167a5

Please sign in to comment.