about summary refs log tree commit diff stats
path: root/src
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 /src
parentAdded buttons to the browser_action menu (diff)
downloadlibredirect-c1f6239c511d69d72579d9e36da7ce1cb0b7f75d.zip
Adding auto upadate structure #118
Diffstat (limited to 'src')
-rw-r--r--src/manifest.json3
-rw-r--r--src/updates/updates.xml6
2 files changed, 8 insertions, 1 deletions
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