Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfgang Baird committed Feb 1, 2015
1 parent 3fccb15 commit 028d8da
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 8 additions & 7 deletions main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,14 @@ Support for systems below Yosemite is currently unknown.[return][return]\
How to use:[return][return]\
• Select your desired Boot Color and press Apply[return]\
• Enter your password and press OK[return]\
• Reboot twice for changes to take effect[return][return]\
How to use command line:[return][return]\
• The following options are available:[return][return]\
-c Must be folowed by boot color -- black, grey, or default[return][return]\
-l Login Item must be folowed by -- yes or no[return][return]\
• /Dark Boot.app/Contents/Resource/script -c black -l yes
• Reboot twice for changes to take effect
# [return][return]\
# How to use command line:[return][return]\
# • The following options are available:[return][return]\
# -c Boot color - black, grey, or default[return][return]\
# -l Enable login item - yes or no[return][return]\
# • /Dark Boot.app/Contents/Resource/script -c black -l yes
tb0.type = text
tb0.height = 0
Expand Down
2 changes: 1 addition & 1 deletion resource/dBoot Agent.app/Contents/Resources/script
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ app_dir="$HOME/Library/Application Support/dBoot"
my_plist="$HOME/Library/Preferences/org.w0lf.dBoot.plist"
dboot_efi="$pashua_directory"/boot.efi
curver=$($PlistBuddy "Print CFBundleShortVersionString" "$info_directory"/info.plist)
boot_color=$($PlistBUddy "Print color" "$my_plist" || echo -n "default")
boot_color=$($PlistBuddy "Print color" "$my_plist" || echo -n "default")
cur_efi=$(check_efi)

if [[ $cur_efi != $boot_color ]]; then
Expand Down

0 comments on commit 028d8da

Please sign in to comment.