Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #37 from cybertunnel/feature/ManagementTools
Browse files Browse the repository at this point in the history
Fixed few bugs
  • Loading branch information
cybertunnel authored Jun 18, 2019
2 parents e518bbd + 5cb0bc9 commit 8b12040
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Tools/removeLoanPeriod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@
# This script will reset the loan period that has been set on the machine.
#####################

$find="/usr/bin/find"
find="/usr/bin/find"
killall="/usr/bin/killall"

$find /Users/ -name "com.github.cybertunnel.LoanShark.plist" -delete
app_name="LoanShark"

$find /Users/ -name "com.github.cybertunnel.LoanShark.plist" -delete 2> /dev/null

$killall "${app_name}"

exit 0

0 comments on commit 8b12040

Please sign in to comment.