-
Notifications
You must be signed in to change notification settings - Fork 210
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
The itch sandbox prevents Superpowers v1.1 from loading its settings #843
Comments
Well, reading |
What should we do instead? |
I don't know if you actually meant using Normally, when launched via the sandbox, the environment is set up in such a way that this correctly returns the AppData/Roaming folder of the sandbox user |
See https://github.com/itchio/elevate/blob/master/src/elevate.c — elevate sets |
Ah OK, we do use APPDATA directly in several places. I'll look into getting that changed! https://github.com/superpowers/superpowers-app/search?utf8=%E2%9C%93&q=appdata |
And I'll look into making it work regardless ;) you might beat me to it though, since I'm not planning to work this week-end :) |
Fixed this on our side in superpowers/superpowers-app@07210b4, will be in Superpowers v2 coming soon. |
Called it! I'm elbows-deep into http://github.com/itchio/capsule right now :) |
I wasn't showing off, I kindly shared an update so you know a fix on your side is not time-sensitive anymore! 😛 But hey. I did beat you to the fix. 😀 |
After enabling the experimental itch sandbox, I get the following error message when starting Superpowers from itch:
The first part of the error message is buggy (now fixed) so don't worry about that, but basically Superpowers tries to access stuff in
%APPDATA%
for the current user and then fails becauseEPERM
.I'm not sure if there's something we can / should change in Superpowers, or if there's something to be done on itch's sandbox side.
Running itch v18.4.0, Windows 10 64-bit.
The text was updated successfully, but these errors were encountered: