diff --git a/CHANGELOG.md b/CHANGELOG.md index 55ca7f0..8b9ee5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [1.1.2](https://github.com/firstsun-dev/git-files-sync/compare/1.1.1...1.1.2) (2026-06-16) + +### Bug Fixes + +* **lint:** replace activeWindow.setTimeout with setTimeout ([4099f44](https://github.com/firstsun-dev/git-files-sync/commit/4099f44fa5643ce5799eef74fb23f41fae0da991)) + ## [1.1.1](https://github.com/firstsun-dev/git-files-sync/compare/1.1.0...1.1.1) (2026-06-16) ### Bug Fixes diff --git a/README.md b/README.md index 80f808d..887bf97 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ [繁體中文使用說明](USAGE_zh.md) - +[git-file-sync](https://github.com/user-attachments/assets/78f383be-e8a4-4c9c-8845-1f46d06ea661) ![sync-status](imgs/sync-status.png) *The Sync Status View provides a clear overview of your files, allowing you to selectively push, pull, or view diffs for modified files.* diff --git a/imgs/git-file-sync-en.webm b/imgs/git-file-sync-en.webm index 75fa63e..e70ef4d 100644 Binary files a/imgs/git-file-sync-en.webm and b/imgs/git-file-sync-en.webm differ diff --git a/imgs/git-file-sync-zh.webm b/imgs/git-file-sync-zh.webm index 1649a38..a80b75e 100644 Binary files a/imgs/git-file-sync-zh.webm and b/imgs/git-file-sync-zh.webm differ diff --git a/manifest.json b/manifest.json index cc17128..6de16eb 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "git-file-sync", "name": "Git File Sync", - "version": "1.1.1", + "version": "1.1.2", "minAppVersion": "1.12.7", "description": "Selectively sync individual notes with GitLab or GitHub. Push, pull, diff, and resolve conflicts — file by file, on mobile and desktop.", "author": "ClaudiaFang", diff --git a/package.json b/package.json index a350268..16e65e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "git-file-sync", - "version": "1.1.1", + "version": "1.1.2", "description": "Selectively sync individual notes with GitLab or GitHub. Push, pull, diff, and resolve conflicts — file by file, on mobile and desktop.", "main": "main.js", "type": "module", diff --git a/src/ui/SyncStatusView.ts b/src/ui/SyncStatusView.ts index 110354b..64706d4 100644 --- a/src/ui/SyncStatusView.ts +++ b/src/ui/SyncStatusView.ts @@ -244,8 +244,7 @@ export class SyncStatusView extends ItemView { await this.plugin.sync.pullFile(fileStatus.file || fileStatus.path); } - // eslint-disable-next-line no-undef - await new Promise(r => activeWindow.setTimeout(r, 500)); + await new Promise(r => setTimeout(r, 500)); await this.refreshFileStatus(fileStatus.file || fileStatus.path); this.renderView(); } catch (e) { diff --git a/versions.json b/versions.json index 8a4c4db..ea6286f 100644 --- a/versions.json +++ b/versions.json @@ -3,5 +3,6 @@ "1.1.0": "1.12.7", "1.0.5": "1.12.7", "1.0.6": "1.12.7", - "1.1.1": "1.12.7" + "1.1.1": "1.12.7", + "1.1.2": "1.12.7" } \ No newline at end of file