Skip to content

Commit

Permalink
Prevent the emulator from crashing on first run
Browse files Browse the repository at this point in the history
  • Loading branch information
baskerville committed Mar 5, 2020
1 parent 9cc4075 commit 4a809f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/libs
/bin
/Settings.toml
/.metadata.json
/css/*-user.css
/hyphenation-patterns
/dictionaries
Expand Down
5 changes: 5 additions & 0 deletions run-emulator.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#! /bin/sh

if ! [ -e Settings.toml ]; then
echo "library-path = \"${PWD}\"" > Settings.toml
echo "[]" > .metadata.json
fi

./service.sh run_emulator "$@"

0 comments on commit 4a809f3

Please sign in to comment.