Skip to content

Commit

Permalink
Merge pull request #111 from xianyunleo/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
xianyunleo authored May 29, 2024
2 parents e5a91e7 + 300f461 commit 57cea28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eserver",
"productName": "EServer",
"version": "3.7.0",
"version": "3.7.2",
"description": "EServer",
"main": "./out/main/index.js",
"author": "xianyunleo",
Expand Down
3 changes: 2 additions & 1 deletion src/main/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export default class App {
if (isMacOS) {
await this.updateMacCoreSubDir(['Library'])
}
await this.moveInitFiles(['downloads', 'www', 'config'])

//下面update逻辑,用于更新 UserCoreDir
const updateDir = Path.Join(GetAppPath.getCoreDir(), 'update')
Expand Down Expand Up @@ -135,7 +136,7 @@ export default class App {
}

/**
* 将initFiles目录下的文件(文件夹)移动到用户操作的核心目录
* 将initFiles目录下的文件(文件夹)移动到用户操作的核心目录,如果已存在,不会覆盖。
* @param files
*/
static async moveInitFiles(files = []) {
Expand Down

0 comments on commit 57cea28

Please sign in to comment.