Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Now check for updates when the app is launched using InstallAnywhere …
…PowerUpdate.
  • Loading branch information
Chris Smith committed Nov 21, 2001
1 parent 4bb9cc8 commit b1feb23
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions com/gallery/GalleryRemote/GalleryRemote.java
Expand Up @@ -21,6 +21,7 @@

package com.gallery.GalleryRemote;
import javax.swing.*;
import java.io.*;

public class GalleryRemote {
public GalleryRemote() {
Expand All @@ -45,6 +46,13 @@ public GalleryRemote() {
// Main entry point
static public void main(String[] args) {
new GalleryRemote();

//-- check for updated version of the app, using InstallAnywhere's --
//-- PowerUpdate service ---
try{
Runtime.getRuntime().exec("update -whisper");
} catch (IOException e) {
}
}

}

0 comments on commit b1feb23

Please sign in to comment.