GGBRW / BOOLR

A digital logic simulator
http://boolr.me
Other
613 stars 65 forks source link

Prevent hanging on 'Loading...' without a saves folder in development #20

Closed confiks closed 6 years ago

confiks commented 6 years ago

Hi, awesome project! I have never seen such a large, smooth Electron application being written in pure, frameworkless Javascript.

While looking around, I bumped into a non-existent saves folder when trying out BOOLR in development. This pull request adds the saves folder (with a .gitkeep file), and excludes any files without the .board extension to be read as a save file (because otherwise the .gitkeep file would show up).

That might not be the best solution, but as the directory is assumed to be existent in multiple places, I thought I'd leave it at this.

GGBRW commented 6 years ago

Thank you so much! And sorry for the messy code, I hadn't much experience back then.