Skip to content

Commit

Permalink
fix(script): 将软件同步功能加快到 onactive
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed Oct 20, 2023
1 parent 86d133b commit db44761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scripts/src/projects/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const BackgroundProject = Project.create({
}
});
},
async oncomplete() {
async onactive() {
if ($.isInTopWindow() && this.cfg.closeSync === false) {
this.cfg.sync = false;
try {
Expand Down

0 comments on commit db44761

Please sign in to comment.