项目作者: 0x546F6D

项目描述 :
3.5 KB "Change Executable Icon" exe for Command Line, working on Windows 10 Version 2004 (Win10 19041.685), based on https://github.com/fatrolls/IconChanger
高级语言: C
项目地址: git://github.com/0x546F6D/cei_-_Change_Executable_Icon.git
创建时间: 2021-01-05T17:12:39Z
项目社区:https://github.com/0x546F6D/cei_-_Change_Executable_Icon

开源协议:The Unlicense

下载


cei_-_Change_Executable_Icon

Change Executable Icon for command line:

Compiled with MSYS2/MinGW-w64:

  1. $ gcc -o cei cei.c -s -O3 -Wl,--gc-sections -fno-asynchronous-unwind-tables -nostartfiles --entry=cei

Usage:

  1. > cei PATH\TO\ICO PATH\TO\EXE [PATH\TO\NEWEXEWITHICO]
  • If [PATH\TO\NEWEXEWITHICO] is ommitted, cei.exe edits the original .exe located at PATH\TO\EXE
  • If [PATH\TO\NEWEXEWITHICO] is passed, cei.exe makes a copy of the original .exe to PATH\TO\NEWEXEWITHICO, and edits this copy

Notes:

  • !! Some executables wont work anymore after changing their icon.. !!
  • ..So make a backup beforehand and/or pass [PATH\TO\NEWEXEWITHICO] as a 3rd argument

To view the source code in your browser with original tabbing (4 white-spaces instead of browsers default 8), add ‘/?ts=4’ to url.
Works on Firefox/Chrome based browser, except for edge..
https://github.com/0x546F6D/cei_-_Change_Executable_Icon/blob/main/cei.c/?ts=4