-
-
Notifications
You must be signed in to change notification settings - Fork 431
fix: relaxed condition to check if resource exists #1621
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
Conversation
The original (`fs-extra`-based) implementation did not check if the file is writable either. Resources are not writable in mounted AppImages. Closes #1586 Signed-off-by: Akos Kitta <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I verified this fixes #1586 for the Linux AppImage package.
Thanks Akos!
I was never able to reproduce #1586 with the Linux ZIP package, so I can't verify it fixes the reported problem as it applies to that package. I do suspect that the cause was the same (e.g., perhaps there is a way to run the IDE from inside the ZIP package without extracting the archive?), and therefore will also be fixed by this PR.
Me neither, but I thought it was an app image issue. Has anybody had the same issue with the ZIP?
I learned this the hard way. If the app image is started, the
VS
Since it was read-only, the |
Yes, the original reporter:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat! Code is 👍
Motivation
To open built-in examples from an AppImage.
Change description
Relaxed the condition to check if a resource exists.
The original (
fs-extra
-based) implementation did not check if the file is writable either.Resources are not writable in mounted AppImages.
Other information
Closes #1586
Reviewer checklist