You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
580 B
23 lines
580 B
package adecWatt.control;
|
|
|
|
import java.io.File;
|
|
|
|
import misc.Config;
|
|
import misc.RemoteUpdate;
|
|
|
|
public class LaunchUpdatedAdecWatt {
|
|
|
|
// ========================================
|
|
static public void main (String[] args) {
|
|
System.err.println ("LaunchUpdatedAdecWatt...");
|
|
Config.setPWD (LaunchUpdatedAdecWatt.class);
|
|
File dir = Config.getPWD ().getParentFile ();
|
|
RemoteUpdate.renameNewFile (dir);
|
|
|
|
File softDir = new File (dir, "soft");
|
|
File jar = new File (softDir, "AdecWatt.jar");
|
|
RemoteUpdate.launch (jar);
|
|
}
|
|
|
|
// ========================================
|
|
}
|
|
|