forked from jcfr/ResEdit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ddae56a
commit e17eeae
Showing
1 changed file
with
49 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,60 @@ | ||
OVERVIEW | ||
ResEdit | ||
======= | ||
|
||
Overview | ||
-------- | ||
|
||
ResEdit is an open source application to delete/update/add resources to an Executable or DLL | ||
|
||
PREREQUISTES | ||
Qt need to be compiled in static | ||
Otherwise after compiled the project, add new file SetEnv.bat into the executable directory | ||
Prerequistes | ||
------------ | ||
|
||
Qt need to be compiled in static ! | ||
|
||
Otherwise after compiled the project, add new file SetEnv.bat into the executable directory. | ||
|
||
SetEnv.bat contains following two lines : | ||
|
||
``` | ||
@ECHO OFF | ||
set PATH=C:\work\Qt\qt-everywhere-opensource-src-4.7.3\bin;%PATH% //link to Qt/bin | ||
``` | ||
|
||
|
||
Checkout, Configure and Build | ||
----------------------------- | ||
|
||
Use the following git command line to checkout the project : | ||
|
||
git clone git://github.com/benjaminlong/ResEdit.git ResEdit | ||
|
||
Then use cmake to configure and build. | ||
|
||
Run | ||
--- | ||
**1/ Go to the executable directory.** | ||
|
||
If you have create the file SetEnv.bat, run the following command line first: | ||
|
||
SetEnv.bat | ||
|
||
**2/ Now you can run the application.** | ||
|
||
Some examples of command lines : | ||
|
||
CHECKOUT, CONFIGURE and BUILD | ||
git clone git://github.com/benjaminlong/ResEdit.git ResEdit | ||
then use cmake to configure and build. | ||
* To show all the command lines: | ||
|
||
RUN | ||
ResEdit -help to show all the command lines | ||
``` | ||
ResEdit --help | ||
``` | ||
* To list all resources: | ||
|
||
//-------------------- | ||
To list all resources: | ||
``` | ||
ResEdit --list-resources Path/to/the/exe/or/dll | ||
ResEdit -l Path/to/the/exe/or/dll | ||
``` | ||
* To change the current ico file: | ||
|
||
//-------------------- | ||
To change the current ico file: | ||
ResEdit --update-resource-ico Path/to/the/exe/or/dll ResourceName Path/to/the/ico/resource | ||
``` | ||
ResEdit --update-resource-ico Path/to/the/exe/or/dll ResourceName Path/to/the/ico/resource | ||
``` |