erkyrath / lectrote

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

bug: saved file extension is not set automatically #150

Open fourier opened 1 year ago

fourier commented 1 year ago

Lectrote [1.4.3] on Linux. When I run an z3 game (zork i) and try to use the save command, the dialog pops up allowing me to provide a file name. I type i.e. begin and click on save (the dialog suggest file type to be Glk save file). File saved without extension. When I later type restore to restore from the file, I cannot point to this saved file as it is filtered out from the dialog. Upon experimenting and googling I've found out that the file extension should be .glksave, but it was not appended automatically.

Suggestion: to automatically append .glksave to the file names when doing the save command.