Shoes.rb可以创建独立的应用程序吗? [英] Can Shoes.rb Create Self-Contained Applications?
问题描述
令人鼓舞的是Shoes(Ruby GUI框架)具有出色的打包功能,但是我担心它实际上并没有将自己包裹"在创建的应用程序周围. OSX打包在.app系统中输出鞋子安装程序和鞋子文件.鞋子有什么办法可以创建一个包含鞋子的.app-不会让您安装鞋子来运行它?
It's encouraging that Shoes (the Ruby GUI framework) has excellent packaging functionality, but I'm concerned that it doesn't actually 'wrap' itself around created applications. Packaging for OSX outputs a shoes installer and a shoes file in a .app system. Is there any way that shoes could create a .app that contains shoes - that doesn't make you install shoes to run it?
我正在创建一个很小的应用程序-只是一个子进程的开始按钮和停止按钮,等等.
I'm working on creating a tiny application - just a start button and a stop button for a subprocess, etc.
推荐答案
嘿,对不起,我没有很快看到这个问题.
Hey, sorry I didn't see this question sooner.
我有一个好消息,但我有一个坏消息:您绝对可以做到这一点,但是目前没有文档.
I have good news, and I have bad news: you can absolutely do this, but there's no documentation, currently.
Hackety Hack是能做到这一点的最大程序: http://github.com/hacketyhack/hacketyhack
Hackety Hack is the biggest program that does exactly that: http://github.com/hacketyhack/hacketyhack
如果签出构建指令,则先运行rake APP=/path/to/app
,然后运行rake APP=/path/to/app installer
来构建自己的二进制文件……但是您必须对Rakefile进行一些挖掘才能弄清楚它.我认为,app.yaml是唯一需要的东西.
If you check out the build instructions, you run rake APP=/path/to/app
and then rake APP=/path/to/app installer
to build your own binary... but you'll have to do a bit of digging into the Rakefile to figure it out. I think that app.yaml is the only thing that's needed.
这篇关于Shoes.rb可以创建独立的应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!