Making and submitting an App built with Flutter and SqLite

I rebuilt my linux with more space and Mate 22.04 so it took a while.

I got it to work now with internet access and it appears that the database is working at least on my machine. There was just a few things that needed help. The main thing was that I downloaded your archive and noticed there was a bin/ directory. That changed most of it.

I appreciate your help. Your file did work.
The next step (not totally solved)… is to get the icons and desktop file to work as well as submitting to the store.
For those who are reading now:
The gz file needs a bin directory and you put flutter stuff and appExe inside. Best to download his gz file to understand.


wget https://github.com/EnjoyingFOSS/feeel/releases/download/2.4.1/feeel-linux-x86_64.tar.xz

My yml file looks like this so far:
This is a combo of the hello.yml and @mirek and his feel yml.

type: Archive automatically knows to decompress the gz and dest can give the human readable directory name… (it should be in quotes).

app-id: org.flatpak.TipitakaPaliReader
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: tipitaka_pali_reader
separate-locales: false
finish-args:
  - --share=ipc
  - --socket=fallback-x11
  - --socket=wayland
  - --device=dri
  - --share=network
modules:
  - name: tipitaka_pali_reader
    buildsystem: simple
    build-commands:
      - cp -R tpr/bin/ /app/tpr
      - chmod +x /app/tpr/tipitaka_pali_reader
      - mkdir /app/bin/
      - mkdir /app/lib/
      - ln -s /app/tpr/tipitaka_pali_reader /app/bin/tipitaka_pali_reader
      - ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /app/lib/libsqlite3.so
      - if [ ! -e '/app/lib/libsqlite3.so' ]; then ln -s -f /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 /app/lib/libsqlite3.so; fi
#      - if [ $(arch)="aarch64"  ]; then sed -si "/Exec=/cExec=env LIBGL_ALWAYS_SOFTWARE=1 tipitaka_pali_reader" tipitaka_pali_reader/org.flatpak.tipitakaPaliReader.desktop; fi
    sources:
      - type: archive
        path: tpr.tar.gz
        dest: "tpr"