Compare commits

..
2 Commits
Author SHA1 Message Date
fyears 690f56945a bump to 0.5.8
Release A New Version / build (16.x) (push) Failing after 51s
2024-06-18 23:10:18 +08:00
fyears a764e419e7 add koofr 2024-06-18 23:05:30 +08:00
5 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"id": "remotely-save", "id": "remotely-save",
"name": "Remotely Save", "name": "Remotely Save",
"version": "0.5.7", "version": "0.5.8",
"minAppVersion": "0.13.21", "minAppVersion": "0.13.21",
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.", "description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
"author": "fyears", "author": "fyears",
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"id": "remotely-save", "id": "remotely-save",
"name": "Remotely Save", "name": "Remotely Save",
"version": "0.5.7", "version": "0.5.8",
"minAppVersion": "0.13.21", "minAppVersion": "0.13.21",
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.", "description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
"author": "fyears", "author": "fyears",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "remotely-save", "name": "remotely-save",
"version": "0.5.7", "version": "0.5.8",
"description": "This is yet another sync plugin for Obsidian app.", "description": "This is yet another sync plugin for Obsidian app.",
"scripts": { "scripts": {
"dev2": "node esbuild.config.mjs --watch", "dev2": "node esbuild.config.mjs --watch",
+4 -1
View File
@@ -1797,6 +1797,9 @@ export default class RemotelySavePlugin extends Plugin {
) { ) {
if (this.statusBarElement === undefined) return; if (this.statusBarElement === undefined) return;
// console.debug(lastSuccessSyncMillis);
// console.debug(lastFailedSyncMillis);
const t = (x: TransItemType, vars?: any) => { const t = (x: TransItemType, vars?: any) => {
return this.i18n.t(x, vars); return this.i18n.t(x, vars);
}; };
@@ -1811,7 +1814,7 @@ export default class RemotelySavePlugin extends Plugin {
const isSuccess = const isSuccess =
(lastSuccessSyncMillis ?? -999) >= (lastFailedSyncMillis ?? -999); (lastSuccessSyncMillis ?? -999) >= (lastFailedSyncMillis ?? -999);
if (lastSuccessSyncMillis === -1) { if (this.isSyncing) {
// magic number // magic number
// otherwise how can we know we are syncing?? // otherwise how can we know we are syncing??
lastSyncMsg = lastSyncMsg =
+1 -1
View File
@@ -1898,7 +1898,7 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
"yandexdisk", "yandexdisk",
t("settings_chooseservice_yandexdisk") t("settings_chooseservice_yandexdisk")
); );
// dropdown.addOption("koofr", t("settings_chooseservice_koofr")); dropdown.addOption("koofr", t("settings_chooseservice_koofr"));
dropdown dropdown
.setValue(this.plugin.settings.serviceType) .setValue(this.plugin.settings.serviceType)