From fd2f279f995b1ea89ce0704319c6e64f345b203e Mon Sep 17 00:00:00 2001 From: Shiono Yoshihide Date: Sat, 3 Feb 2024 17:46:22 +0900 Subject: [PATCH] refactor: Use electron-builder.yml instead of package.json#build property --- examples/basic-js-python/electron-builder.yml | 2 ++ examples/basic-js-python/package.json | 9 --------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/examples/basic-js-python/electron-builder.yml b/examples/basic-js-python/electron-builder.yml index 1b5a3bbe..eaae8ab3 100644 --- a/examples/basic-js-python/electron-builder.yml +++ b/examples/basic-js-python/electron-builder.yml @@ -9,4 +9,6 @@ files: filter: - package.json - app +extraFiles: + - scripts publish: null diff --git a/examples/basic-js-python/package.json b/examples/basic-js-python/package.json index 74936a2a..12b20c1e 100644 --- a/examples/basic-js-python/package.json +++ b/examples/basic-js-python/package.json @@ -10,15 +10,6 @@ "build": "nextron build", "postinstall": "electron-builder install-app-deps" }, - "build": { - "extraFiles": [ - { - "from": "scripts/", - "to": "scripts/", - "filter": "**/*" - } - ] - }, "dependencies": { "electron-serve": "^1.1.0", "electron-store": "^8.1.0"