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.
[Ahk2Exe] Bug - invalid upx flags
Re: [Ahk2Exe] Bug - invalid upx flags
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.
-r is required when compression is used as otherwise it can't extract script as far as I remember.
Re: [Ahk2Exe] Bug - invalid upx flags
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.
Re: [Ahk2Exe] Bug - invalid upx flags
I have converted Ahk2Exe to latest v2.080 syntax
Who is online
Users browsing this forum: No registered users and 44 guests