Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/PhieF/CarnetElectron.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2018-12-16 20:34:41 +0300
committerPhie <phie@phie.ovh>2018-12-16 20:34:41 +0300
commit26ad02b7a1a59afbe71739e61a4bfa5bdfdf1a83 (patch)
tree0110338476ddd6029e348aec6e2b689e1a3d917a /main.js
parentcbbb5ad172ecbf1eeec9828a907cf9ac2299b4e8 (diff)
sync button
Diffstat (limited to 'main.js')
-rw-r--r--main.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/main.js b/main.js
index aa01522..ea31e12 100644
--- a/main.js
+++ b/main.js
@@ -140,7 +140,12 @@ var sync = new (require("./server/sync/sync")).Sync(sendStart
}
sendStop();
});
-sync.startSync();
+sync.startSync()
+
+exports.startSync = () => {
+ return sync.startSync();
+
+}
exports.syncOneNote = (notePath) => {
sync.syncOneItem(notePath, function (error) {