mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-12 02:46:00 +02:00
handle boot args if initialLink is empty (#7537)
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
6e689400b6
commit
cc30f7aa02
1 changed files with 2 additions and 1 deletions
|
@ -1863,7 +1863,8 @@ Future<bool> initUniLinks() async {
|
|||
// check cold boot
|
||||
try {
|
||||
final initialLink = await getInitialLink();
|
||||
if (initialLink == null) {
|
||||
print("initialLink: $initialLink");
|
||||
if (initialLink == null || initialLink.isEmpty) {
|
||||
return false;
|
||||
}
|
||||
return handleUriLink(uriString: initialLink);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue