Skip to content

Commit

Permalink
update electron-build script
Browse files Browse the repository at this point in the history
  • Loading branch information
aarron-lee committed Jan 8, 2024
1 parent ca44333 commit 1aa369a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build_noerr": "vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"electron-build": "rm -rf ./electron/static/build && vite build && cp -rf ./dist ./electron/static/build && sed -i 's\\/assets\\./assets\\g' ./electron/static/build/index.html"
"electron-build": "rm -rf ./electron/static/build && mkdir -p ./electron/static/build && vite build && cp -rf ./dist ./electron/static/build && sed -i 's\\/assets\\./assets\\g' ./electron/static/build/index.html"
},
"dependencies": {
"@chakra-ui/icons": "^2.1.1",
Expand Down

0 comments on commit 1aa369a

Please sign in to comment.