From 5b7da308528f41e482498815d661a21ed9cf1912 Mon Sep 17 00:00:00 2001 From: ubi de feo Date: Tue, 17 Dec 2024 08:37:33 +0100 Subject: [PATCH 1/4] Testing removal of blockmap files. Signed-off-by: ubi de feo --- package.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e86c5ba..37c1b6b 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "rebuild": "electron-rebuild", "dev": "electron --inspect ./", "build": "npm run post-set-shell && electron-builder", + "postbuild": "find dist -name '*.blockmap' -delete", "postinstall": "npm run post-set-shell && npm run rebuild" }, "devDependencies": { @@ -19,21 +20,26 @@ "is-ci": "^3.0.1" }, "build": { + "publish": null, "appId": "cc.arduino.micropython-lab", "artifactName": "${productName}-${os}_${arch}.${ext}", "extraResources": "./ui/arduino/helpers.py", + "generateUpdatesFilesForAllChannels": false, "mac": { "target": "zip", - "icon": "build_resources/icon.icns" + "icon": "build_resources/icon.icns", + "electronUpdaterCompatibility": false }, "win": { "target": "zip", "sign": "./build_resources/windowsCustomSign.js", - "icon": "build_resources/icon.png" + "icon": "build_resources/icon.png", + "electronUpdaterCompatibility": false }, "linux": { "target": "zip", - "icon": "build_resources/icon.icns" + "icon": "build_resources/icon.icns", + "electronUpdaterCompatibility": false }, "afterSign": "build_resources/notarize.js" }, From ea82847daf503f67d67f258b2f53845d1dc983a5 Mon Sep 17 00:00:00 2001 From: ubi de feo Date: Tue, 17 Dec 2024 08:47:05 +0100 Subject: [PATCH 2/4] Fixing redundant zipping for Win. Signed-off-by: ubi de feo --- .github/.DS_Store | Bin 6148 -> 0 bytes package.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 .github/.DS_Store diff --git a/.github/.DS_Store b/.github/.DS_Store deleted file mode 100644 index 36b372c72cba58418798b30534145e40b446efdb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKJ5EC}5S)b+K{P2TeTCe>ioyxF0D>q@p7bOlMEfevm7_8HDTp3)NfXUV>#^56 zwmik#w*YMOxmyD(086?fzI~XR@4L_Jt|CUH^Nc+PjQGNFcbsMa9dPag86!S$_|1PG z-o|n8ZJ8910#ZN7!Kn+ zdI@6l0I?TNiHy)Jsl=pOwHTIk##`m}!YMK7uxdW6Zno-BENN(xAUn^M3Q+n4QzPpaBFdz{zWMt`My&WY~Ec~Ce+IVMIq=EBSI dQzT_x^Evl>;glG3#)D4O&w%S9lLFUP;0L2O71{s* diff --git a/package.json b/package.json index 37c1b6b..b34a6b2 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "electronUpdaterCompatibility": false }, "win": { - "target": "zip", + "target": "dir", "sign": "./build_resources/windowsCustomSign.js", "icon": "build_resources/icon.png", "electronUpdaterCompatibility": false From 5ebf9d6660df6411a9090a18866307a71b8a9130 Mon Sep 17 00:00:00 2001 From: ubi de feo Date: Tue, 17 Dec 2024 09:37:24 +0100 Subject: [PATCH 3/4] Testing workflow build artifacts. Signed-off-by: ubi de feo --- .github/workflows/build.yml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7c6d53..4c23526 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ env: jobs: build: - if: github.repository == 'arduino/lab-micropython-editor' + if: github.repository == 'arduino/lab-micropython-editor' || github.event_name == 'workflow_dispatch' strategy: fail-fast: false matrix: diff --git a/package.json b/package.json index b34a6b2..abe5607 100644 --- a/package.json +++ b/package.json @@ -31,14 +31,14 @@ "electronUpdaterCompatibility": false }, "win": { - "target": "dir", + "target": "zip", "sign": "./build_resources/windowsCustomSign.js", "icon": "build_resources/icon.png", "electronUpdaterCompatibility": false }, "linux": { "target": "zip", - "icon": "build_resources/icon.icns", + "icon": "build_resources/icon.png", "electronUpdaterCompatibility": false }, "afterSign": "build_resources/notarize.js" From 91904131d9a173a289b0ec1a9f344c0279db1e90 Mon Sep 17 00:00:00 2001 From: ubi de feo Date: Tue, 17 Dec 2024 09:53:17 +0100 Subject: [PATCH 4/4] Testing workflow build artifacts. Signed-off-by: ubi de feo --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c23526..f7c6d53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ env: jobs: build: - if: github.repository == 'arduino/lab-micropython-editor' || github.event_name == 'workflow_dispatch' + if: github.repository == 'arduino/lab-micropython-editor' strategy: fail-fast: false matrix: