mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-09-26 22:49:14 +08:00
21 lines
1.0 KiB
TypeScript
21 lines
1.0 KiB
TypeScript
import { CdnConfig } from './types'
|
|
|
|
const owner = 'the1812'
|
|
const host = 'raw.githubusercontent.com'
|
|
export const github: CdnConfig = {
|
|
owner,
|
|
host,
|
|
stableClient: `https://${host}/${owner}/Bilibili-Evolved/master/dist/bilibili-evolved.user.js`,
|
|
previewClient: `https://${host}/${owner}/Bilibili-Evolved/preview/dist/bilibili-evolved.preview.user.js`,
|
|
library: {
|
|
lodash: `https://${host}/lodash/lodash/4.17.21/dist/lodash.min.js`,
|
|
protobuf: `https://${host}/protobufjs/protobuf.js/6.10.1/dist/light/protobuf.min.js`,
|
|
jszip: `https://${host}/Stuk/jszip/3.7.1/dist/jszip.min.js`,
|
|
sortable: `https://${host}/SortableJS/Sortable/1.14.0/Sortable.min.js`,
|
|
mdi: `https://${owner}.github.io/Bilibili-Evolved/static/mdi/mdi.css`,
|
|
},
|
|
smallLogo: `https://${host}/${owner}/Bilibili-Evolved/preview/images/logo-small.png`,
|
|
logo: `https://${host}/${owner}/Bilibili-Evolved/preview/images/logo.png`,
|
|
root: (branch, ownerOverride) => `https://${host}/${ownerOverride || owner}/Bilibili-Evolved/${branch}/`,
|
|
}
|