From fedf8a3eda4f3dc3491d8d9f37529e1b1c6fcc77 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Fri, 17 Feb 2023 17:39:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AB=AF=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/build.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electron/build.js b/electron/build.js index 86e24ccd6..81f28076e 100644 --- a/electron/build.js +++ b/electron/build.js @@ -120,6 +120,8 @@ function startBuild(data, publish, release) { // drawio cloneDrawio(systemInfo) } + // language + fse.copySync(path.resolve(__dirname, "../public/js/language"), path.resolve(electronDir, "js/language")) // config.js fs.writeFileSync(electronDir + "/config.js", "window.systemInfo = " + JSON.stringify(systemInfo), 'utf8'); fs.writeFileSync(nativeCachePath, utils.formatUrl(data.url));