client options

This commit is contained in:
bordun 2020-03-12 12:07:58 +01:00
parent 1750909f24
commit f58db44858
8 changed files with 38 additions and 32 deletions

View file

@ -1,11 +1,12 @@
require('./stacktrace')
require('./globals')
var locales = require('./locales'),
html = require('nanohtml')
document.addEventListener('DOMContentLoaded', function(event) {
require('./globals')
var locales = require('./locales'),
html = require('nanohtml')
DOM.get(document, '#osc-greeting-header')[0].appendChild(html`${PACKAGE.productName} <span class="version">v${PACKAGE.version}</span>`)
DOM.init()
@ -23,7 +24,7 @@ document.addEventListener('DOMContentLoaded', function(event) {
document.title = TITLE
ipc.send('ready', {backupId: ARGV.backupId})
ipc.send('ready', {backupId: ENV.backupId})
}, 100)