mirror of
https://github.com/heyman/heynote.git
synced 2026-02-06 11:27:25 +00:00
9 lines
259 B
JavaScript
9 lines
259 B
JavaScript
const path = require('node:path')
|
|
const { app } = require('electron')
|
|
|
|
if (process.env.HEYNOTE_TEST_USER_DATA_DIR) {
|
|
app.setPath('userData', process.env.HEYNOTE_TEST_USER_DATA_DIR)
|
|
}
|
|
|
|
require(path.join(process.cwd(), 'dist-electron', 'main', 'index.js'))
|