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
|
/// Restore window position and size on start
|
||||||
/// Note that windowId must be provided if it's subwindow
|
/// Note that windowId must be provided if it's subwindow
|
||||||
Future<bool> restoreWindowPosition(WindowType type, {int? windowId}) async {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
if (type != WindowType.Main && windowId == null) {
|
if (type != WindowType.Main && windowId == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user