Skip to content

Commit

Permalink
[FEATURE] Added icon
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Apr 9, 2018
1 parent 3fb7fbc commit bb90893
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Expand Up @@ -74,6 +74,11 @@ set (hdrs
${utils_hdrs}
)

set (rsrc
resources.h
resources.rc
)

SOURCE_GROUP("Source Files\\scanners" FILES ${scanners_srcs} )
SOURCE_GROUP("Header Files\\scanners" FILES ${scanners_hdrs} )

Expand All @@ -93,7 +98,7 @@ if(PESIEVE_AS_DLL)
)
add_library ( ${PROJECT_NAME} SHARED ${dll_hdrs} ${srcs} dll_main.cpp main.def)
else()
add_executable ( ${PROJECT_NAME} ${hdrs} ${srcs} main.cpp )
add_executable ( ${PROJECT_NAME} ${hdrs} ${srcs} ${rsrc} main.cpp )
endif()

target_link_libraries ( ${PROJECT_NAME} ${PECONV_LIB} )
Expand Down
Binary file added logo/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion pe_sieve.h
Expand Up @@ -7,7 +7,7 @@
#include "scanners/scan_report.h"
#include "report_formatter.h"

static char VERSION[] = "0.0.9.9.8-b3";
static char VERSION[] = "0.0.9.9.8-b4";
static char URL[] = "https://github.com/hasherezade/pe-sieve";

std::string info();
Expand Down
Empty file added resources.h
Empty file.
56 changes: 56 additions & 0 deletions resources.rc
@@ -0,0 +1,56 @@
// Microsoft Visual C++ generated resource script.
//
#include "resources.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "windows.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS


#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE
BEGIN
"resources.h\0"
END

2 TEXTINCLUDE
BEGIN
"#include ""windows.h""\r\n"
"\0"
END

3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END

#endif // APSTUDIO_INVOKED

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "logo/favicon.ico"
/////////////////////////////////////////////////////////////////////////////

#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

0 comments on commit bb90893

Please sign in to comment.