- Watchtower Library App For Mac Download
- Watchtower Library App For Kindle
- Watchtower Library App For Macbook Pro
Run script for Watchtower Library on Mac using Wine.
JW LIBRARY is an official app produced by Jehovah’s Witnesses. It includes multiple Bible translations, as well as books and brochures for Bible study. Bible. Choose from various Bible translations. Compare all JW LIBRARY is an official app produced by Jehovah’s Witnesses. Watchtower library mac free download. Pygame Pygame is a Free and Open Source python programming language library for making multimedia applicati. Watchtower Library is a collection of Bibles and publications of Jehovah’s Witnesses. It includes the Bible encyclopedia Insight on the Scriptures, books, brochures, tracts, and magazines. It also includes helpful research tools, such as the Watch Tower Publications Index and the Research Guide for Jehovah’s Witnesses.
Watchtower Library App For Mac Download
WatchtowerLibrary-run.sh
Watchtower Library App For Kindle
#!/bin/bash |
# Get the path to this script and its containing directory. |
app_script_path=$0 |
app_script_dir_path=$(dirname '$app_script_path') |
# Get the correct username under which the wine files were added. |
username_path='$app_script_dir_path/username' |
if [ !-f'$username_path' ];then |
username=$(whoami) |
echo'$username'>'$username_path' |
else |
username=$(cat '$username_path') |
fi |
# Make sure that wtl_paths will be correctly split on newlines instead of spaces. |
IFS=$'n' |
# Get the local path to the 'Wine Files' directory and the Windows path to 'WTLibrary.exe'. |
wine_files_path='/Users/$username/.wine' |
if [ -a'$wine_files_path' ];then |
drive_c_path='$wine_files_path/drive_c' |
wtl_paths=($(find '$drive_c_path/Program Files/Watchtower' -iname WTLibrary.exe 2>/dev/null)) |
fi |
if [ !-f'$wtl_paths' ];then |
wine_files_path='/Users/$username/Wine Files' |
if [ -a'$wine_files_path' ];then |
drive_c_path='$wine_files_path/drive_c' |
wtl_paths=($(find '$drive_c_path/Program Files/Watchtower' -iname WTLibrary.exe 2>/dev/null)) |
fi |
fi |
# Done working with the internal field separator. |
unset IFS |
if [ '${#wtl_paths[@]}'-gt'1' ];then |
forwtl_pathin'${wtl_paths[@]}';do |
msg='Would you like to open '$wtl_path'?' |
resp=$(osascript -e 'tell app 'System Events' to display dialog '$msg' buttons {'Yes','No'}') |
if [[ $resp*:Yes* ]];then |
break |
fi |
unset wtl_path |
done |
elif [ '${#wtl_paths[@]}'-eq'1' ];then |
wtl_path=${wtl_paths[0]} |
fi |
if [ -f'$wtl_path' ];then |
back_slash='' |
forward_slash='/' |
c_wtl_path=${wtl_path/$drive_c_path/'C:'} |
c_wtl_path=${c_wtl_path//$forward_slash/$back_slash} |
# # Run WTLibrary.exe using Wine. |
export WINEPREFIX='$wine_files_path/' |
/Applications/Wine.app/Contents/Resources/bin/wine '$wtl_path' |
else |
msg='Unfortunately WTLibrary couldn't be found. Please make sure it is installed using Wine before trying again.' |
osascript -e 'tell app 'System Events' to display dialog '$msg' buttons {'OK'}' |
fi |
Watchtower Library App For Macbook Pro
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment