Check for askpass platform support

This commit is contained in:
crschnick 2024-02-28 11:44:41 +00:00
parent 99cd652536
commit b847a6fb9f

View file

@ -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();