1

当我添加这个包装指令时,它会改变我的可执行文件的描述字段。但是当我把它留空(或省略指令)时,它的值默认为Aut2Exe.

#AutoIt3Wrapper_Res_Description= 

我怎样才能改变这种行为?AutoIt3Wrapper.exe 是否有一个参数将其留空?这是 SciTE 执行的编译命令:

"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /in "C:\...\myscript.au3" /console
4

1 回答 1

0

Looking at the AutoIt3Wrapper source code, which is provided in the installation, the following line (line 2326 in my installation) reads:

If $INP_Description = "" Then $INP_Description = FileGetVersion($AutoItBin, "FileDescription")

I believe that to be the source of the Aut2Exe description.

How to force the description to be blank is a bit trickier. The quick and easy hack is to have a script that runs after compilation that removes the description, I usually have reshacker somewhere to hand for tasks like this.

Long term, I will put the issue to the developer, as it seems strange to set a description when the user has explicitly left it blank.

于 2014-12-23T00:39:33.637 回答