更新公告版相关配置
This commit is contained in:
parent
e8c18e6eb8
commit
37d32fe225
Binary file not shown.
@ -25,9 +25,9 @@ namespace AIProofread
|
||||
/// </summary>
|
||||
public const string PRE = "https://pre-gm-plugin.gachafun.com/";
|
||||
/// <summary>
|
||||
/// 果麦生产
|
||||
/// 果麦公告版
|
||||
/// </summary>
|
||||
public const string PROD = "https://gm-plugin.gachafun.com/";
|
||||
public const string PROD = "https://gm-plugin-fn.gachafun.com/";
|
||||
/// <summary>
|
||||
/// 果麦金融
|
||||
/// </summary>
|
||||
@ -35,7 +35,7 @@ namespace AIProofread
|
||||
}
|
||||
public class Config
|
||||
{
|
||||
public static readonly string APP_NAME = "AI校对王";
|
||||
public static readonly string APP_NAME = "AI校对王(公告版)";
|
||||
public static readonly string APP_VERSION = "2.2.2";
|
||||
public static bool IS_WPS = false;
|
||||
public static bool UpgradeForcedNotice = false;
|
||||
@ -52,7 +52,7 @@ namespace AIProofread
|
||||
/// <summary>
|
||||
/// 网页访问地址
|
||||
/// </summary>
|
||||
public static string WEB_PATH = AppServer.DEV; //pre-gm-plugin.gachafun.com localhost:5173 gm2-plugin.zverse.group
|
||||
public static string WEB_PATH = AppServer.PROD; //pre-gm-plugin.gachafun.com localhost:5173 gm2-plugin.zverse.group
|
||||
public static bool RUN_IN_DEBUG = true;
|
||||
public static AppEnvironment APP_ENV = AppEnvironment.Dev;
|
||||
#else
|
||||
@ -61,15 +61,15 @@ namespace AIProofread
|
||||
public static AppEnvironment APP_ENV = AppEnvironment.Prod;
|
||||
#endif
|
||||
|
||||
public static readonly string APP_DATA_PATH = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\ai_proofread";
|
||||
public static readonly string APP_DATA_PATH = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\ai_proofread_anno";
|
||||
public static readonly string APP_LOG_PATH = APP_DATA_PATH + "\\logs\\";
|
||||
public static readonly string WEB_DATA_PATH = APP_DATA_PATH + "\\userdata";
|
||||
|
||||
/// <summary>
|
||||
/// 书签前缀
|
||||
/// </summary>
|
||||
public static readonly string BOOKMARK_NAME_PREFIX = "ai_proofread_";
|
||||
private static readonly Regex regex = new Regex("^ai_proofread_\\d+$");
|
||||
public static readonly string BOOKMARK_NAME_PREFIX = "ai_proofread_anno_";
|
||||
private static readonly Regex regex = new Regex("^ai_proofread_anno_\\d+$");
|
||||
|
||||
|
||||
public static bool IsProofreadMark(string name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user