ASAPCabinetFE
 
Loading...
Searching...
No Matches
NOT YET COMPLETE

Already builds 100% and links but it won't run yet.

  • We're still missing the C++ part to direct non-static data out of the read-only flatpak.
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: cannot create directories: Read-only file system [/app/bin/logs]

Instructions:

The flatpak requires rust-vendor.tar.gz (vpin crate dependencies)

  • in flatpak/ folder: (this folder)
cp -var ../src/vpin_ffi_wrapper/src/ .
cargo vendor --manifest-path rust-vendor.toml
tar czf rust-vendor.tar.gz vendor/
sha256sum rust-vendor.tar.gz

e.g.:

sources:
- type: file # cargo vendor archive (vpin crate dependencies)
path: rust-vendor.tar.gz
sha256: c896ffc30b0a572f62589cd71da50c6f4c1712465c3af8bc2056aaa15befa494 # <- update here!
  • In the same file, you may chose current build or tag release
sources:
# local source code
# - type: dir
# path: ../../ASAPCabinetFE
# git source code (for release builds)
- type: git
url: https://github.com/surtarso/ASAPCabinetFE.git
tag: main # <- or use a release tag 'v1.2.15'