1
0
Fork 0

Fix 'try in emulator' after recent filename changes (fix #107)

master
Gordon Williams 2020-03-01 18:14:13 +00:00
parent 6cfe9c340b
commit 6eabd60139
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ function refreshLibrary() {
// check icon to figure out what we should do
if (icon.classList.contains("icon-share")) {
// emulator
var file = app.storage.find(f=>f.name[0]=='-');
var file = app.storage.find(f=>f.name.endsWith('.js'));
if (!file) {
console.error("No entrypoint found for "+appid);
return;