Skip to content

Commit

Permalink
change generic app open to use an anura dialog instead of a regular a…
Browse files Browse the repository at this point in the history
…lert
  • Loading branch information
Percslol committed Aug 30, 2024
1 parent 875e1b1 commit 98a07df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions public/anura-sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ workbox.core.clientsClaim();
importScripts("/libs/idb-keyval/idb-keyval.js");

var cacheenabled;
workbox.routing.registerRoute(/\/x86\/(.*)/, (req) => {
return handleRequests(req); // need to do this because of the dumb way workbox handles async
});

const callbacks = {};
const filepickerCallbacks = {};
Expand Down
2 changes: 1 addition & 1 deletion src/coreapps/GenericApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class GenericApp extends App {
}

async open(args: string[] = []): Promise<WMWindow | undefined> {
alert(
anura.dialog.alert(
"This app is not supposed to be opened as it is a placeholder for other apps.",
);
return;
Expand Down

0 comments on commit 98a07df

Please sign in to comment.