Changeset 622 for AE/installer2
- Timestamp:
- Jan 16, 2013, 8:35:08 AM (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
r621 r622 1 1 appname=AE Installer 2 2 appversion=0.8 12 appversion=0.82 3 3 4 4 invalidPath.title=Wrong directory -
AE/installer2/src/net/oni2/aeinstaller/backend/mods/Mod.java
r608 r622 55 55 Type t = ModManager.getInstance().getTypeByName(tt.getName()); 56 56 types.add(t); 57 if (!nm.isTool() && isValidOnPlatform())57 if (!nm.isTool() && !isMandatoryMod() && isValidOnPlatform()) 58 58 t.addEntry(this); 59 59 } -
AE/installer2/src/net/oni2/aeinstaller/backend/unpack/Unpacker.java
r619 r622 119 119 120 120 zf = new ZipFile(zip); 121 122 if (target.exists()) 123 FileUtils.deleteDirectory(target); 121 124 target.mkdirs(); 125 122 126 for (Enumeration<? extends ZipEntry> e = zf.entries(); e 123 127 .hasMoreElements();) { -
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.java
r621 r622 294 294 strTools += " - " + m.getName(); 295 295 } 296 String message = "<html>"; 297 message += String.format( 298 bundle.getString("updatesAvailable.text"), strMods, 299 strTools, SizeFormatter.format(size, 3)); 300 message += "</html>"; 301 int res = JOptionPane 302 .showConfirmDialog(this, message, 303 bundle.getString("updatesAvailable.title"), 304 JOptionPane.YES_NO_OPTION, 305 JOptionPane.QUESTION_MESSAGE); 306 if (res == JOptionPane.YES_OPTION) { 307 execUpdates = new TreeSet<Mod>(); 308 execUpdates.addAll(mods); 309 execUpdates.addAll(tools); 296 if (size > 0) { 297 String message = "<html>"; 298 message += String.format( 299 bundle.getString("updatesAvailable.text"), strMods, 300 strTools, SizeFormatter.format(size, 3)); 301 message += "</html>"; 302 int res = JOptionPane.showConfirmDialog(this, message, 303 bundle.getString("updatesAvailable.title"), 304 JOptionPane.YES_NO_OPTION, 305 JOptionPane.QUESTION_MESSAGE); 306 if (res == JOptionPane.YES_OPTION) { 307 execUpdates = new TreeSet<Mod>(); 308 execUpdates.addAll(mods); 309 execUpdates.addAll(tools); 310 } 310 311 } 311 312 }
Note:
See TracChangeset
for help on using the changeset viewer.