fix(desktop-electron): fix resource loading under file:// protocol (#17125)

This commit is contained in:
Luke Parker
2026-03-12 12:19:44 +08:00
committed by GitHub
parent 1d7fcd40b4
commit 54e7baa6cf
6 changed files with 86 additions and 22 deletions
@@ -27,7 +27,7 @@ export default defineConfig({
},
renderer: {
plugins: [appPlugin],
publicDir: "../app/public",
publicDir: "../../../app/public",
root: "src/renderer",
build: {
rollupOptions: {