We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51eda3f commit 655eec0Copy full SHA for 655eec0
scripts/build-electron.js
@@ -78,14 +78,14 @@ async function main() {
78
console.log('The directory has been created successfully!');
79
80
// Copy build
81
- await copyFolderIfExists('packages/bruno-app/out', 'packages/bruno-electron/web');
+ await copyFolderIfExists('packages/bruno-app/dist', 'packages/bruno-electron/web');
82
83
// Change paths in next
84
const files = await fs.readdir('packages/bruno-electron/web');
85
for (const file of files) {
86
if (file.endsWith('.html')) {
87
let content = await fs.readFile(`packages/bruno-electron/web/${file}`, 'utf8');
88
- content = content.replace(/\/_next\//g, '_next/');
+ content = content.replace(/\/static/g, './static');
89
await fs.writeFile(`packages/bruno-electron/web/${file}`, content);
90
}
91
0 commit comments