Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After change icon the exe file become invalid #107

Open
alex2844 opened this issue Nov 23, 2021 · 6 comments
Open

After change icon the exe file become invalid #107

alex2844 opened this issue Nov 23, 2021 · 6 comments

Comments

@alex2844
Copy link

test.exe

then it works good.

Change the icon :

rcedit test.exe --set-icon icon.ico

then execute the program again it will result an error:

Pkg: Error reading from file.
@matheussampaio
Copy link

I'm also getting similar problem. In my case, the .exe drops from 30mb to 3.4mb after changing the icon.

@cfogrady
Copy link

I'm having a similar issue. Dropped from 33MB to 1MB. Using the latest x64 release. Attempting to add an icon to an executable created from warp-packer.

@blahetal
Copy link

same issue with .NET 7.0 applications
after setting the icon, the file size dropped a lot and cannot be run

@ChampionRoy
Copy link

same issue here, any solution?

@meichthys
Copy link

I'm also seeing this when running rcedit on .exe applications that were built using pyinstaller.

@guilhermewerner
Copy link

The same thing happens to me if I change the icon of an executable created with deno compile or bun build --compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants