- stubs are no longer included in makensis but read from the Stubs directory
- new /SOLID switch for SetCompressor allows setting solid compression without recompiling makensis git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3945 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c345108cc0
commit
9613c8988f
10 changed files with 157 additions and 211 deletions
|
@ -65,7 +65,7 @@ enum notify_e {
|
|||
class CEXEBuild {
|
||||
public:
|
||||
CEXEBuild();
|
||||
void setdirs(const char *argv0);
|
||||
void initialize(const char *makensis_path);
|
||||
~CEXEBuild();
|
||||
|
||||
// to add a warning to the compiler's warning list.
|
||||
|
@ -116,6 +116,8 @@ class CEXEBuild {
|
|||
int prepare_uninstaller();
|
||||
int pack_exe_header();
|
||||
|
||||
int set_compressor(const std::string& compressor, const bool solid);
|
||||
int update_exehead(const std::string& file, size_t *size=NULL);
|
||||
void update_exehead(const unsigned char *new_exehead, size_t new_size);
|
||||
|
||||
// tokens.cpp
|
||||
|
@ -281,6 +283,8 @@ class CEXEBuild {
|
|||
|
||||
// a whole bunch O data.
|
||||
|
||||
std::string stubs_dir;
|
||||
|
||||
#ifdef NSIS_CONFIG_COMPRESSION_SUPPORT
|
||||
ICompressor *compressor;
|
||||
CZlib zlib_compressor;
|
||||
|
@ -361,11 +365,12 @@ class CEXEBuild {
|
|||
|
||||
unsigned char *m_exehead;
|
||||
size_t m_exehead_size;
|
||||
size_t m_exehead_original_size;
|
||||
|
||||
int icon_offset;
|
||||
bool branding_image_found;
|
||||
WORD branding_image_id;
|
||||
unsigned char *m_unicon_data;
|
||||
size_t m_unicon_size;
|
||||
|
||||
#ifdef NSIS_SUPPORT_BGBG
|
||||
LOGFONT bg_font;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue