Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

440 B
Raw Blame
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
//
// Types for peResource.js, which is plain ESM so the CLI runs it unbuilt.

/**
 * Replace a Windows executable's icon with @p png (square; scaled down to the
 * largest icon size it covers). Everything else the executable's resource tree
 * held is carried over.
 */
export function setExeIcon(exe: Buffer, png: Buffer): Buffer;