Adding auto upadate structure #118

This commit is contained in:
ManeraKai 2022-03-19 12:00:57 +03:00
parent d333b96602
commit c1f6239c51
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
4 changed files with 18 additions and 4 deletions

View File

@ -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)

8
chromium.md Normal file
View File

@ -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

View File

@ -54,5 +54,6 @@
},
"description": "Switch Instance"
}
}
},
"update_url": "https://raw.githubusercontent.com/libredirect/libredirect/master/src/updates/updates.xml"
}

6
src/updates/updates.xml Normal file
View File

@ -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>