Skip to content

Commit

Permalink
Remove offscreen, cleanup for chrome/edge release
Browse files Browse the repository at this point in the history
  • Loading branch information
perry-mitchell committed Mar 24, 2024
1 parent 8c15696 commit 6e249a4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 40 deletions.
1 change: 0 additions & 1 deletion resources/manifest.v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"permissions": [
"clipboardWrite",
"contextMenus",
"offscreen",
"storage",
"tabs",
"unlimitedStorage"
Expand Down
12 changes: 0 additions & 12 deletions resources/offscreen.html

This file was deleted.

7 changes: 0 additions & 7 deletions resources/offscreen.js

This file was deleted.

18 changes: 4 additions & 14 deletions source/background/index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
import { initialise } from "./services/init.js";
import { log } from "./services/log.js";

// chrome.runtime.onInstalled.addListener(() => {
// createOffscreen().catch((err) => {
// console.error(err);
// });
// });

initialise()
.then(() => {
// log(`debug: add url: ${getExtensionURL("full.html#/add")}`);
})
.catch((err) => {
console.error(err);
log("initialisation failed");
});
initialise().catch((err) => {
console.error(err);
log("initialisation failed");
});
2 changes: 1 addition & 1 deletion source/shared/library/version.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Do not edit this file - it is generated automatically at build time

export const BUILD_DATE = "2024-03-23";
export const BUILD_DATE = "2024-03-24";
export const VERSION = "3.0.0";
5 changes: 0 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,6 @@ export default [
to: path.join(DIST, "manifest-res"),
context: path.join(__dirname, "./resources")
},
{
from: path.join(__dirname, "./resources/offscreen.*"),
to: DIST,
context: path.join(__dirname, "./resources")
},
{
from: path.join(ICONS_PATH, "/*"),
to: path.join(DIST, "scripts/icons"),
Expand Down

0 comments on commit 6e249a4

Please sign in to comment.