mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Check for askpass platform support
This commit is contained in:
parent
99cd652536
commit
b847a6fb9f
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,7 @@ package io.xpipe.app.exchange;
|
|||
|
||||
import io.xpipe.app.core.AppStyle;
|
||||
import io.xpipe.app.core.AppTheme;
|
||||
import io.xpipe.app.util.PlatformState;
|
||||
import io.xpipe.app.util.SecretManager;
|
||||
import io.xpipe.beacon.BeaconHandler;
|
||||
import io.xpipe.beacon.exchange.AskpassExchange;
|
||||
|
@ -18,6 +19,10 @@ public class AskpassExchangeImpl extends AskpassExchange
|
|||
return Response.builder().build();
|
||||
}
|
||||
|
||||
if (!PlatformState.initPlatformIfNeeded()) {
|
||||
return Response.builder().build();
|
||||
}
|
||||
|
||||
AppStyle.init();
|
||||
AppTheme.init();
|
||||
|
||||
|
|
Loading…
Reference in a new issue