Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i installed extension on Linux from Flatpak #12

Open
Gawrion opened this issue Feb 24, 2023 · 0 comments
Open

i installed extension on Linux from Flatpak #12

Gawrion opened this issue Feb 24, 2023 · 0 comments

Comments

@Gawrion
Copy link

Gawrion commented Feb 24, 2023

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant