Commit 412ea67c authored by rocosen's avatar rocosen

Update main.ts

parent 846900a1
......@@ -74,7 +74,7 @@ ipcMain.on('createNewWindow', () => {
// win.loadURL(path.join('file:', __dirname, 'new.html')); //new.html是新开窗口的渲染进程
// win.loadURL(winURL);
// win.loadURL(resolveHtmlPath('index.html/#/site'));
win.loadFile(resolveHtmlPath('./index.html'), {
win.loadFile(resolveHtmlPath('/index.html'), {
hash: 'site',
});
// win.loadURL(process.resourcesPath)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment