Comments (4)
Just used Ressy to make a small command line tool to change the version number of exe files on our CI server (Linux). It worked with wine no issue.
I know its not ideal, but just wanted to let people, who might be looking, know.
from ressy.
Just used Ressy to make a small command line tool to change the version number of exe files on our CI server (Linux). It worked with wine no issue. I know its not ideal, but just wanted to let people, who might be looking, know.
Nice 🙂 Glad it worked for you.
from ressy.
Another reason not to use Windows API:
It seems that all resource functions create temporary files on disk when reading/writing resources. These files are not always deleted, for example if the function fails in some very fatal way. Additionally, if the PE is corrupted (easy to reproduce by changing a random string to a shorter/longer string without updating the pointers in the headers), then these files end up growing indefinitely and never get deleted. Working with binary files ourselves gives us more control and lets us avoid such problems.
from ressy.
Maybe these classes could be helpful:
- https://learn.microsoft.com/en-us/dotnet/api/system.reflection.portableexecutable.pereader
- https://learn.microsoft.com/en-us/dotnet/api/system.reflection.portableexecutable.managedpebuilder
from ressy.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ressy.