Changeset 784 for java/installer2
- Timestamp:
- Apr 3, 2013, 2:56:19 AM (12 years ago)
- Location:
- java/installer2/src/net/oni2/aeinstaller/backend
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/backend/oni/management/ToolsManager.java
r749 r784 125 125 targetFile.delete(); 126 126 FileUtils.copyFileToDirectory(f, targetFolder); 127 if (f.canExecute()) 128 CaseInsensitiveFile.getCaseInsensitiveFile( 129 targetFolder, f.getName()).setExecutable( 130 true); 127 131 } 128 132 } -
java/installer2/src/net/oni2/aeinstaller/backend/packages/unpack/Unpacker.java
r783 r784 124 124 target.mkdirs(); 125 125 126 for (Enumeration<? extends ZipArchiveEntry> e = zf .getEntries(); e127 . hasMoreElements();) {126 for (Enumeration<? extends ZipArchiveEntry> e = zf 127 .getEntries(); e.hasMoreElements();) { 128 128 ZipArchiveEntry ze = e.nextElement(); 129 129 if (ze.getName().toLowerCase() … … 138 138 } 139 139 140 for (Enumeration<? extends ZipArchiveEntry> e = zf .getEntries(); e141 . hasMoreElements();) {140 for (Enumeration<? extends ZipArchiveEntry> e = zf 141 .getEntries(); e.hasMoreElements();) { 142 142 if (state == EState.INTERRUPTED) 143 143 return; … … 163 163 } 164 164 fileOut.close(); 165 165 166 166 if ((ze.getUnixMode() & 0111) != 0) 167 167 targetFile.setExecutable(true);
Note:
See TracChangeset
for help on using the changeset viewer.