Skip to content

Commit

Permalink
Fix for issue creaktive#30
Browse files Browse the repository at this point in the history
  • Loading branch information
creaktive committed Sep 6, 2016
1 parent 70146f2 commit 379db73
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Changelog for App-rainbarf
1.4 2016-09-06T09:00:00
[Lars Engels <[email protected]>]
- Add battery support for FreeBSD.
[Stanislaw Pusep <[email protected]>]
- Fixed crash on Mac desktop.

1.3 2015-06-22T11:00:00
[Stanislaw Pusep <[email protected]>]
Expand Down
2 changes: 1 addition & 1 deletion META.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Stanislaw Pusep <[email protected]>"
],
"dynamic_config" : 0,
"generated_by" : "Module::Build version 0.4218",
"generated_by" : "Module::Build version 0.422",
"license" : [
"perl_5"
],
Expand Down
2 changes: 1 addition & 1 deletion META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build_requires:
configure_requires:
Module::Build: '0.28'
dynamic_config: 0
generated_by: 'Module::Build version 0.4218, CPAN::Meta::Converter version 2.150010'
generated_by: 'Module::Build version 0.422, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
Expand Down
1 change: 1 addition & 0 deletions rainbarf
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ sub battery_osx {
? (lc chr ord $1 => $2)
: ()
} qx{/usr/sbin/ioreg -n AppleSmartBattery -r};
return () if 5 != keys %battery;

my $time;
if ($battery{f} eq q(No)
Expand Down

0 comments on commit 379db73

Please sign in to comment.