changed support url
This commit is contained in:
4
dist/optifine-download-links.user.js
vendored
4
dist/optifine-download-links.user.js
vendored
@@ -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;
|
||||||
|
|||||||
@@ -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,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user