Skip to content

Commit ac78a4f

Browse files
authored
Merge pull request #14 from oslabs-beta/ah/final-touches
Ah/final touches
2 parents 5b30549 + 017cffa commit ac78a4f

File tree

6 files changed

+414
-45
lines changed

6 files changed

+414
-45
lines changed

src-electron/electron-main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ function createWindow() {
2121
// nodeIntegration: true,
2222
// contextIsolation: false,
2323
contextIsolation: true,
24+
allowRunningInsecureContent: false,
2425
// More info: https://v2.quasar.dev/quasar-cli-webpack/developing-electron-apps/electron-preload-script
2526
preload: path.resolve(__dirname, process.env.QUASAR_ELECTRON_PRELOAD),
2627
},
@@ -105,7 +106,6 @@ ipcMain.handle("exportComponent", async (event, options) => {
105106
return { filePath };
106107
});
107108

108-
109109
ipcMain.handle('writeFile', async (event, filePath, content) => { //possibly merge this with 'writeJSON' handle
110110

111111
await fs.writeFile(filePath, content, (err) => {

src/assets/export-API.png

14.2 KB
Loading
11.1 KB
Loading

0 commit comments

Comments
 (0)