mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
server-ts: Port services/window
This commit is contained in:
@@ -9,7 +9,7 @@ const appPath = require('../services/app_path');
|
||||
function setupPage(req, res) {
|
||||
if (sqlInit.isDbInitialized()) {
|
||||
if (utils.isElectron()) {
|
||||
const windowService = require('../services/window.js');
|
||||
const windowService = require('../services/window');
|
||||
const {app} = require('electron');
|
||||
windowService.createMainWindow(app);
|
||||
windowService.closeSetupWindow();
|
||||
|
||||
Reference in New Issue
Block a user