༼ つ ◕_◕ ༽つ
parent
eb9a294b1d
commit
2d9342f089
@ -0,0 +1 @@
|
||||
/out/*
|
@ -1,9 +1,17 @@
|
||||
## Build
|
||||
# Build
|
||||
|
||||
1. Checkout and dir into project folder
|
||||
```shell
|
||||
git checkout https://lab.thereno.cloud/stammtv-extension
|
||||
cd stammtv-extension
|
||||
```
|
||||
|
||||
2.1 For Firefox
|
||||
```shell
|
||||
cd base; find base -type f -exec zip out/artifacts/firefox/extension.crx {} +
|
||||
find firefox -type f -exec zip out/artifacts/firefox/extension.crx {} +
|
||||
zip -r out/artifacts/firefox/extension.crx base/* firefox/*
|
||||
./build-ff.sh
|
||||
```
|
||||
|
||||
## Prerequisites
|
||||
- Chromium based Browser (Chrome, Edge, ..)
|
||||
2.2 For Chrome
|
||||
```shell
|
||||
./build-chrome.sh
|
||||
```
|
@ -1,24 +1,29 @@
|
||||
{
|
||||
"name": "StammTV Firefox Extension",
|
||||
"description": "Adds a context-menu option to send URLs to StammTV",
|
||||
"name": "StammTV Context Menu",
|
||||
"description": "Adds a context-menu option to send URLs to your instance of StammTV",
|
||||
"version": "1.0",
|
||||
"manifest_version": 2,
|
||||
"background": {
|
||||
"scripts": [
|
||||
"script.js"
|
||||
]
|
||||
],
|
||||
"persistent": true
|
||||
},
|
||||
"options_ui":{
|
||||
"page": "options/options.html",
|
||||
"open_in_tab": true
|
||||
},
|
||||
"options_page": "options/options.html",
|
||||
"permissions": [
|
||||
"storage",
|
||||
"contextMenus"
|
||||
],
|
||||
"action": {
|
||||
"browser_action": {
|
||||
"default_title": "StammTV Context-Menu",
|
||||
"default_popup": "popup/popup.html"
|
||||
},
|
||||
"icons": {
|
||||
"16": "icon-bitty.png",
|
||||
"48": "icon-small.png",
|
||||
"128": "icon-large.png"
|
||||
"16": "stammtv-bitty.png",
|
||||
"48": "stammtv-small.png",
|
||||
"128": "stammtv-large.png"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue