Refactor: copyright info

This commit is contained in:
Suwings 2022-07-29 14:55:14 +08:00
parent 0d971acfaf
commit 4232c4af2c
45 changed files with 45 additions and 537 deletions

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
// 程序启动入口文件

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
export default class GlobalVariable {
public static readonly map = new Map<string, any>();

View File

@ -1,15 +1,5 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
import { Socket } from "socket.io";
// 应用实例数据流转发适配器

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
interface IMap {
size: number;

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import os from "os";
import osUtils from "os-utils";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import path from "path";
import fs from "fs-extra";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
const FILENAME_BLACKLIST = ["\\", "/", ".", "'", '"', "?", "*", "<", ">"];

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
// Remote >>> Local
export interface IPacket {

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import * as io from "socket.io-client";
import { RemoteServiceConfig } from "./entity_interface";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
// @Entity
export default class SystemConfig {

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import path from "path";
import fs from "fs-extra";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import { IUser } from "./entity_interface";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import i18next from "i18next";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
// Define subsystem loading and routing loading for the application

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Koa from "koa";
import GlobalVariable from "../common/global_variable";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Koa from "koa";
import { logger } from "../service/log";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Koa from "koa";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Koa from "koa";
import Router from "@koa/router";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Router from "@koa/router";
import permission from "../../middleware/permission";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Router from "@koa/router";
import permission from "../../middleware/permission";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Router from "@koa/router";
import permission from "../../middleware/permission";

View File

@ -1,15 +1,5 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
import Router from "@koa/router";
import permission from "../../middleware/permission";
import validator from "../../middleware/validator";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Router from "@koa/router";
import permission from "../../middleware/permission";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Koa from "koa";
import Router from "@koa/router";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Koa from "koa";
import Router from "@koa/router";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Router from "@koa/router";
import permission from "../../middleware/permission";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Koa from "koa";
import Router from "@koa/router";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Router from "@koa/router";
import permission from "../../middleware/permission";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Router from "@koa/router";
import permission from "../../middleware/permission";

View File

@ -1,15 +1,5 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
import Koa from "koa";
import Router from "@koa/router";
import validator from "../../middleware/validator";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import { Socket } from "socket.io";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
// import { v4 } from "uuid";
// import path from "path";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import { v4 } from "uuid";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
// 多转发操作方法
export function multiOperationForwarding(

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import fs from "fs-extra";
import log4js from "log4js";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import Koa from "koa";
import userSystem from "./system_user";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import { v4 } from "uuid";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import userSystem from "./system_user";
import { User } from "../entity/user";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import { v4 } from "uuid";
import { IPacket, IRequestPacket } from "../entity/entity_interface";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import http from "http";
import { Server, Socket } from "socket.io";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import { logger } from "./log";
import { IRemoteService, RemoteServiceConfig } from "../entity/entity_interface";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import md5 from "md5";
import { v4 } from "uuid";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import axios from "axios";

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
// 全局配置初始化

View File

@ -1,15 +1,4 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
According to the AGPL, it is forbidden to delete all copyright notices,
and if you modify the source code, you must open source the
modified source code.
*/
// Copyright (C) 2022 MCSManager Team <mcsmanager-dev@outlook.com>
import * as fs from "fs-extra";
import GlobalVariable from "./common/global_variable";