tweecode / twine

UI for creating hypertext stories
http://twinery.org
656 stars 97 forks source link

[macOS] Pickled TWS contains improper story format name #185

Open tmedwards opened 7 years ago

tmedwards commented 7 years ago

Under macOS, at least, the story format/header name within the pickled TWS inexplicably ends with .py.

For example:

This breaks interoperability between OS versions.

ORIGINALLY FROM: Accessing Sugarcube story across Mac and Windows (twinery.org)

TAG13 commented 7 years ago

Here are example tws files for anyone to look at. The only difference is line 15, where the Mac version includes the .py extension and the Windows version does not. Simpy opening up the tws file in a text editor and making the appropriate change (depending on the OS) allows the previous problematic tws file to be opened in Twine.

TwineSugarcubeExamles.zip