Merge branch 'master' into dependabot/npm_and_yarn/npm_and_yarn-ccf428d6d1

This commit is contained in:
ClaudiaFang 2026-06-19 22:06:08 +08:00 committed by GitHub
commit c50fa11ad8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 12 additions and 6 deletions

View file

@ -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

View file

@ -12,7 +12,7 @@
[繁體中文使用說明](USAGE_zh.md)
<video src="imgs/git-file-sync-en.webm" width="100%" controls autoplay loop muted playsinline></video>
[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.*

Binary file not shown.

Binary file not shown.

View file

@ -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",

View file

@ -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",

View file

@ -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) {

View file

@ -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"
}