The -x -r flags in upx don't seem to exist and cause the compression step to fail in Ahk2Exe (perhaps these were for mpress). From the mpress documentation -r is 'do not compress resources' and -x is 'do not manage exceptions (64 bit PE32+)'.
The equivalent seems of -r seems to be -compress-resources=0, but you might want to double check that since I don't understand the purpose of this.
https://github.com/HotKeyIt/Ahk2Exe/blo ... hk#L33-L34
Would it be possible to add the --best flag as well? --best reduces the exe size by about 20% for simple compiled scripts.
Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
4 posts • Page 1 of 1
To not create another thread just to ask this question, do you have plans to move your ahk2exe to make it compatible with your 2.080 release?HotKeyIt wrote:I have changed it to use mpress.
-r is required when compression is used as otherwise it can't extract script as far as I remember.
Who is online
Users browsing this forum: No registered users and 2 guests