浏览代码

chore: update URL to updates.json

Gerald 4 年之前
父节点
当前提交
b630d97449
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/manifest-helper.js

+ 1 - 1
scripts/manifest-helper.js

@@ -12,7 +12,7 @@ async function buildManifest() {
   const data = await readManifest();
   data.version = getVersion();
   if (process.env.TARGET === 'selfHosted') {
-    data.browser_specific_settings.gecko.update_url = 'https://github.com/violentmonkey/violentmonkey/releases/download/beta/updates.json';
+    data.browser_specific_settings.gecko.update_url = 'https://raw.githubusercontent.com/violentmonkey/violentmonkey/updates/updates.json';
   }
   if (isBeta()) {
     // Do not support i18n in beta version