<commit_before>#!/bin/bash

APP_NAME=xpiks-qt
VERSION="1.4.2"
APPDIR_NAME="Xpiks"

STAGING_DIR="./linux_deploy"

APP_PROFILE=Debug
LIBS_PROFILE=debug
DEPLOY_TOOL=linuxdeployqt

echo "------------------------------"

pushd ../build-xpiks-qt-*${APP_PROFILE}

# clear out any old data
echo "Wiping old data"
rm -v -rf "${STAGING_DIR}"

export PATH=~/bin:~/Qt5.6.2/5.6/gcc_64/bin:$PATH

mkdir -p $STAGING_DIR

cp -v ./$APP_NAME $STAGING_DIR/

cp -v -r ../xpiks-qt/deps/* $STAGING_DIR/
rm -v $STAGING_DIR/translations/*.ts
#cp -v ../xpiks-qt/debian/xpiks.desktop $STAGING_DIR
cp -v ../xpiks-qt/debian/xpiks.png $STAGING_DIR

cat << EOF > "$STAGING_DIR/$APP_NAME.desktop"
[Desktop Entry]
Type=Application
Name=$APP_NAME
GenericName=Xpiks
Exec=./AppRun %F<commit_msg>Fixes for accidental typos [ci skip]<commit_after>#!/bin/bash

APP_NAME=xpiks-qt
VERSION="1.4.2"
APPDIR_NAME="Xpiks"

STAGING_DIR="./linux_deploy"

APP_PROFILE=Release
LIBS_PROFILE=release
DEPLOY_TOOL=linuxdeployqt

echo "------------------------------"

pushd ../build-xpiks-qt-*${APP_PROFILE}

# clear out any old data
echo "Wiping old data"
rm -v -rf "${STAGING_DIR}"

export PATH=~/bin:~/Qt5.6.2/5.6/gcc_64/bin:$PATH

mkdir -p $STAGING_DIR

cp -v ./$APP_NAME $STAGING_DIR/

cp -v -r ../xpiks-qt/deps/* $STAGING_DIR/
cp -v $STAGING_DIR/translations/xpiks*.ts
#cp -v ../xpiks-qt/debian/xpiks.desktop $STAGING_DIR
cp -v ../xpiks-qt/debian/xpiks.png $STAGING_DIR

cat << EOF > "$STAGING_DIR/$APP_NAME.desktop"
[Desktop Entry]
Type=Application
Name=$APP_NAME
GenericName=Xpiks
Exec=./AppRun %F
{'fraction_non_alphanumeric': 0.19974226804123713, 'fraction_numerical': 0.01288659793814433, 'mean_word_length': 3.6497005988023954, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '4908484', 'n_tokens_mistral': 723, 'n_tokens_neox': 673, 'n_words': 122}