From e17eeae130638ee1d2a8b2f94b7e4df29ac9e696 Mon Sep 17 00:00:00 2001 From: Benjamin Long Date: Fri, 6 Apr 2012 12:19:23 -0300 Subject: [PATCH] Update README.md --- README.md | 63 ++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 49 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 35e42cc..02c93ec 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file +``` +ResEdit --update-resource-ico Path/to/the/exe/or/dll ResourceName Path/to/the/ico/resource +``` \ No newline at end of file