mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-02-24 21:18:47 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e78fe03e1 | ||
|
|
4aa8fc3519 |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-livesync",
|
||||
"name": "Self-hosted LiveSync",
|
||||
"version": "0.25.2",
|
||||
"version": "0.25.3",
|
||||
"minAppVersion": "0.9.12",
|
||||
"description": "Community implementation of self-hosted livesync. Reflect your vault changes to some other devices immediately. Please make sure to disable other synchronize solutions to avoid content corruption or duplication.",
|
||||
"author": "vorotamoroz",
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "obsidian-livesync",
|
||||
"version": "0.25.2",
|
||||
"version": "0.25.3",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "obsidian-livesync",
|
||||
"version": "0.25.2",
|
||||
"version": "0.25.3",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.808.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "obsidian-livesync",
|
||||
"version": "0.25.2",
|
||||
"version": "0.25.3",
|
||||
"description": "Reflect your vault changes to some other devices immediately. Please make sure to disable other synchronize solutions to avoid content corruption or duplication.",
|
||||
"main": "main.js",
|
||||
"type": "module",
|
||||
|
||||
@@ -14,7 +14,7 @@ import { performDoctorConsultation, RebuildOptions } from "../../lib/src/common/
|
||||
|
||||
export class ModuleMigration extends AbstractModule implements ICoreModule {
|
||||
async migrateUsingDoctor(skipRebuild: boolean = false, activateReason = "updated", forceRescan = false) {
|
||||
const { shouldRebuild, shouldRebuildLocal, isModified } = await performDoctorConsultation(
|
||||
const { shouldRebuild, shouldRebuildLocal, isModified, settings } = await performDoctorConsultation(
|
||||
this.core,
|
||||
this.settings,
|
||||
{
|
||||
@@ -24,7 +24,10 @@ export class ModuleMigration extends AbstractModule implements ICoreModule {
|
||||
forceRescan,
|
||||
}
|
||||
);
|
||||
if (isModified) await this.core.saveSettings();
|
||||
if (isModified) {
|
||||
this.settings = settings;
|
||||
await this.core.saveSettings();
|
||||
}
|
||||
if (!skipRebuild) {
|
||||
if (shouldRebuild) {
|
||||
await this.core.rebuilder.scheduleRebuild();
|
||||
|
||||
@@ -224,7 +224,7 @@ export class ModuleSetupObsidian extends AbstractObsidianModule implements IObsi
|
||||
if (isModified) {
|
||||
this._log("Doctor has fixed some issues!", LOG_LEVEL_NOTICE);
|
||||
return {
|
||||
settings: settings,
|
||||
settings,
|
||||
shouldRebuild,
|
||||
isModified,
|
||||
};
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
## 0.25.3
|
||||
22nd July, 2025
|
||||
|
||||
### Fixed
|
||||
- Now the `Doctor` at migration will save the configuration.
|
||||
|
||||
## 0.25.2 ~~0.25.1~~
|
||||
(0.25.1 was missed due to a mistake in the versioning process).
|
||||
19th July, 2025
|
||||
|
||||
Reference in New Issue
Block a user