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