-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc44589
commit cd1ddfc
Showing
6 changed files
with
85 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* eslint-disable */ | ||
const manifest = { | ||
manifest_version: 3, | ||
name: "ProToots", | ||
version: "1.1.2", | ||
|
||
icons: { | ||
48: "icons/icon small_size/icon small_size.png", | ||
96: "icons/icon small_size/icon small_size.png", | ||
}, | ||
|
||
description: "puts pronouns next to usernames on mastodon", | ||
homepage_url: "https://github.com/ItsVipra/ProToots", | ||
permissions: ["storage", "activeTab"], | ||
|
||
action: { | ||
default_icon: "icons/icon small_size/icon small_size.png", | ||
default_title: "Enable ProToots on this page", | ||
}, | ||
content_scripts: [ | ||
{ | ||
matches: ["*://*/*"], | ||
js: ["content_scripts/protoots.js"], | ||
css: ["styles/proplate.css"], | ||
run_at: "document_start", | ||
}, | ||
], | ||
|
||
options_ui: { | ||
page: "options/options.html", | ||
browser_style: false, | ||
}, | ||
|
||
browser_specific_settings: { | ||
gecko: { | ||
id: "[email protected]", | ||
}, | ||
}, | ||
}; | ||
|
||
const firefoxManifest = { | ||
...manifest, | ||
background: { | ||
scripts: ["background/worker.js"], | ||
}, | ||
}; | ||
|
||
const chromeManifest = { | ||
...manifest, | ||
background: { | ||
service_worker: "background/worker.js", | ||
type: "module", | ||
}, | ||
}; | ||
|
||
export { firefoxManifest, chromeManifest }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
import * as esbuild from "esbuild"; | ||
import { defaultBuildOptions } from "./shared.mjs"; | ||
import { defaultBuildOptions, writeManifest } from "./shared.mjs"; | ||
|
||
writeManifest(); | ||
|
||
let ctx = await esbuild.context(defaultBuildOptions); | ||
await ctx.watch(); |
This file was deleted.
Oops, something went wrong.