 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
meter
Joined: 12 Jul 2006 Posts: 28
|
Posted: Mon May 12, 2008 6:20 pm Post subject: Adding an "off" item in the compiler's "Compr |
|
|
I know this has come up before, but I just wanted to add my two-devaluated-U.S.-cents worth.
I think it would be nice to be able to turn off the compiler's UPX compression from the GUI rather than having to rename upx.exe to disable it. A reasonable place for this would be an "off" option in the compiler's "Compression" menu. And if you add a command-line option for this as well, I will give you my first-born kitten.
(In case you're wondering, the UPX issue recently bit me with an update to my anti-virus software -- documented here.) _________________ -Meter |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 926
|
Posted: Mon May 12, 2008 8:39 pm Post subject: |
|
|
Add a "compile no UPX" option to shell menu: | Code: | ; Modified by [VxE] from code by Yek-Toho-Tua, bragging rights reserved.
Pth := SubStr( A_AHKPath, 1, -14 )
FileCopyDir, %Pth%Compiler, %Pth%Compiler_noUPX
FileDelete, %Pth%Compiler_noUPX\upx.exe
RegWrite, REG_SZ, HKEY_CLASSES_ROOT, AutoHotkeyScript\Shell\Compile_noUPX\, , Compile (No UPX)
RegWrite, REG_SZ, HKCR, AutoHotkeyScript\Shell\Compile_noUPX\Command, , "%Pth%Compiler_noUPX\Ahk2Exe.exe" /in "`%l" |
I think I'm just going to start pasting this in every "zomg some AV sez AHk is virus LuLZ!" thread I see. _________________ My Home Thread
More Common Answers: 1. It's in the FAQ 2. Ternary ( ? : ) guide 3. Post code with [code][/code] tags |
|
| Back to top |
|
 |
meter
Joined: 12 Jul 2006 Posts: 28
|
Posted: Tue May 13, 2008 6:04 am Post subject: |
|
|
VxE,
Nice tweak. But you sorta reinforce my point: if the issue comes up often enough, why not make the solution part of the UI? _________________ -Meter |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|