Skip to content

Commit

Permalink
[harbour-barcode] Run the app in the compatibility mode
Browse files Browse the repository at this point in the history
It appears that the ~/.local/share/harbour-barcode directory only gets
created in the so-called compatibility mode. And if that directory doesn't
exist (and mapped into the sadbox), then the history database doesn't
get preserved between the runs - the app starts from scratch every time,
that's a huge loss of functionality.

Getting rid of the X-Sailjail section seems to be the only way to turn
that compatibility mode on. So be it.
  • Loading branch information
monich committed Nov 4, 2024
1 parent 92d6165 commit 37c3248
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions harbour-barcode.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,14 @@ Name=CodeReader
BackupPathList=.local/share/harbour-barcode/
BackupConfigList=/apps/harbour-barcode/

[X-Sailjail]
Permissions=Audio;Camera;Documents;Downloads;MediaIndexing;Pictures;PublicDir;RemovableMedia;UserDirs
# It appears that the ~/.local/share/harbour-barcode directory only gets
# created in the so-called compatibility mode. And if that directory doesn't
# exist (and mapped into the sadbox), then the history database doesn't
# get preserved between the runs - the app starts from scratch every time,
# that's a huge loss of functionality.
#
# Getting rid of the X-Sailjail section seems to be the only way to turn
# that compatibility mode on. So be it.

#[X-Sailjail]
#Permissions=Audio;Camera;Documents;Downloads;MediaIndexing;Pictures;PublicDir;RemovableMedia;UserDirs

0 comments on commit 37c3248

Please sign in to comment.