mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Various fixes
This commit is contained in:
parent
116ca11eb2
commit
6387419d70
5 changed files with 6 additions and 7 deletions
|
@ -8,7 +8,7 @@ import java.util.concurrent.TimeUnit;
|
|||
public class AppCertutilCheck {
|
||||
|
||||
private static boolean getResult() {
|
||||
var fc = new ProcessBuilder(System.getenv("WINDIR") + "\\Windows32\\certutil")
|
||||
var fc = new ProcessBuilder(System.getenv("WINDIR") + "\\System32\\certutil")
|
||||
.redirectError(ProcessBuilder.Redirect.DISCARD);
|
||||
try {
|
||||
var proc = fc.start();
|
||||
|
|
|
@ -51,7 +51,7 @@ public class AppPrefsStorageHandler {
|
|||
public <T> T loadObject(String id, Class<T> type, T defaultObject) {
|
||||
var tree = getContent(id);
|
||||
if (tree == null) {
|
||||
TrackEvent.debug("Preferences value not found for key: " + id);
|
||||
TrackEvent.withDebug("Preferences value not found").tag("id", id).tag("default", defaultObject).handle();
|
||||
return defaultObject;
|
||||
}
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ public class AppDownloads {
|
|||
var changelog = json.required("changelog").asText();
|
||||
return Optional.of(changelog);
|
||||
} catch (Throwable t) {
|
||||
ErrorEvent.fromThrowable(t).omitted(omitErrors).handle();
|
||||
ErrorEvent.fromThrowable(t).omit().handle();
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
2
dist/changelogs/8.0.md
vendored
2
dist/changelogs/8.0.md
vendored
|
@ -2,7 +2,7 @@ This update includes many changes that are necessary going forward to allow for
|
|||
|
||||
The versioning scheme has also been changed to simplify version numbers. So we are going straight from 1.7 to 8.0!
|
||||
|
||||
Note that on Windows the automatic updater still has a few issues if you are upgrading from 1.7.16. If the automatic update fails, you can still install 8.0 manually by downloading and installing it from https://github.com/xpipe-io/xpipe/releases.
|
||||
Note that on Windows the automatic updater still has a few issues with race conditions if you are upgrading from 1.7.16. If the automatic update fails, you can still install 8.0 manually by downloading and installing it from https://github.com/xpipe-io/xpipe/releases.
|
||||
|
||||
## New terminal launcher
|
||||
|
||||
|
|
|
@ -146,8 +146,7 @@ if (-not $env:TEMP) {
|
|||
$env:TEMP = Join-Path $env:SystemDrive -ChildPath 'temp'
|
||||
}
|
||||
|
||||
$xpipeTempDir = Join-Path $env:TEMP -ChildPath "xpipe"
|
||||
$tempDir = Join-Path $xpipeTempDir -ChildPath "install"
|
||||
$tempDir = $env:TEMP
|
||||
|
||||
if (-not (Test-Path $tempDir -PathType Container)) {
|
||||
$null = New-Item -Path $tempDir -ItemType Directory
|
||||
|
@ -178,7 +177,7 @@ $env:Path=(
|
|||
) -match '.' -join ';'
|
||||
|
||||
Write-Host
|
||||
Write-Host 'XPipe has been successfully installed. You should be able to find it in your applications.'
|
||||
Write-Host "$ProductName has been successfully installed. You should be able to find it in your applications."
|
||||
Write-Host
|
||||
|
||||
# Use absolute path as we can't assume that the user has selected to put XPipe into the Path
|
||||
|
|
Loading…
Reference in a new issue