View Single Post
  #2  
Old 07-04-2007, 10:02 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Since you can script packages (quote below (From Ziro's thread about popup for packages)), maybe :o

Quote:
Originally Posted by Stefan View Post
There is no popup thing right now, it was planned though. You can however script it yourself, something like this (calling update() is downloading it):

PHP Code:
printPackage(getBasePackage());

function 
printPackage(package) {
  echo(
"package: " package.filename " - " package.name);
  if (
package.filename=="mymusic.gupd" &&
      
package.localversion<package.version)
    
package.update();

  for (
temp.subpackagepackage.packages)
    
printPackage(temp.subpackage);

Dunno if it helps, but

you could check in a timeout this:
PHP Code:
temp.package getBasePackage();
if (
temp.package.localversion == temp.package.version) {
  
// do stuff

__________________
Reply With Quote