Skip to content

Commit

Permalink
Merge pull request #27 from caoxiemeihao/v0.4.5
Browse files Browse the repository at this point in the history
V0.4.5
  • Loading branch information
caoxiemeihao authored Mar 30, 2023
2 parents 43ddd9f + a86b7b4 commit d465224
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.5 (2023-03-30)

- a521612 chore: cleanup
- 43ddd9f Merge pull request #26 from OyewoleOyedeji/main
- c4a050f Fixed conditional checks

## 0.4.4 (2023-03-29)

- 57f06ec docs: v0.4.4 (#21, #24)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxt-electron",
"version": "0.4.4",
"version": "0.4.5",
"description": "Nuxt Integration with Electron",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ export default defineNuxtModule<ElectronOptions>({

/** Opinionated config for Electron */
function adaptElectronConfig(options: ElectronOptions, nuxt: Nuxt) {
// Must determine the production environment
if (isProduction && !options.disableDefaultOptions) {
if (!options.disableDefaultOptions) {
// A Desktop App should be SPA
nuxt.options.ssr = false // true
// Fix path to make it works with Electron protocol `file://`
Expand Down

0 comments on commit d465224

Please sign in to comment.