gpt4 book ai didi

go - 使用akavel rsrc工具

转载 作者:IT王子 更新时间:2023-10-29 01:10:28 27 4
gpt4 key购买 nike

基本上,我遵循的是本教程: https://gowalker.org/github.com/lxn/walk

但是当使用 akavel rsrc 工具将 list 文件构建为 .syso 文件时,我遇到了以下错误:

rsrc : The term 'rsrc' is not recognized as the name of a cmdlet, function, script file, or operable program. 
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

我已经运行了 go get,包在 goprojects 文件夹中,我只是将 list 的制作从“test.manifest”更改为 windowService.manifest,但这在命令中更新了,我没有认为这是我的错误?

如果您能对此有所了解,我将不胜感激,因为 google 似乎没有专门返回任何对此工具有帮助的信息!

最佳答案

执行@JackFrost 提到的操作的更简单方法是使用您的 %GOPATH% 环境变量。

这让我免去了在 bin 文件中编译 list 文件的麻烦。

%GOPATH%\bin\rsrc.exe -manifest file.manifest -o rsrc.syso

关于go - 使用akavel rsrc工具,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34226565/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com