mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 04:12:20 +08:00
fix ci
This commit is contained in:
parent
4146e9a334
commit
22558b5775
@ -1444,7 +1444,9 @@ Future<Offset?> _adjustRestoreMainWindowOffset(
|
||||
/// Restore window position and size on start
|
||||
/// Note that windowId must be provided if it's subwindow
|
||||
Future<bool> restoreWindowPosition(WindowType type, {int? windowId}) async {
|
||||
if (bind.mainGetEnv("DISABLE_RUSTDESK_RESTORE_WINDOW_POSITION").isNotEmpty) {
|
||||
if (bind
|
||||
.mainGetEnv(key: "DISABLE_RUSTDESK_RESTORE_WINDOW_POSITION")
|
||||
.isNotEmpty) {
|
||||
return false;
|
||||
}
|
||||
if (type != WindowType.Main && windowId == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user