Skip to content

Temp directory makes assumption about WSL paths #110

Closed
@vcsjones

Description

WSL starting in Windows 1803 allows file systems to be mounted in places other than /mnt by configuration.

I've taken to mounting them simply in / so that I can access /c/window-stuff. For example:

[automount]
enabled = true
root = /

The causes the launcher to fail to make a temp directory due to this line:

const userRegExp = /\/mnt\/([a-z])\/Users\/([^\/:]+)\/AppData\//;

It makes an assumption about where the windows file system is mounted.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions