From 61738688c4f4e142fc059ebdb2ebca254948284e Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Thu, 6 May 2021 06:22:29 -0700 Subject: [PATCH] Display message when attempting MacOS remote control. --- Agent/Services/AppLauncherMac.cs | 5 +++-- Server/API/ClientDownloadsController.cs | 2 +- Server/Pages/Downloads.razor | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Agent/Services/AppLauncherMac.cs b/Agent/Services/AppLauncherMac.cs index cc11855a..b9bed765 100644 --- a/Agent/Services/AppLauncherMac.cs +++ b/Agent/Services/AppLauncherMac.cs @@ -9,17 +9,18 @@ namespace Remotely.Agent.Services { public async Task LaunchChatService(string orgName, string requesterID, HubConnection hubConnection) { + await hubConnection.SendAsync("DisplayMessage", "Feature under development.", "Feature is under development.", "bg-warning", requesterID); return 0; } public async Task LaunchRemoteControl(int targetSessionId, string requesterID, string serviceID, HubConnection hubConnection) { - + await hubConnection.SendAsync("DisplayMessage", "Feature under development.", "Feature is under development.", "bg-warning", requesterID); } public async Task RestartScreenCaster(List viewerIDs, string serviceID, string requesterID, HubConnection hubConnection, int targetSessionID = -1) { - + await hubConnection.SendAsync("DisplayMessage", "Feature under development.", "Feature is under development.", "bg-warning", requesterID); } } } diff --git a/Server/API/ClientDownloadsController.cs b/Server/API/ClientDownloadsController.cs index bf3e8a74..adee4185 100644 --- a/Server/API/ClientDownloadsController.cs +++ b/Server/API/ClientDownloadsController.cs @@ -81,7 +81,7 @@ namespace Remotely.Server.API var filePath = Path.Combine(_hostEnv.WebRootPath, "Content", "Linux-x64", "Remotely_Desktop"); return await GetDesktopFile(filePath, organizationId); } - case "MacOS": + case "MacOS-x64": { var filePath = Path.Combine(_hostEnv.WebRootPath, "Content", "MacOS-x64", "Remotely_Desktop"); return await GetDesktopFile(filePath); diff --git a/Server/Pages/Downloads.razor b/Server/Pages/Downloads.razor index 0bcc3fd0..98349f86 100644 --- a/Server/Pages/Downloads.razor +++ b/Server/Pages/Downloads.razor @@ -192,7 +192,7 @@

Download:
- macOS ZSH Installer + macOS ZSH Installer
macOS Files Only