TideSDK | Bundle packaging

给你一囗甜甜゛ 提交于 2019-12-11 18:19:15

问题


I have developed a TideSDK application and am now ready to package it, but I'm having problems with the network type installer.

It always gives me code 404 on the Application first run:

Could not query info: Invalid HTTP Status Code (404)

I presume the installer is having difficulty with reaching the correct servers and downloading the needed runtime, but I have run through most solutions on this forum, and none have worked.

So I tried a bundle packaging, as it should include such runtime, but I must be doing something wrong, since it does not bundle within the MSI. The code I'm executing is as follows:

C:\TideSDK\sdk\win32\1.2.0.RC6d\tibuild.py -p --type=BUNDLE --os=win32 "C:\path_to_app\app_dir"

I also tried:

C:\TideSDK\sdk\win32\1.2.0.RC6d\tibuild.py -p -t bundle --os=win32 "C:\path_to_app\app_dir"

And all the uppercase/lowercase combinations. Also tried version 1.2.0.4, without sucess. Am I doing something wrong?


回答1:


the network type installer is not available anymore, since appcelerator has canceled their services for titanium desktop.

So you can only do bundle packaging. Try the following command:

python tibuild.py --dest=. --type=bundle --package=. "c:\path\to\your\app\dir"

This should build and package your app and create a installer for it. Change "dest" and "package" to the directories where you want to have the built app and installation package.

You can omit the OS parameter, since the builder can only generate builds for the current OS.



来源:https://stackoverflow.com/questions/12348035/tidesdk-bundle-packaging

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!