<commit_before>#!/bin/bash
#
# Description : Gameboy Advance emulator mgba
# Author      : <NAME> (<EMAIL>)
# Version     : 1.3 (19/Jun/20)
# Compatible  : Raspberry Pi 1 & 2 (¿?), 4 (tested)
#
# HELP        · https://github.com/mgba-emu/mgba/
#
. ../helper.sh || . ./scripts/helper.sh || . ./helper.sh || wget -q 'https://github.com/jmcerrejon/PiKISS/raw/master/scripts/helper.sh'
check_board || { echo "Missing file helper.sh. I've tried to download it for you. Try to run the script again." && exit 1; }
clear

INSTALL_DIR="$HOME/games"
URL_FILE="https://www.dropbox.com/s/wf0ue2y6pvwigkj/mgba_0-90.zip?dl=0"

install() {
    if [[ ! -f "$HOME"/games/gpsp/gpsp ]]; then
        #sudo apt-get install -y libsdl1.2debian libsdl-mixer1.2 libsdl-ttf2.0-0
        mkdir -p "$INSTALL_DIR" && cd "$_"
        wget -4 -qO- -O mgba-0.90.tar.gz "$URL_FILE" && tar -xzf mgba-0.90.tar.gz && rm mgba-0.90.tar.gz
    fi
    echo -e "\nDone!. To play, go to install path and type: ./mgba_full.sh roms/<rom_name>.gba\n"
    read -p "Press [Enter] to continue..."
}

echo -e "Gameboy Advance Emulator (mgba)\n===============================\n\n· More Info: https://github.com/mgba-emu/mgba/\n· Homebrew ROMs included.\n· Install path: $INSTALL_DIR/gpsp\n\nInstalling, please wait..."
install<commit_msg>🐛 FIX: Change binary url<commit_after>#!/bin/bash
#
# Description : Gameboy Advance emulator mgba
# Author      : <NAME> (<EMAIL>)
# Version     : 1.3 (19/Jun/20)
# Compatible  : Raspberry Pi 1 & 2 (¿?), 4 (tested)
#
# HELP        · https://github.com/mgba-emu/mgba/
#
. ../helper.sh || . ./scripts/helper.sh || . ./helper.sh || wget -q 'https://github.com/jmcerrejon/PiKISS/raw/master/scripts/helper.sh'
check_board || { echo "Missing file helper.sh. I've tried to download it for you. Try to run the script again." && exit 1; }
clear

INSTALL_DIR="$HOME/games"
URL_FILE="https://www.dropbox.com/s/r7fuex5dtfpi1u4/mgba_0-90.tar.gz?dl=0"

install() {
    if [[ ! -f "$HOME"/games/gpsp/gpsp ]]; then
        #sudo apt-get install -y libsdl1.2debian libsdl-mixer1.2 libsdl-ttf2.0-0
        mkdir -p "$INSTALL_DIR" && cd "$_"
        wget -4 -qO- -O mgba-0.90.tar.gz "$URL_FILE" && tar -xzf mgba-0.90.tar.gz && rm mgba-0.90.tar.gz
    fi
    echo -e "\nDone!. To play, go to $INSTALL_DIR/mgba path and type: ./mgba_full.sh roms/<rom_name>.gba\n"
    read -p "Press [Enter] to continue..."
}

echo -e "Gameboy Advance Emulator (mgba)\n===============================\n\n· More Info: https://github.com/mgba-emu/mgba/\n· Homebrew ROMs included.\n· Install path: $INSTALL_DIR/gpsp\n\nInstalling, please wait..."
install
{'fraction_non_alphanumeric': 0.20253651037663337, 'fraction_numerical': 0.026518063028439662, 'mean_word_length': 2.9984639016897083, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1958325', 'n_tokens_mistral': 1091, 'n_tokens_neox': 1004, 'n_words': 237}