Browse Source

Make launcher executable.

Fixes issue 1301


git-svn-id: http://svn.dmdirc.com/trunk@4142 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Shane Mc Cormack 16 years ago
parent
commit
9739483c02
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/com/dmdirc/updater/components/LauncherComponent.java

+ 1
- 0
src/com/dmdirc/updater/components/LauncherComponent.java View File

@@ -102,6 +102,7 @@ public class LauncherComponent implements UpdateComponent {
102 102
             }
103 103
 
104 104
             tmpFile.renameTo(targetFile);
105
+            targetFile.setExecutable(true);
105 106
             return true;
106 107
         } else {
107 108
             final ZipResourceManager ziprm = ZipResourceManager.getInstance(path);

Loading…
Cancel
Save