2024-12-02 00:14:12 +03:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
mkdir -p AppDir/usr/bin
|
2024-12-02 01:14:42 +03:00
|
|
|
mkdir -p AppDir/usr/lib
|
2024-12-02 14:12:03 +03:00
|
|
|
mkdir -p AppDir/usr/share/tesseract-ocr/4.00/tessdata
|
|
|
|
cp -r /usr/share/tesseract-ocr/4.00/tessdata/* AppDir/usr/share/tesseract-ocr/4.00/tessdata
|
2024-12-02 00:14:12 +03:00
|
|
|
cp ../../checks-parser AppDir/usr/bin
|
2024-12-02 14:12:03 +03:00
|
|
|
|
2024-12-02 00:14:12 +03:00
|
|
|
echo \
|
|
|
|
"[Desktop Entry]
|
|
|
|
Name=Checks parser
|
|
|
|
Exec=usr/bin/checks-parser
|
|
|
|
Icon=checks-parser
|
|
|
|
Type=Application
|
2024-12-02 03:21:19 +03:00
|
|
|
Categories=Utility;" \
|
2024-12-02 00:14:12 +03:00
|
|
|
> AppDir/checks-parser.desktop
|
|
|
|
|
2024-12-02 14:12:03 +03:00
|
|
|
echo \
|
2024-12-03 03:45:58 +03:00
|
|
|
"#!/bin/bash
|
|
|
|
export TESSDATA_PREFIX=\$APPDIR/usr/share/tesseract-ocr/4.00/tessdata
|
|
|
|
|
|
|
|
\$APPDIR/usr/bin/checks-parser" \
|
2024-12-02 14:12:03 +03:00
|
|
|
> AppDir/AppRun
|
|
|
|
|
2024-12-04 04:05:02 +03:00
|
|
|
cp ../../icon.png AppDir/checks-parser.png
|
2024-12-04 01:07:48 +03:00
|
|
|
|
2024-12-02 14:12:03 +03:00
|
|
|
chmod +x AppDir/AppRun
|
|
|
|
cp ../../checks-parser AppDir/usr/bin
|
2024-12-02 03:21:19 +03:00
|
|
|
linuxdeployqt AppDir/usr/bin/checks-parser -no-copy-copyright-files -appimage
|