Skip to content

Commit

Permalink
1.1-dev
Browse files Browse the repository at this point in the history
[Change] Disable WMIC cache
[Add] Windows::getBatteryTimeRemaining()
[Add] Windows::getBatteryPercent()
[Add] Windows::getBatteryVoltage()
[Add] Windows::isBatteryCharging()
[Add] Windows::setBrightnessLevel()
[Add] Windows::getBrightnessLevel()
[Add] Windows::setVolumeLevel()
[Add] Windows::getVolumeLevel()
[Add] Windows::setMute()
[Add] Windows::getMute()
  • Loading branch information
TsSaltan committed Feb 10, 2017
1 parent 042214a commit 4b99541
Show file tree
Hide file tree
Showing 5 changed files with 300 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static function titleExists($title){

private static function exec($filter = false){
// cp изменит вывод на английский язык
$list = WSH::cmd('chcp 65001 | tasklist /V /FO CSV /NH' . ($filter === false ? '' : ' /FI ":filter"'), ['filter' => $filter], false, 'utf-8');
$list = WSH::cmd('chcp 65001 | tasklist /V /FO CSV /NH' . ($filter === false ? '' : ' /FI ":filter"'), ['filter' => $filter], 'utf-8');
return self::parseAnswer($list);
}

Expand Down
Loading

0 comments on commit 4b99541

Please sign in to comment.