erkyrath / lectrote

The IF interpreter in an Electron shell
Other
248 stars 28 forks source link

Emglken update for a filesystem bug #125

Closed curiousdannii closed 4 years ago

curiousdannii commented 4 years ago

Should fix #122

angstsmurf commented 4 years ago

Yep, seems to work!

angstsmurf commented 4 years ago

Hm, when I package Lectrote, I get

file_fopen: failed to open Counterfeit Monkey-startup-data.glkdata: Error: EACCES: permission denied, open 'Counterfeit Monkey-startup-data.glkdata'

And the game won't start. I even tried notarizing the package with my Developer ID Certificate, but I may have done something wrong.

curiousdannii commented 4 years ago

MacOS? I have no idea about that, or why it would be different running from source than from packaged.

angstsmurf commented 4 years ago

Yeah, it seems the packaged application does not have read access to the file. But it is unclear exactly from where it is trying to open the file, or if it has the right path. You'd think that all applications would have access to their own ~/Library/Application Support/ folder. Perhaps @erkyrath knows more about this.

erkyrath commented 4 years ago

I'll take a look later.