This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Back up Ubooquity.jar just in case... | |
echo "Backing up 'Ubooquity.jar' to 'Ubooquity.original.jar' just in case..." | |
cp Ubooquity.jar Ubooquity.original.jar | |
## Extract comicreader.js from Ubooquity.jar | |
echo "Extracting 'comicreader.js' from 'Ubooquity.jar'" | |
unzip -q Ubooquity.jar comicreader/comicreader.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Simple python script to install latest retroarch cores from buildbot | |
#To use this script, edit the settings below and from the command line, call python "...path_to_file/download_buildbot_cores.py" | |
## Script settings | |
#Buidbot URL for your system | |
buildbot_url = 'http://buildbot.libretro.com/nightly/apple/osx/x86_64/latest/' | |
#Temporary directory to download files to, you must have write access to this directory | |
temp_directory = '/Users/enter_username_here/Downloads/temp_cores' | |
delete_temp_directory_after_complete = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# github.com/cpinkus | |
update_core() | |
{ | |
path="$1" | |
corename="$(basename $path)" | |
timestamp_old="$(grep $corename $cores_path/.timestamps.old)" | |
timestamp_new="$(grep $corename $cores_path/.timestamps.new)" | |
if [[ "$timestamp_new" == "$timestamp_old" ]] |