From a521612924a4c07dbd9fdb07fb4834abde8d886d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Thu, 30 Mar 2023 09:37:49 +0800 Subject: [PATCH 1/3] chore: cleanup --- src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index a933f3a..aee8c5c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -99,8 +99,7 @@ export default defineNuxtModule({ /** 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://` From 2d08d7cfe8cf26fade21935b5ded3cadc74330e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Thu, 30 Mar 2023 09:39:28 +0800 Subject: [PATCH 2/3] log: v0.4.5 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8a4218..0322efb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) From a86b7b42275fd459be49a53759550e9e652dab86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Thu, 30 Mar 2023 09:39:40 +0800 Subject: [PATCH 3/3] v0.4.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cb493cf..6eced29 100644 --- a/package.json +++ b/package.json @@ -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",