Hi there,

At the moment the Crosswalk desktop user should do the following steps to run 
an xwalk application (.xpk or .wgt)
1) "install" it using xwalkctl (means recording it application storage)
2) obtain the generated app_id
3) finally run the app via id

Apparently this logic was designed for Tizen where Crosswalk is used as the 
platform web-runtime.
This scenario however looks really weird on desktop as it contains home-brewed 
application management 
(which is apart from the platform application management on desktop) and forces 
the User to be aware of
some generated app id.

I propose us to drop this scenario on desktop and support the following 
scenarios there:

1) Run arbitrary URL (this is already done) -> xwalk http://someurl.com
2) Run the unpacked application  -> xwalk local/path/to/manifest.json
At the moment Crosswalk can run the unpacked app from the path to 
*the directory containing manifest.json* I propose to use instead path to the 
manifest file.
3) Run packed application -> xwalk path/to/my_app.xpk
This is not supported now. Crosswalk could unpack the app to a temporary 
directory and erase it after the execution.

Doing this also allows us to move all the application storage & application 
management code to 'tizen' folder and remove the unnecessary abstraction code.
This should significantly simplify our code in 'application' folder.

BR,
Mikhail
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to