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 \
|
|
|
|
"#!/usr/bin/env bash
|
|
|
|
export TESSDATA_PREFIX=usr/share/tesseract-ocr/4.00/tessdata
|
|
|
|
./usr/bin/checks-parser" \
|
|
|
|
> AppDir/AppRun
|
|
|
|
|
|
|
|
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
|