From 929afde2ba7b2dacbd8f80dd9b798d1a7bd49aee Mon Sep 17 00:00:00 2001 From: Meng-Yuan Huang Date: Sun, 10 Apr 2022 21:33:28 +0800 Subject: [PATCH] * Fix dist-mac and dist-mas. --- electronBuilderConfigs/mac.json | 3 ++- electronBuilderConfigs/mas.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/electronBuilderConfigs/mac.json b/electronBuilderConfigs/mac.json index 39fe872..ef934a6 100644 --- a/electronBuilderConfigs/mac.json +++ b/electronBuilderConfigs/mac.json @@ -3,7 +3,8 @@ "appId": "io.github.mrmyhuang.cbetar2", "files": [ "buildElectron/**/*", - "package.json" + "package.json", + "!**/node_modules/**/*.{mk,a,h,cpp}" ], "extraResources": [ { diff --git a/electronBuilderConfigs/mas.json b/electronBuilderConfigs/mas.json index 15d8b12..bf61ff5 100644 --- a/electronBuilderConfigs/mas.json +++ b/electronBuilderConfigs/mas.json @@ -3,7 +3,8 @@ "appId": "io.github.mrmyhuang.cbetar2", "files": [ "buildElectron/**/*", - "package.json" + "package.json", + "!**/node_modules/**/*.{mk,a,h,cpp}" ], "icon": "buildElectron/icon.icns", "mac": {