<commit_before>#!/usr/bin/env bash
# Set up target directory
install_dir="/usr/local/lib/kindle-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

# Overwrite existing Google Music Webkit application
applications_dir="$HOME/.local/share/applications"
mkdir -p "$applications_dir"
cat > "$applications_dir/kindle-webkit.desktop" <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=nw $install_dir/
Icon[en_US]=$install_dir/lib/icon.png
Name[en_US]=Kindle Webkit
Icon=$install_dir/lib/icon.png
Name=Kindle Webkit
Comment=Open Kindle Webkit
EOF

# Notify user of completion
echo "Google Music Webkit successfully installed!"<commit_msg>Fixed missing icons<commit_after>#!/usr/bin/env bash
# Set up target directory
install_dir="/usr/local/lib/kindle-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

# Overwrite existing Google Music Webkit application
applications_dir="$HOME/.local/share/applications"
mkdir -p "$applications_dir"
cat > "$applications_dir/kindle-webkit.desktop" <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=nw $install_dir/
Name[en_US]=Kindle Webkit
Name=Kindle Webkit
Comment=Open Kindle Webkit
EOF

# Notify user of completion
echo "Google Music Webkit successfully installed!"
{'fraction_non_alphanumeric': 0.10762862211709048, 'fraction_numerical': 0.004730928444707274, 'mean_word_length': 5.433460076045628, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1726888', 'n_tokens_mistral': 555, 'n_tokens_neox': 535, 'n_words': 175}