diff --git a/.github/workflows/build-desktop-release.yml b/.github/workflows/build-desktop-release.yml index 7741d573e..28c5d1122 100644 --- a/.github/workflows/build-desktop-release.yml +++ b/.github/workflows/build-desktop-release.yml @@ -51,7 +51,7 @@ jobs: sudo ./linux-install-1.10.1.763.sh - name: Compile CLJS - run: yarn install && gulp build && yarn cljs:release + run: yarn install && gulp build && yarn cljs:release-electron - name: Update APP Version run: | diff --git a/gulpfile.js b/gulpfile.js index 6da412e65..4232e65b7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -79,7 +79,7 @@ exports.electron = () => { } exports.electronMaker = async () => { - cp.execSync('yarn cljs:release', { + cp.execSync('yarn cljs:release-electron', { stdio: 'inherit' }) diff --git a/package.json b/package.json index 56b3a980d..b2acc1700 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "cljs:app-watch": "PATCH_PARSER_WORKER=$(cat \"./templates/patch.parser.worker.js\" | sed -e \"s#PWD_ROOT#`pwd`#g\") clojure -M:cljs watch parser-worker app", "cljs:electron-watch": "PATCH_PARSER_WORKER=$(cat \"./templates/patch.parser.worker.js\" | sed -e \"s#PWD_ROOT#`pwd`#g\") clojure -M:cljs watch parser-worker app electron", "cljs:release": "clojure -M:cljs release parser-worker app publishing electron", + "cljs:release-electron": "clojure -M:cljs release parser-worker app publishing electron --config-merge '{:compiler-options {:pseudo-names true}}'", "cljs:release-app": "clojure -M:cljs release parser-worker app", "cljs:test": "clojure -M:test compile test", "cljs:run-test": "node static/tests.js",