mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-07 09:57:37 +00:00
客户端国际化
This commit is contained in:
parent
03170e3a9a
commit
fedf8a3eda
2
electron/build.js
vendored
2
electron/build.js
vendored
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user