Merge pull request #877 from Tipx-L/PR-Branch

The URL update.
This commit is contained in:
Spmario233 2024-01-29 11:18:28 +08:00 committed by GitHub
commit f32c07763b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 16 additions and 14 deletions

1
.gitignore vendored
View File

@ -19,6 +19,7 @@ app
app.html
ehthumbs.db
extension
Home
jsconfig.json
localStorage.json
main.js

View File

@ -4,7 +4,7 @@ window.config={
FastGit:'https://raw.fgit.cf/libccy/noname-extension/master/',
GitHub:'https://raw.githubusercontent.com/libccy/noname-extension/master/'
},
extension_source:'Coding',
extension_source:'GitHub Proxy',
forbidai:['ns_liuzhang'],
forbidai_user:[],
forbidall:[],

View File

@ -22,17 +22,15 @@ import { Announce } from "./announce/index.js";
import { Channel } from "./channel/index.js";
import { Experimental } from "./experimental/index.js";
import * as Element from "./element/index.js";
import { updateURLs } from "./update-urls.js";
export class Library extends Uninstantable {
static configprefix = 'noname_0.9_';
static versionOL = 27;
static updateURLS = {
coding: 'https://gitcode.net/sinat_33405273/noname/-/raw/',
github: 'https://raw.githubusercontent.com/libccy/noname',
};
static updateURL = 'https://raw.githubusercontent.com/libccy/noname';
static mirrorURL = 'https://gitcode.net/sinat_33405273/noname/-/raw/';
static updateURLS = updateURLs;
static updateURL = updateURLs.github;
static mirrorURL = updateURLs.coding;
static hallURL = '47.99.105.222';
static assetURL = assetURL;
static userAgent = userAgent;
@ -1124,7 +1122,7 @@ export class Library extends Uninstantable {
init: 'coding',
unfrequent: true,
item: {
coding: 'CSDN',
coding: 'URC',
github: 'GitHub',
},
onclick: function (item) {
@ -11287,7 +11285,6 @@ export class Library extends Uninstantable {
charlotte: true,
priority: -100,
lastDo: true,
silent: true,
content: function () {
player.removeSkill('counttrigger');
delete player.storage.counttrigger;

View File

@ -0,0 +1,4 @@
export const updateURLs = {
coding: 'https://unitedrhythmized.club/libccy/noname',
github: 'https://raw.githubusercontent.com/libccy/noname'
};

View File

@ -14732,6 +14732,6 @@ export class UI extends Uninstantable {
static updateRoundNumber(roundNumber, cardPileNumber) {
if (ui.cardPileNumber) ui.cardPileNumber.innerHTML = `${roundNumber}轮 剩余牌: ${cardPileNumber}`;
}
};
}
export const ui = UI;