Skip to content

i installed extension on Linux from Flatpak #12

@Gawrion

Description

@Gawrion

Extension didnt want to run. Problem was that outName = filePathOnly + '\\' + fileName was building invalid path begining with \/..... so i changed code a little bit to check if two begining characters of path are \/ and deleting first char if its true:

outName = filePathOnly + '\\' + fileName
if (outName.charAt(0) === "\\" && outName.charAt(1) === "\/") {
outName = outName.substring(1);
}

Now extension is working and i think it will work on Windows too. Just inform U about issue and how i resolved it simple. I made a fork and pull request. Test it on windows if that works...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions