fix (geo.js): adjust the China flag order (#138)

#build
This commit is contained in:
Virgil Clyne 2022-07-04 11:45:47 +08:00 committed by GitHub
parent 7834fd6056
commit 0f6a3a8f5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 27 deletions

View File

@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.3.1",
"version": "2.3.2",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js",
"scripts": {

View File

@ -50,31 +50,6 @@ export function getFlag(name) {
],
'🇨🇭': ['Switzerland', '瑞士', '苏黎世', 'Zurich'],
'🇨🇱': ['Chile', '智利'],
'🇨🇳': [
'China',
'中国',
'中國',
'回国',
'回國',
'国内',
'國內',
'华东',
'华西',
'华南',
'华北',
'华中',
'江苏',
'北京',
'上海',
'广州',
'深圳',
'杭州',
'徐州',
'青岛',
'宁波',
'镇江',
'back',
],
'🇨🇴': ['Colombia', '哥伦比亚'],
'🇨🇷': ['Costa Rica', '哥斯达黎加'],
'🇨🇾': ['Cyprus', '塞浦路斯'],
@ -277,6 +252,30 @@ export function getFlag(name) {
'🇻🇪': ['Venezuela', '委内瑞拉'],
'🇻🇳': ['Vietnam', '越南', '胡志明'],
'🇿🇦': ['South Africa', '南非'],
'🇨🇳': [
'China',
'中国',
'中國',
'回国',
'回國',
'国内',
'國內',
'华东',
'华西',
'华南',
'华北',
'华中',
'江苏',
'北京',
'上海',
'广州',
'深圳',
'杭州',
'徐州',
'青岛',
'宁波',
'镇江',
],
};
const ISOFlags = {
@ -301,7 +300,6 @@ export function getFlag(name) {
'🇨🇦': ['CA', 'CAN'],
'🇨🇭': ['CH', 'CHE'],
'🇨🇱': ['CL', 'CHL'],
'🇨🇳': ['CN', 'CHN'],
'🇨🇴': ['CO', 'COL'],
'🇨🇷': ['CR', 'CRI'],
'🇨🇾': ['CY', 'CYP'],
@ -380,6 +378,7 @@ export function getFlag(name) {
'🇻🇪': ['VE', 'VEN'],
'🇻🇳': ['VN', 'VNM'],
'🇿🇦': ['ZA', 'ZAF'],
'🇨🇳': ['CN', 'CHN', 'BACK'],
};
// 原旗帜或空
let Flag =