Hi,
We just landed the pieces that will make installing/uninstalling
applications work when Crosswalk is run in the 'run-as-service' mode.
In the 'run-as-service' mode Crosswalk will effectively become a
daemon, with a D-Bus interface that allows managing applications
(installing, uninstallingand launching). Using the session activation,
Crosswalk will only run when it is needed. And with this last piece
in, all the tasks can be accomplished by a unpriviled user.
How to test
===========
(Copying parts the message of commit
b6e4b83bdfe44d3c1bb03f25d0508ad8960c3a45)
$ whoami
app
[ Because shell via sdb doesn't set the right D-Bus session address,
we need to set it manually because systemctl uses it. Our xwalk
tools on Tizen will automatically find the right address. ]
$ export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/app/dbus/user_bus_socket
$ systemctl --user status xwalk.service
[ To verify that the xwalk.service was installed and systemd knows
about it ]
$ xwalkctl --install <path to xpk file of application>
[ This will install the application, and its icon should appear on
the Tizen launcher ] [ Clicking on the application icon should
launch it, and you should be able to use the Tizen task manager to
kill and change to the launched application ]
$ xwalkctl
[ This will list the installed applications ]
$ xwalkctl --uninstall <app_id>
[ Will uninstall the application, removing it from the Tizen
launcher ]
Cheers,
--
Vinicius
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev