Skip to content

Commit 2e33f42

Browse files
author
Chris Warren-Smith
committed
FLATPAK: allow file navigation when permitted
1 parent 88054fb commit 2e33f42

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

  • src/platform/android/app/src/main/assets

src/platform/android/app/src/main/assets/main.bas

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ sub do_about()
121121
color colText
122122
print "Version "; sbver
123123
print
124-
print "Copyright (c) 2002-2025 Chris Warren-Smith"
124+
print "Copyright (c) 2002-2026 Chris Warren-Smith"
125125
print "Copyright (c) 1999-2006 Nicholas Christopoulos" + chr(10)
126126

127127
local bn_home
@@ -816,4 +816,12 @@ sub main
816816
wend
817817
end
818818

819+
const info_file = "/.flatpak-info"
820+
if (is_sandboxed_fs and exist(info_file)) then
821+
tload info_file, inf, 1
822+
if "filesystems=home" in inf then
823+
is_sandboxed_fs = false
824+
endif
825+
endif
826+
819827
main

0 commit comments

Comments
 (0)