Changeset 159

Show
Ignore:
Timestamp:
01/15/10 19:43:05 (2 years ago)
Author:
stefan
Message:

implemented issue #170: update check needs to be deactivated for linux packages

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/CHANGELOG

    r157 r159  
    33 
    44//== 0.7.4 == 
     5 
     62010-01-15 
     7* [stefan]  * implemented issue #170: update check needs to be deactivated for linux packages 
    58 
    692010-01-10 
  • trunk/src/org/jergometer/Jergometer.java

    r157 r159  
    4141  public static String version = "*Bleeding Edge*"; 
    4242  public static boolean devVersion = true; 
     43  public static boolean updatable = false; 
    4344  static { 
    4445    try { 
    4546      version = StreamUtils.readFile("version.txt"); 
    4647      devVersion = false; 
     48      updatable = true; 
     49      updatable = Boolean.parseBoolean(StreamUtils.readFile("updatable")); 
    4750    } catch (IOException ignored) {} 
    4851  } 
     
    123126 
    124127    // search for updates in the background 
    125     if (!devVersion) { 
     128    if (updatable) { 
    126129      new Thread(){ 
    127130        public void run() {