From 15146f9d887d3fb7dad1fbd70027fcddf2ffb3b1 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Mar 2026 03:49:00 +0000 Subject: [PATCH 1/3] fix: restore npx rcedit in build-windows (not a local dep) Co-Authored-By: Claude Sonnet 4.6 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 15dad523..c76eed03 100644 --- a/Makefile +++ b/Makefile @@ -154,7 +154,7 @@ build-windows: echo "==> Package app (win32-x64)" && \ VSCODE_ARCH=x64 node_modules/.bin/gulp vscode-win32-x64-min-ci && \ echo "==> Stamp app icon" && \ - node_modules/.bin/rcedit "$(PROJECT_ROOT)/apps/VSCode-win32-x64/OCcode.exe" --set-icon resources/win32/code.ico && \ + npx rcedit "$(PROJECT_ROOT)/apps/VSCode-win32-x64/OCcode.exe" --set-icon resources/win32/code.ico && \ echo "==> Copy inno_updater to build" && \ VSCODE_ARCH=x64 node_modules/.bin/gulp vscode-win32-x64-inno-updater && \ echo "==> Build Windows installers" && \ From e65037fe79b6d2dce5a6254c922219818b573566 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Mar 2026 03:59:22 +0000 Subject: [PATCH 2/3] fix: replace npx rcedit with gulp task for win32 icon stamping rcedit is a Node.js module with no CLI binary, so npx rcedit fails. Add vscode-win32-{x64,arm64}-stamp-icon gulp tasks using the existing updateIcon helper and call the gulp task from build-windows instead. Co-Authored-By: Claude Sonnet 4.6 --- Makefile | 2 +- apps/editor/build/gulpfile.vscode.win32.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c76eed03..c37a880f 100644 --- a/Makefile +++ b/Makefile @@ -154,7 +154,7 @@ build-windows: echo "==> Package app (win32-x64)" && \ VSCODE_ARCH=x64 node_modules/.bin/gulp vscode-win32-x64-min-ci && \ echo "==> Stamp app icon" && \ - npx rcedit "$(PROJECT_ROOT)/apps/VSCode-win32-x64/OCcode.exe" --set-icon resources/win32/code.ico && \ + node_modules/.bin/gulp vscode-win32-x64-stamp-icon && \ echo "==> Copy inno_updater to build" && \ VSCODE_ARCH=x64 node_modules/.bin/gulp vscode-win32-x64-inno-updater && \ echo "==> Build Windows installers" && \ diff --git a/apps/editor/build/gulpfile.vscode.win32.js b/apps/editor/build/gulpfile.vscode.win32.js index 98175f53..3a8a45e9 100644 --- a/apps/editor/build/gulpfile.vscode.win32.js +++ b/apps/editor/build/gulpfile.vscode.win32.js @@ -157,3 +157,6 @@ function updateIcon(executablePath) { gulp.task(task.define('vscode-win32-x64-inno-updater', task.series(copyInnoUpdater('x64'), updateIcon(path.join(buildPath('x64'), 'tools', 'inno_updater.exe'))))); gulp.task(task.define('vscode-win32-arm64-inno-updater', task.series(copyInnoUpdater('arm64'), updateIcon(path.join(buildPath('arm64'), 'tools', 'inno_updater.exe'))))); + +gulp.task(task.define('vscode-win32-x64-stamp-icon', updateIcon(path.join(buildPath('x64'), `${product.nameShort}.exe`)))); +gulp.task(task.define('vscode-win32-arm64-stamp-icon', updateIcon(path.join(buildPath('arm64'), `${product.nameShort}.exe`)))); From 82cea7c0d4be00e570f18f87e93da825f9213ae4 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Mar 2026 04:03:10 +0000 Subject: [PATCH 3/3] chore(release): 3.2.46 --- CHANGELOG.md | 8 ++++++++ package.json | 2 +- version.txt | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 832ef60d..c9e096f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. +## [3.2.46](https://github.com/damoahdominic/occ/compare/v3.2.45...v3.2.46) (2026-03-31) + + +### Bug Fixes + +* replace npx rcedit with gulp task for win32 icon stamping ([e65037f](https://github.com/damoahdominic/occ/commit/e65037fe79b6d2dce5a6254c922219818b573566)) +* restore npx rcedit in build-windows (not a local dep) ([15146f9](https://github.com/damoahdominic/occ/commit/15146f9d887d3fb7dad1fbd70027fcddf2ffb3b1)) + ## [3.2.45](https://github.com/damoahdominic/occ/compare/v3.2.42...v3.2.45) (2026-03-31) diff --git a/package.json b/package.json index 277bf9de..524c0a62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "occode", - "version": "3.2.45", + "version": "3.2.46", "private": true, "description": "OCcode — branded cross-platform IDE wrapper with OpenClaw extension", "workspaces": [ diff --git a/version.txt b/version.txt index 0a0a9272..96395c56 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.2.45 \ No newline at end of file +3.2.46 \ No newline at end of file