Standard WebOS apps

(finished)
(=)
Line 18: Line 18:
  mv framework.js.new framework.js
  mv framework.js.new framework.js
-
=========
+
=====================================
-
There are other steps to make the app run, but I won't explain them right now
+
There are other steps to make the app run, but I won't explain them right now.
 +
These require editing the index.html file to load the sources.json. Some apps (such as the .wgt version of chess.com app even though not working yet) may have the function implemented.

Revision as of 10:24, 25 April 2012

How to set up the environment

1. Download WebOS Doctor for Pre. (WebOS version 1.4.5) link 2. Now you'll have to go through a lot of unpacking. The WebOS image is in

./resources/WebOS.tar/./

its name is

nova-cust-image-<codename>.rootfs.tar.gz

3. You need to unpack at least the ./usr/palm directory for this. Unpack it anywhere you want. 4. Copy the palm directory onto your N900. I had executable MyDocs. 5. I moved the files to /home/user/palm (so the applications subfolder is /home/user/palm/applications). I'll assume they're there later. 6.

sudo ln -s /home/user/palm /usr/palm

You may want to do this too:

sudo ln -s /home/user/lib/luna /usr/lib/luna

7. Apply this patch: link to /usr/palm/frameworks/mojo/submissions/347/javascript/framework.js

patch framework.js -i framework.js.patch -o framework.js.new
mv framework.js framework.js.old
mv framework.js.new framework.js
=========================

There are other steps to make the app run, but I won't explain them right now. These require editing the index.html file to load the sources.json. Some apps (such as the .wgt version of chess.com app even though not working yet) may have the function implemented.