Changeset 662 for AE/installer2/src/net
- Timestamp:
- Feb 2, 2013, 12:41:38 PM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/AEInstaller.properties
r661 r662 1 1 appname=AE Installer 2 2 appversion=0.99 l2 appversion=0.99m -
AE/installer2/src/net/oni2/aeinstaller/DepotPackageCheck.java
r637 r662 20 20 public static void main(String[] args) { 21 21 System.out.println("Reading Depot data:"); 22 DepotManager.getInstance().updateInformation( false);22 DepotManager.getInstance().updateInformation(); 23 23 System.out.println("\nReading done"); 24 24 System.out.println(); -
AE/installer2/src/net/oni2/aeinstaller/backend/depot/DepotManager.java
r641 r662 9 9 import java.io.UnsupportedEncodingException; 10 10 import java.net.UnknownHostException; 11 import java.util.Date; 11 12 import java.util.Enumeration; 12 13 import java.util.HashMap; … … 64 65 /** 65 66 * Update local Depot information cache 66 * 67 * @param forceRefreshAll 68 * Force refreshing all data, even if it seems to be cached 69 */ 70 public void updateInformation(boolean forceRefreshAll) { 67 */ 68 public void updateInformation() { 71 69 try { 72 70 java.io.File zipName = new java.io.File(Paths.getDownloadPath(), 73 71 "jsoncache.zip"); 74 72 FileDownloader fd = new FileDownloader(DepotConfig.getDepotUrl() 75 + "jsoncache/jsoncache.zip", zipName); 73 + "jsoncache/jsoncache.zip?ts=" 74 + (new Date().getTime() / 1000), zipName); 76 75 fd.start(); 77 76 while (fd.getState() != net.oni2.aeinstaller.backend.network.FileDownloader.EState.FINISHED) { … … 214 213 return false; 215 214 } 216 215 217 216 private TaxonomyVocabulary getVocabulary(String name) { 218 217 for (TaxonomyVocabulary v : taxonomyVocabulary.values()) { -
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.java
r661 r662 194 194 195 195 try { 196 DepotManager.getInstance().updateInformation( false);196 DepotManager.getInstance().updateInformation(); 197 197 } catch (Exception e) { 198 198 e.printStackTrace();
Note:
See TracChangeset
for help on using the changeset viewer.