Skip to content

Commit e3d5974

Browse files
authored
Add relaunch functionality to App and its facade (#569)
1 parent ff9adc8 commit e3d5974

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/App.php

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public function quit(): void
1414
$this->client->post('app/quit');
1515
}
1616

17+
public function relaunch(): void
18+
{
19+
$this->client->post('app/relaunch');
20+
}
21+
1722
public function focus(): void
1823
{
1924
$this->client->post('app/focus');

src/Facades/App.php

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
/**
88
* @method static void quit()
9+
* @method static void relaunch()
910
* @method static void focus()
1011
* @method static void hide()
1112
* @method static bool isHidden()

0 commit comments

Comments
 (0)