mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-19 11:09:03 +00:00
Update createWindow.js
This commit is contained in:
parent
f8bec8eeb4
commit
a893c3f4a7
@ -17,6 +17,10 @@ module.exports = (store, __exports) => {
|
|||||||
path = require('path'),
|
path = require('path'),
|
||||||
helpers = require('../../pkg/helpers.js');
|
helpers = require('../../pkg/helpers.js');
|
||||||
|
|
||||||
|
__exports.getIndexUrl = require(`${helpers
|
||||||
|
.getNotionResources()
|
||||||
|
.replace(/\\/g, '/')}/app/helpers/urlHelpers.js`).getIndexUrl;
|
||||||
|
|
||||||
__exports.createWindow = function (relativeUrl, focused_window) {
|
__exports.createWindow = function (relativeUrl, focused_window) {
|
||||||
if (!relativeUrl) relativeUrl = '';
|
if (!relativeUrl) relativeUrl = '';
|
||||||
const window_state = require(`${helpers
|
const window_state = require(`${helpers
|
||||||
|
Loading…
Reference in New Issue
Block a user