是否有一个脚本可以将 Pharo 核心图像变成更有用的东西,其中包括 OmniBrowser?

发布于 2024-07-26 05:09:51 字数 112 浏览 3 评论 0原文

由于 Pharo 内置的编译器存在一些奇怪的问题,我无法使用最新的开发 Pharo 版本。 出色地。 我想知道是否有一种快速方法可以将核心映像与开发映像相比所缺少的所有漂亮的附加功能安装到 Pharo 中。

I cannot use the most recent dev Pharo release because of some strange issues with the compiler built into Pharo. Well. I was wondering if there is a quick way to install all the nifty extras into Pharo that the core image misses, as compared to the dev image.

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

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

发布评论

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

评论(4

我的鱼塘能养鲲 2024-08-02 05:09:52

好的,OB 本身可以使用 ScriptLoader loadSuperOB 轻松下载。

达米安补充道(来自下面的评论):

这种方法的问题在于没有人真正维护它。
而且,你错过了一些增强OB使用的配置步骤
(例如,如果您要求
来自工作区的消息的发送者)

Ok, OB itself can be easily downloaded using ScriptLoader loadSuperOB.

Damien adds (from comment below):

The problem with that approach is that nobody really maintains it.
Moreover, you miss some configuration steps to enhance the use of OB
(for example, you won't have the OB-based browsers if you ask for the
senders of a message from a workspace)

陌上芳菲 2024-08-02 05:09:51

所有非核心 Pharo 映像都会附带一个用于构建该映像的脚本。 只需编辑该文件并将其拖放到新的核心上即可。

您也可以告诉我您不喜欢 Pharo 图像中的哪些内容,以便我可以对其进行增强。

With all non-core Pharo images come a script which was used to build that image. Just edit that file and drag&drop it on a new core.

You could also tell me what you don't like in the Pharo images so that I can enhance them.

束缚m 2024-08-02 05:09:51

还有我在 Pharo wiki 上发布的用于构建图像的脚本:

http ://code.google.com/p/pharo/wiki/ImageBuildScripts

当然,它非常适合我的喜好和需求,但您可以将其作为示例并根据自己的需求进行调整。

There is also the script I published on the Pharo wiki that I use to build my images:

http://code.google.com/p/pharo/wiki/ImageBuildScripts

Of course it is very specific to my preferences and needs, but you can take it as an example and adapt it to your own needs.

天赋异禀 2024-08-02 05:09:51

CommandShell 适用于 Pharo 9.10.10。 由于 Pharo 缺乏 MVC,当您尝试加载包时,您会遇到几个错误,但您可以简单地继续执行第一组并放弃最后一个(尝试在 Morphic 中实际打开 CommandShell)。 此时,您将拥有一个名为 PipeableOSProcess 的类,可以非常轻松地使用它来获取输出。 例如:

(PipeableOSProcess command: 'ls /bin') output

将以字符串形式返回 bin 目录的内容。

CommandShell works with Pharo 9.10.10. You will hit several errors as you try to load the package due to Pharo lacking MVC, but you can simply proceed past the first bunch and abandon the last one (that tries to actually open a CommandShell in Morphic). At that point, you'll have a class called PipeableOSProcess that can be used very easily to grab output. For example:

(PipeableOSProcess command: 'ls /bin') output

will return the contents of your bin directory as a string.

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