Skip to content

Commit

Permalink
修复便携版单独安装汉化补丁不成功的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Jan 19, 2022
1 parent 934eb5c commit 8732c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func downloadPack() []*downloadInfo {
func transUpdate(diList []*downloadInfo, stopCh chan struct{}) {
if updateTrans {
var err error
if ci.installVersion {
if ci.installVersion || !updateCore {
err = copy.Copy(fullPath(path.Join(diList[len(diList)-1].fileName, "app.asar")), path.Join(ci.rootPath, "resources/app.asar"))
} else {
err = copy.Copy(fullPath(path.Join(diList[len(diList)-1].fileName, "app.asar")), fullPath(path.Join(diList[0].fileName, "resources/app.asar")))
Expand Down

0 comments on commit 8732c4b

Please sign in to comment.