changed support url

This commit is contained in:
2022-06-06 15:01:55 -05:00
parent cf4043ee2a
commit 29b70f62e0
2 changed files with 4 additions and 4 deletions

View File

@@ -5,8 +5,8 @@
// @version 1.0 // @version 1.0
// @description automatically grab optifine links through the ads // @description automatically grab optifine links through the ads
// @downloadURL https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/optifine-download-links.zomo.js // @downloadURL https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/optifine-download-links.zomo.js
// @supportURL https://git.zomo.dev/zomo/browser-scripts/ // @supportURL https://git.zomo.dev/zomo/browser-scripts/issues
// @homepageURL https://git.zomo.dev/zomo/browser-scripts/ // @homepageURL https://git.zomo.dev/zomo/browser-scripts
// ==/UserScript== // ==/UserScript==
// scripts/optifine-download-links/main.ts // scripts/optifine-download-links/main.ts
var onhover = false; var onhover = false;

View File

@@ -7,7 +7,7 @@ import {
writeFileSync, writeFileSync,
} from 'fs' } from 'fs'
const BaseUrl = `https://git.zomo.dev/zomo/browser-scripts/` const BaseUrl = `https://git.zomo.dev/zomo/browser-scripts`
const FileUrl = name => const FileUrl = name =>
`https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/${name}.zomo.js` `https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/${name}.zomo.js`
@@ -40,7 +40,7 @@ function MetadataArgs(name) {
grant: '', grant: '',
injectinto: '', injectinto: '',
downloadURL: FileUrl(name), downloadURL: FileUrl(name),
supportURL: BaseUrl, supportURL: `${BaseUrl}/issues`,
homepageURL: BaseUrl, homepageURL: BaseUrl,
unwrap: false, unwrap: false,
} }