qb64pe needs changes to work from a system-installed location #1

Open
opened 2026-06-17 08:36:13 +00:00 by barnett · 0 comments
Owner

qb64pe makes assumptions about where it is run from that won't allow it to run easily from a system installation.

  • It needs the source and internal directories to be next to the binary.
  • It doesn't seem to respect $CWD. Even if you change to a folder with the source/internal directories before running it in a wrapper script, it will say it can't find them. That implies it must only be looking around the physical binary location.
  • It won't open files in internal/help without write access.
  • It writes to a "settings" directory alongside internal and sources while running.

Ideally it would:

  • Read from a system-installed internal/sources location, probably in /usr/share / $XDG_DATA_HOME
  • Do whatever it is doing to internal/help in some other place; it appears to be referred to as a cache, so it should use $XDG_CACHE_HOME
  • Write "settings" to $XDG_CONFIG_HOME
qb64pe makes assumptions about where it is run from that won't allow it to run easily from a system installation. * It needs the source and internal directories to be next to the binary. * It doesn't seem to respect $CWD. Even if you change to a folder with the source/internal directories before running it in a wrapper script, it will say it can't find them. That implies it must only be looking around the physical binary location. * It won't open files in internal/help without write access. * It writes to a "settings" directory alongside internal and sources while running. Ideally it would: * Read from a system-installed internal/sources location, probably in /usr/share / $XDG_DATA_HOME * Do whatever it is doing to internal/help in some other place; it appears to be referred to as a cache, so it should use $XDG_CACHE_HOME * Write "settings" to $XDG_CONFIG_HOME
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
barnett/qb64pe#1
No description provided.