mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-06 04:40:37 +00:00
Rework
This commit is contained in:
@@ -43,15 +43,7 @@ public class RemoteDesktopWindow {
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isSupported() {
|
||||
return OsType.ofLocal() == OsType.WINDOWS;
|
||||
}
|
||||
|
||||
public static void init() {
|
||||
if (!isSupported()) {
|
||||
return;
|
||||
}
|
||||
|
||||
State state = AppCache.getNonNull("remoteDesktopWindowState", State.class, () -> null);
|
||||
var model = new RemoteDesktopDockView(rect -> rect, () -> {
|
||||
return INSTANCE.nativeWinWindowControl;
|
||||
|
||||
Reference in New Issue
Block a user