#!/usr/bin/env bash

Cur_Dir=$(pwd)

rm -rf ${Cur_Dir}/release
mkdir -p ${Cur_Dir}/release

cxfreeze ${Cur_Dir}/start.py --install-dir=${Cur_Dir}/release

cp -fi ${Cur_Dir}/config.ini ${Cur_Dir}/release/
cp -fi ${Cur_Dir}/backupData.json ${Cur_Dir}/release/
cp -fi ${Cur_Dir}/app-store.db ${Cur_Dir}/release/