<commit_before>sudo ln -s "$PWD" /usr/lib/google-music-webkit

<<EOF
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=nw /usr/local/lib/google-music-webkit/index.js
Icon[en_US]=/usr/local/lib/google-music-webkit/lib/icon.png
Name[en_US]=Google Music Webkit
Icon=/usr/local/lib/google-music-webkit/lib/icon.png
Name=Google Music Webkit
Comment=Open Google Music Webkit
EOF<commit_msg>Filled out symlink portion of installer<commit_after># Set up target directory
install_dir="/usr/local/lib/google-music-webkit"

# If we are not installed via symlink, do so
if ! test -d "$install_dir"; then
  sudo ln -s "$PWD" "$install_dir"
# Otherwise, inform the user of the status
else
  echo "Google Music Webkit already symlinked to /usr/local/lib. Continuing with next steps..." 1>&2
fi

# TODO: Overwrite existing desktop
cat <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=nw /usr/local/lib/google-music-webkit/index.js
Icon[en_US]=/usr/local/lib/google-music-webkit/lib/icon.png
Name[en_US]=Google Music Webkit
Icon=/usr/local/lib/google-music-webkit/lib/icon.png
Name=Google Music Webkit
Comment=Open Google Music Webkit
EOF

# TODO: Notify user of completion
{'fraction_non_alphanumeric': 0.12154233025984912, 'fraction_numerical': 0.005029337803855826, 'mean_word_length': 5.091836734693878, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2707744', 'n_tokens_mistral': 428, 'n_tokens_neox': 403, 'n_words': 108}