You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The path under which DevToys is stored by the DEB package is /opt/devtoys/devtoys but it should be /opt/devtoys .
Changing it to its "natural" value would result in less packaging cruft in AUR for Arch based distros and also a more correct behavior of the application when launched with the .desktop files.
How to reproduce it (as minimally and precisely as possible)
Inspect any DEB package; you find binaries installed under /opt/devtoys/devtoys
Expected behavior
Expecting to find binaries installed under /opt/devtoys
Screenshots
Workaround
No response
Affected platforms
Linux
Affected DevToys kind
DevToys (app with GUI)
DevToys Version
any DEB package
Relevant Assets/Logs
No response
The text was updated successfully, but these errors were encountered:
The DEB package installs binaries under /opt/devtoys/devtoys, introducing an unnecessary subfolder.
This deviates from typical Linux application structure, where binaries in /opt are usually placed directly under /opt/.
Impact on Desktop Files:
Applications launched via .desktop files may face issues like incorrect working directories, which can affect file paths, icons, or runtime behavior.
Packaging Concerns for AUR:
For Arch-based distributions, the redundant path can create extra work for AUR package maintainers, leading to "packaging cruft."
Expected Behavior
The DEB package should place binaries directly under /opt/devtoys rather than /opt/devtoys/devtoys. This aligns with:
Linux Filesystem Hierarchy Standards (FHS): /opt/ should directly contain application files.
Consistency Across Platforms: It avoids unnecessary subdirectories, making the application more predictable to maintainers and users alike.
Proposed Fix
Adjust Packaging Scripts
Modify the DEB packaging scripts (control file and install commands) to install binaries directly to /opt/devtoys instead of /opt/devtoys/devtoys.
Update Desktop File Paths
Ensure .desktop files reference the correct binary location (/opt/devtoys) and set the working directory accordingly.
Backward Compatibility (Optional)
Add a transitional symlink (/opt/devtoys/devtoys -> /opt/devtoys) to avoid breaking workflows for existing users, then remove it in future updates.
Current behavior
The path under which DevToys is stored by the DEB package is /opt/devtoys/devtoys but it should be /opt/devtoys .
Changing it to its "natural" value would result in less packaging cruft in AUR for Arch based distros and also a more correct behavior of the application when launched with the .desktop files.
How to reproduce it (as minimally and precisely as possible)
Inspect any DEB package; you find binaries installed under /opt/devtoys/devtoys
Expected behavior
Expecting to find binaries installed under /opt/devtoys
Screenshots
Workaround
No response
Affected platforms
Linux
Affected DevToys kind
DevToys (app with GUI)
DevToys Version
any DEB package
Relevant Assets/Logs
No response
The text was updated successfully, but these errors were encountered: