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/Makefile b/Makefile index 15dad523..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" && \ - node_modules/.bin/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`)))); 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