在 Lazarus 上分发自安装包的方法是什么

发布于 2024-11-03 10:26:12 字数 337 浏览 8 评论 0原文

我已经看到了 Delphi 虚拟字符串树的自安装可执行文件。

我正在考虑为 Lazarus/FreePascal 做类似的事情,所以我的问题更像是调用地图或指令列表:

如何确定包文件夹在哪里? 如何将软件包添加到 Lazarus 的列表中? 如何触发 Lazarus 的重新编译?

请记住,我不是一个糟糕的 Object-Pascal 程序员,但在 FPC 和/或 Lazarus 工具链的文件夹结构和依赖性方面,我是一个完全的新手。

非常感谢,
Gus

PS:我知道 Marco 会回答,但社区的其他人能否做出努力并提供更多意见?
不管怎样,非常非常感谢大家!

I've seen the self installing executable for the Virtual String Tree for Delphi.

I'm thinking of doing a similar thing for Lazarus/FreePascal, so my question is more like a call for a map or a list of instructions:

How can I determine where the package folder is?
How can I add the package to the list that Lazarus has?
How do I trigger a recompile of Lazarus?

Bear in mind that I'm not a bad Object-Pascal programmer, but I AM A COMPLETE NEWBIE in regards to the folder structure and dependencies of the FPC and/or Lazarus toolchain.

Many thanks,
Gus

PS: I know it's gonna be Marco that will answer, but could the rest of the community make an effort and give some more input?
Either way, MANY, MANY thanks to all!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

聊慰 2024-11-10 10:26:12

我认为这在 FPC 中会很困难,因为在各种平台(Win/Linux/...)上,文件夹结构是不同的。此外,在 FPC 中,如果要添加放置在组件选项板上的组件,则必须重新编译 IDE。虽然不是不可能,但我认为这将是相当困难的。 FPC封装管理器还不足以满足您的需求吗?

I think this will be difficult in FPC because on the various platforms (Win/Linux/...) the folder structure is different. Also, in FPC you will have to recompile the IDE if you want to add a component that is placed on the component palette. Although not impossible, I think it will be quite difficult. Is the FPC package manager not enough for your needs?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文