forked from FOSS/BangleApps
Fix 'try in emulator' after recent filename changes (fix #107)
parent
6cfe9c340b
commit
6eabd60139
2
index.js
2
index.js
|
@ -302,7 +302,7 @@ function refreshLibrary() {
|
||||||
// check icon to figure out what we should do
|
// check icon to figure out what we should do
|
||||||
if (icon.classList.contains("icon-share")) {
|
if (icon.classList.contains("icon-share")) {
|
||||||
// emulator
|
// emulator
|
||||||
var file = app.storage.find(f=>f.name[0]=='-');
|
var file = app.storage.find(f=>f.name.endsWith('.js'));
|
||||||
if (!file) {
|
if (!file) {
|
||||||
console.error("No entrypoint found for "+appid);
|
console.error("No entrypoint found for "+appid);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue