Skip to content

api::path::resource_dir does not return correct path for AppImage bundle #1308

@gabcoh

Description

@gabcoh

Describe the bug
The resource directory for the appimage bundle should be relative to the APPDIR variable (something like /tmp/.mount-xxxx/), but the system wide resource dir is returned instead.

To Reproduce
Steps to reproduce the behavior:

  1. Print the results of api::path::resource_dir when running the appimage bundle

Expected behavior
A path relative to APPDIR is returned.

Platform and Versions (please complete the following information):

OS: Linux
Node: 15.8.0
NPM: 6.14.11
Yarn: 1.22.10
Rustc: 1.50.0

Additional context
Add any other context about the problem here.

Stack Trace

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions