Results 1 to 1 of 1
  1.    #1  
    The easy way:
    After installing the webOS SDK, you can package your Enyo or Mojo application using palm-package application-folder. More information can be found here

    IPK packaging for everything else:
    You can grab IPK packager from Google Code here: ipk-packager - Cross-Platform webOS Ipk Packager - Google Project Hosting

    If you need to have a script run right after install, or right before uninstall, you can create the scripts, and reference them in IPK Packager. Reference them in IPK packager using the section “optional package details.” The scripts do not have to be inside the directory for what you are packaging, and are shell scripts.

    The first option, folder, is the folder you are packaging. The folder will become the root of the package. You can limit it by architecture using the Arch option.

    PostInst script will run right after all the files have been copied over. Prerem script runs right before they are removed. This is a good place actions like copying a font over, or modifying other files. Scripts run relative to the root directory, and you may have to use an absolute path with the command, like "/bin/cp". If you are going to use a file or script inside your package, it needs to be referenced with it's absolute path also.

    If your package requires a Luna or device restart after install, upgrade or removal, that can be set in the flags section. You can also set the minimum and max webOS versions here.

    If anyone knows how to do this manually, that'd be awesome to know also. I couldn't find a doc anywhere about this, so now its posted here.
    Attached Images Attached Images

Tags for this Thread

Posting Permissions