| | |
| | | |
| | | String[] cmd; |
| | | |
| | | if (isVista()) |
| | | if (SetupUtils.hasUAC()) |
| | | { |
| | | cmd = new String[] { |
| | | getLauncherBinaryFullPath(), |
| | |
| | | Message msg; |
| | | String serverRoot = getServerRoot(); |
| | | String[] cmd; |
| | | if (isVista()) |
| | | if (SetupUtils.hasUAC()) |
| | | { |
| | | cmd = new String[] { |
| | | getLauncherBinaryFullPath(), |
| | |
| | | int returnValue; |
| | | Message msg; |
| | | String[] cmd; |
| | | if (isVista()) |
| | | if (SetupUtils.hasUAC()) |
| | | { |
| | | cmd = new String[] { |
| | | getLauncherBinaryFullPath(), |
| | |
| | | { |
| | | return getServerRoot()+"\\lib\\winlauncher.exe"; |
| | | } |
| | | |
| | | /** |
| | | * Indicates whether the underlying operating system is Windows Vista. |
| | | * |
| | | * @return {@code true} if the underlying operating system is Windows |
| | | * Vista, or {@code false} if not. |
| | | */ |
| | | private static boolean isVista() |
| | | { |
| | | return SetupUtils.isVista(); |
| | | } |
| | | } |