在评估Install4j
安装程序的MacOSX
时,生成的应用程序在结构上与标准MacOSX
应用程序不同。选择的可执行文件类型是Launcher配置屏幕中的GUI。
我们目前得到的是:
xxx.jar <==== jar file (provided to Install4j)
.install4j
\jre.bundle <=== bundled jre (bundled by Install4j)
<other install4j stuff>
[Appname].app
\MacOSX
Launcher <==== (generated by Install4j)
\Contents
\Resources
\resources
<icon files> <==== icons (provided to Install4j)
我们如何将相应的文件放在创建的[Appname].app
文件夹中:
[Appname].app
\MacOSX
Launcher <==== (generated by Install4j)
\Contents
\Resources
\resources
<icon files> <==== icons (provided to Install4j)
\jre <=== bundled jre (bundled by Install4j)
xxx.jar <==== jar file (provided to Install4j)
上述内容最有用且可以.tgz
文件格式移植,最终用户可以解压缩文件并将[Appname].app
拖放到Mac系统上的Applications
文件夹中。
答案 0 :(得分:0)
而不是使用&#34;文件夹存档&#34;媒体文件类型,使用&#34;单一包存档&#34;媒体文件类型。