From a69e36d7bb579993d930006ac751079635961b82 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Thu, 5 May 2022 20:31:13 -0700 Subject: [PATCH] misc fixes --- languages/zh.json | 2 +- resources/js/index.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/languages/zh.json b/languages/zh.json index 9069e5b..0202466 100644 --- a/languages/zh.json +++ b/languages/zh.json @@ -60,7 +60,7 @@ "alertUserTaken": "用户名已被占用", "alertPassMismatch": "密码与确认密码不匹配", "alertAuthNoRegister": "未启用认证,无需注册!", - "alertRegisterSuccess": "注册成功!" + "alertRegisterSuccess": "注册成功!", "downloadTitle": "下载", "grassclipperTitle": "GrassClipper", diff --git a/resources/js/index.js b/resources/js/index.js index 93c8b1a..4c77c6c 100644 --- a/resources/js/index.js +++ b/resources/js/index.js @@ -1,5 +1,7 @@ Neutralino.init() +NL_CWD = NL_CWD.replace(/\//g, '\\') + let localeObj const filesystem = Neutralino.filesystem const createCmdWindow = async (command) => {