about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-03-19 12:00:57 +0300
committerManeraKai <manerakai@protonmail.com>2022-03-19 12:00:57 +0300
commitc1f6239c511d69d72579d9e36da7ce1cb0b7f75d (patch)
tree79488a38b20b3e8b861664fe7b7a7268b04c6972
parentAdded buttons to the browser_action menu (diff)
downloadlibredirect-c1f6239c511d69d72579d9e36da7ce1cb0b7f75d.zip
Adding auto upadate structure #118
-rw-r--r--README.md5
-rw-r--r--chromium.md8
-rw-r--r--src/manifest.json3
-rw-r--r--src/updates/updates.xml6
4 files changed, 18 insertions, 4 deletions
diff --git a/README.md b/README.md
index d754337f..f81f832c 100644
--- a/README.md
+++ b/README.md
@@ -30,13 +30,13 @@ Send Files => [Send](https://github.com/timvisee/send)
 
 <br>
 
-
 [![Mozilla Users](https://badges.alefvanoon.xyz/amo/users/libredirect?label=Firefox%20Users)](https://addons.mozilla.org/firefox/addon/libredirect/)
 [![Matrix Badge](https://badges.alefvanoon.xyz/matrix/libredirect:matrix.org?label=Matrix)](https://matrix.to/#/#libredirect:tokhmi.xyz)
 
 ## Get
 [![Firefox Add-on](./img/badge-amo.png)](https://addons.mozilla.org/firefox/addon/libredirect/)&nbsp;
-[![Edge Add-on](./img/badge-ms.png)](https://microsoftedge.microsoft.com/addons/detail/libredirect/aodffkeankebfonljgbcfbbaljopcpdb)
+[![Edge Add-on](./img/badge-ms.png)](https://microsoftedge.microsoft.com/addons/detail/libredirect/aodffkeankebfonljgbcfbbaljopcpdb)&nbsp;
+[![Edge Add-on](./img/badge-chrome.png)](./chromium.md)
 
 ## Donate
 [![Liberapay](./img/liberapay.svg)](https://liberapay.com/LibRedirect)
@@ -77,6 +77,5 @@ Send Files => [Send](https://github.com/timvisee/send)
 - select `load unpacked extension`
 - select `src` folder
 
-
 Privacy Policy: [Privacy-Policy.md](Privacy-Policy.md)\
 Credits: [Privacy Redirect](https://github.com/SimonBrazell/privacy-redirect)
diff --git a/chromium.md b/chromium.md
new file mode 100644
index 00000000..b4c9e73b
--- /dev/null
+++ b/chromium.md
@@ -0,0 +1,8 @@
+### Install in Chromium, Brave and Chrome
+- Download the latest file [libredirect-1.5.5.crx](https://github.com/libredirect/libredirect/releases/download/v1.5.5/libredirect-1.5.5.crx)
+- Open `chrome://extensions`
+- Enable `dev mode`
+- Refresh the page
+- Drag the `libredirect-1.5.5.crx` file to the page
+
+Updates are automatic
\ No newline at end of file
diff --git a/src/manifest.json b/src/manifest.json
index e2d05518..00c98148 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -54,5 +54,6 @@
       },
       "description": "Switch Instance"
     }
-  }
+  },
+  "update_url": "https://raw.githubusercontent.com/libredirect/libredirect/master/src/updates/updates.xml"
 }
\ No newline at end of file
diff --git a/src/updates/updates.xml b/src/updates/updates.xml
new file mode 100644
index 00000000..87c37684
--- /dev/null
+++ b/src/updates/updates.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
+    <app appid='ongajcjccibkomjojhfmjedolopocllf'>
+        <updatecheck codebase='https://github.com/libredirect/libredirect/releases/download/v1.5.5/libredirect-1.5.5.crx' version='2.0' />
+    </app>
+</gupdate>
\ No newline at end of file