#3 RoxWrap "install" script

open
nobody
None
5
2004-04-05
2004-04-05
Robin Stevens
No

I've written a simple python script that recurses
through a source directory of wrappers, checks if the
wrapped application is runable, and copies it to an
"Active Wrappers" directory.

I downloaded and un-tarred the RoxWrap-all file, then
ran this script on it. The result is the subset of
wrappers that actually work on my system.

It's very basic and makes some dubious assumptions
about the contents of the AppRun/AppletRun script - see
the process_app function. It also needs tidying up with
respect to dealing with pre-existing wrappers in the
destination directory.

I feel it's a reasonable first-stab at implementing an
idea that could be useful. To be really worthwhile the
process_app function would need to be much better at
understanding the contents of the AppRun script.

Perhaps AppRun scripts could be marked with a comment
as conforming to a standard that process_app
understands, any other script would therefore be ignored.

Discussion

  • Robin Stevens
    Robin Stevens
    2004-04-05

    RoxWrap "installer" script. Installs only Wrappers that work on your system.

     
    Attachments
  • alan johnson
    alan johnson
    2004-04-09

    Logged In: YES
    user_id=943591

    may be this will seem to work