diff options
| author | Tobias Järvelöv <tobias.jarvelov@mullvad.net> | 2025-03-26 20:22:43 +0100 |
|---|---|---|
| committer | Tobias Järvelöv <tobias.jarvelov@mullvad.net> | 2025-05-28 10:28:14 +0200 |
| commit | ad5c2f2b7485e491f21048e8cc04149fc1cbdeda (patch) | |
| tree | 1b8b3e90bd1908eb2f5eefca37731575455bdb65 /desktop | |
| parent | 33bfc12ae2585d3680a515f9f88bf740fc072517 (diff) | |
| download | mullvadvpn-ad5c2f2b7485e491f21048e8cc04149fc1cbdeda.tar.xz mullvadvpn-ad5c2f2b7485e491f21048e8cc04149fc1cbdeda.zip | |
Add methods to expose Daemon's AppUpgrade RPC operations
Diffstat (limited to 'desktop')
| -rw-r--r-- | desktop/packages/mullvad-vpn/src/main/daemon-rpc.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/packages/mullvad-vpn/src/main/daemon-rpc.ts b/desktop/packages/mullvad-vpn/src/main/daemon-rpc.ts index a8675f6d24..783a5c88c1 100644 --- a/desktop/packages/mullvad-vpn/src/main/daemon-rpc.ts +++ b/desktop/packages/mullvad-vpn/src/main/daemon-rpc.ts @@ -118,6 +118,14 @@ export class DaemonRpc extends GrpcClient { }); } + public appUpgrade() { + void this.callEmpty(this.client.appUpgrade); + } + + public appUpgradeAbort() { + void this.callEmpty(this.client.appUpgradeAbort); + } + public unsubscribeAppUpgradeEventListener(listener: SubscriptionListener<DaemonAppUpgradeEvent>) { const id = listener.subscriptionId; if (id !== undefined) { |
