migration now works also in electron

This commit is contained in:
azivner
2017-11-30 19:58:00 -05:00
parent 719f553054
commit 7bdf269095
9 changed files with 20 additions and 14 deletions

View File

@@ -46,4 +46,8 @@ function formatDate(date) {
function formatDateTime(date) {
return formatDate(date) + " " + formatTime(date);
}
function isElectron() {
return window && window.process && window.process.type;
}