mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
Better separate staging environment [stage]
This commit is contained in:
parent
1e10c595e4
commit
a458f6ffe5
5 changed files with 39 additions and 2 deletions
|
@ -74,6 +74,7 @@ public class App extends Application {
|
|||
() -> {
|
||||
var base = String.format(
|
||||
"X-Pipe Desktop (%s)", AppProperties.get().getVersion());
|
||||
var prefix = AppProperties.get().isStaging() ? "[STAGE] " : "";
|
||||
var suffix = XPipeDistributionType.get().getUpdateHandler().getPreparedUpdate().getValue() != null
|
||||
? String.format(
|
||||
" (Update to %s ready)",
|
||||
|
@ -82,7 +83,7 @@ public class App extends Application {
|
|||
.getValue()
|
||||
.getVersion())
|
||||
: "";
|
||||
return base + suffix;
|
||||
return prefix + base + suffix;
|
||||
},
|
||||
XPipeDistributionType.get().getUpdateHandler().getPreparedUpdate());
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ public class AppProperties {
|
|||
UUID buildUuid;
|
||||
String sentryUrl;
|
||||
boolean image;
|
||||
boolean staging;
|
||||
Path dataDir;
|
||||
|
||||
public AppProperties() {
|
||||
|
@ -51,6 +52,9 @@ public class AppProperties {
|
|||
.orElse(UUID.randomUUID());
|
||||
sentryUrl = System.getProperty("io.xpipe.app.sentryUrl");
|
||||
dataDir = parseDataDir();
|
||||
staging = Optional.ofNullable(System.getProperty("io.xpipe.app.staging"))
|
||||
.map(Boolean::parseBoolean)
|
||||
.orElse(false);
|
||||
}
|
||||
|
||||
public static void logSystemProperties() {
|
||||
|
|
|
@ -33,7 +33,7 @@ public class AppDownloads {
|
|||
.withRateLimitHandler(RateLimitHandler.FAIL)
|
||||
.withAuthorizationProvider(AuthorizationProvider.ANONYMOUS)
|
||||
.build();
|
||||
repository = github.getRepository("xpipe-io/xpipe");
|
||||
repository = github.getRepository(AppProperties.get().isStaging() ? "xpipe-io/xpipe_staging" : "xpipe-io/xpipe");
|
||||
return repository;
|
||||
}
|
||||
|
||||
|
|
31
dist/changelogs/0.5.38.md
vendored
Normal file
31
dist/changelogs/0.5.38.md
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
## Changes in 0.5.38
|
||||
- Fix PowerShell Core launch timeouts due to ANSI escapes codes
|
||||
- Fix NullPointerException when using Powershell connection as host for SSH connection
|
||||
- Check whether SSH client is installed prior to calling it
|
||||
- Report underlying error when terminal open fails
|
||||
- Fix various small bugs
|
||||
|
||||
## Changes in 0.5.37
|
||||
- Add experimental support for Kubernetes clusters and pods
|
||||
- Add ability to expand and collapse children list of connections
|
||||
- Fix PowerShell Remote Session file updates not working
|
||||
- Fix default terminal detection on macOS choosing wrong terminal
|
||||
- Improve error messages when launching external programs
|
||||
- Fix various small bugs
|
||||
|
||||
## Changes in 0.5.36
|
||||
- Add support to lock your workspace with a custom password similar to password managers.
|
||||
This will encrypt all stored sensitive information using the password as the key.
|
||||
The general password encryption has also been reworked, which results in all existing passwords becoming invalid.
|
||||
So make sure to reenter your passwords for any connection.
|
||||
- Add experimental support for PowerShell Remote connections
|
||||
- Add support for PowerShell core shell environments
|
||||
- Improve file browser performance
|
||||
- Improve initial connection startup after being added
|
||||
- Implement initial support for future package manager builds
|
||||
- Rework updating system to accommodate package managers
|
||||
- Improve error handling
|
||||
- Improve error display in connection creation
|
||||
- Fix many bugs
|
||||
|
||||
So don't forget to reenter your passwords for all connection.
|
1
dist/jpackage.gradle
vendored
1
dist/jpackage.gradle
vendored
|
@ -8,6 +8,7 @@ def releaseArguments = distJvmArgs + [
|
|||
'-Dio.xpipe.app.writeLogs=true',
|
||||
"-Dio.xpipe.app.buildId=$rootProject.buildId",
|
||||
"-Dio.xpipe.app.fullVersion=$rootProject.fullVersion",
|
||||
"-Dio.xpipe.app.staging=$rootProject.isStage",
|
||||
'-Dio.xpipe.app.sentryUrl=https://fd5f67ff10764b7e8a704bec9558c8fe@o1084459.ingest.sentry.io/6094279'
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue