mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-06 20:15:33 -05:00
16 lines
351 B
JavaScript
16 lines
351 B
JavaScript
require('./setRequireHook');
|
|
require('module').globalPaths.push(__dirname + '/..');
|
|
|
|
global.fetch = require('node-fetch');
|
|
|
|
// Lazy load backend code
|
|
function getBackend() {
|
|
// eslint-disable-next-line import/extensions
|
|
return require('loot-core/lib-dist/bundle.desktop.js');
|
|
}
|
|
|
|
const isDev = false;
|
|
|
|
// Start the app
|
|
getBackend().initApp(isDev);
|