Révision 2818
| tmp/org.txm.rcp/src/main/java/org/txm/rcp/p2/plugins/TXMUpdateHandler.java (revision 2818) | ||
|---|---|---|
| 70 | 70 |
@Override |
| 71 | 71 |
public Object execute(ExecutionEvent event) {
|
| 72 | 72 |
|
| 73 |
if (OSDetector.isFamilyWindows() && !isWindowsAdministratorUser()) {
|
|
| 74 |
Log.warning("Aborting update. you need to run TXM as administrator to do updates");
|
|
| 73 |
if (OSDetector.isFamilyWindows() |
|
| 74 |
&& !isWindowsAdministratorUser()) {
|
|
| 75 |
Log.warning("Aborting update. you need to run TXM as administrator to do updates.");
|
|
| 75 | 76 |
return null; |
| 76 | 77 |
} |
| 77 | 78 |
|
Formats disponibles : Unified diff