Révision 2149
tmp/org.txm.rcp/src/main/java/org/txm/rcp/p2/plugins/TXMUpdateHandler.java (revision 2149) | ||
---|---|---|
59 | 59 |
String path = BundleUtils.getInstallDirectory(); |
60 | 60 |
if (path != null) { |
61 | 61 |
try { |
62 |
File installDirectory = new File(new URI(path).toURL().getFile());
|
|
62 |
File installDirectory = new File(path);
|
|
63 | 63 |
Log.fine("Testing install directory rights: "+installDirectory); |
64 | 64 |
if (!installDirectory.canWrite() || !installDirectory.canExecute()) { |
65 | 65 |
Log.warning("Warning: you need administrator privileges to fully update TXM. Some updates might not be fully installed."); |
Formats disponibles : Unified diff