Rename "Linux" to "XPlat"
@ -1,7 +1,7 @@
|
||||
<Application xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:Remotely.Desktop.Linux;assembly=Remotely_Desktop"
|
||||
x:Class="Remotely.Desktop.Linux.App">
|
||||
xmlns:local="clr-namespace:Remotely.Desktop.XPlat;assembly=Remotely_Desktop"
|
||||
x:Class="Remotely.Desktop.XPlat.App">
|
||||
<Application.DataTemplates>
|
||||
<local:ViewLocator/>
|
||||
</Application.DataTemplates>
|
||||
@ -8,15 +8,15 @@ using Microsoft.Extensions.Logging;
|
||||
using Remotely.Desktop.Core;
|
||||
using Remotely.Desktop.Core.Interfaces;
|
||||
using Remotely.Desktop.Core.Services;
|
||||
using Remotely.Desktop.Linux.Services;
|
||||
using Remotely.Desktop.Linux.Views;
|
||||
using Remotely.Desktop.XPlat.Services;
|
||||
using Remotely.Desktop.XPlat.Views;
|
||||
using Remotely.Shared.Utilities;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Remotely.Desktop.Linux
|
||||
namespace Remotely.Desktop.XPlat
|
||||
{
|
||||
public class App : Application
|
||||
{
|
||||
|
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 477 B |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 172 KiB |
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 103 KiB |
@ -3,8 +3,8 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.Linux.ViewModels;assembly=Remotely_Desktop"
|
||||
x:Class="Remotely.Desktop.Linux.Controls.MessageBox"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.XPlat.ViewModels;assembly=Remotely_Desktop"
|
||||
x:Class="Remotely.Desktop.XPlat.Controls.MessageBox"
|
||||
Icon="{Binding WindowIcon}"
|
||||
Title="{Binding Caption}"
|
||||
SizeToContent="WidthAndHeight" MinWidth="300" MinHeight="100"
|
||||
@ -2,13 +2,13 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Controls.ApplicationLifetimes;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using Remotely.Desktop.Linux.ViewModels;
|
||||
using Remotely.Desktop.XPlat.ViewModels;
|
||||
using Remotely.Shared.Utilities;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Controls
|
||||
namespace Remotely.Desktop.XPlat.Controls
|
||||
{
|
||||
public class MessageBox : Window
|
||||
{
|
||||
@ -4,7 +4,7 @@
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<ApplicationIcon>Assets\favicon.ico</ApplicationIcon>
|
||||
<AssemblyName>Remotely_Desktop</AssemblyName>
|
||||
<RootNamespace>Remotely.Desktop.Linux</RootNamespace>
|
||||
<RootNamespace>Remotely.Desktop.XPlat</RootNamespace>
|
||||
<Platforms>AnyCPU;x64;x86</Platforms>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
@ -27,7 +27,7 @@ in this Software without prior written authorization from The Open Group.
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Native
|
||||
namespace Remotely.Desktop.XPlat.Native.Linux
|
||||
{
|
||||
public static unsafe class LibX11
|
||||
{
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Native
|
||||
namespace Remotely.Desktop.XPlat.Native.Linux
|
||||
{
|
||||
public class LibXtst
|
||||
{
|
||||
@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Native
|
||||
namespace Remotely.Desktop.XPlat.Native.Linux
|
||||
{
|
||||
public class Libc
|
||||
{
|
||||
@ -34,7 +34,7 @@ using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Native
|
||||
namespace Remotely.Desktop.XPlat.Native.Linux
|
||||
{
|
||||
public static class LibXrandr
|
||||
{
|
||||
@ -6,7 +6,7 @@ using Remotely.Shared.Utilities;
|
||||
using System;
|
||||
using System.Threading;
|
||||
|
||||
namespace Remotely.Desktop.Linux
|
||||
namespace Remotely.Desktop.XPlat
|
||||
{
|
||||
class Program
|
||||
{
|
||||
@ -1,7 +1,7 @@
|
||||
using Remotely.Desktop.Core.Interfaces;
|
||||
using System;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class AudioCapturerLinux : IAudioCapturer
|
||||
{
|
||||
@ -1,9 +1,9 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Threading;
|
||||
using Remotely.Desktop.Core.Interfaces;
|
||||
using Remotely.Desktop.Linux.Controls;
|
||||
using Remotely.Desktop.Linux.ViewModels;
|
||||
using Remotely.Desktop.Linux.Views;
|
||||
using Remotely.Desktop.XPlat.Controls;
|
||||
using Remotely.Desktop.XPlat.ViewModels;
|
||||
using Remotely.Desktop.XPlat.Views;
|
||||
using Remotely.Shared.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@ -14,7 +14,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class ChatUiServiceLinux : IChatUiService
|
||||
{
|
||||
@ -4,7 +4,7 @@ using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class ClipboardServiceLinux : IClipboardService
|
||||
{
|
||||
@ -5,7 +5,7 @@ using System;
|
||||
using System.IO;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class ConfigServiceLinux : IConfigService
|
||||
{
|
||||
@ -3,7 +3,7 @@ using Remotely.Shared.Models;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class CursorIconWatcherLinux : ICursorIconWatcher
|
||||
{
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class Executor : ICommand
|
||||
{
|
||||
@ -2,9 +2,9 @@
|
||||
using Remotely.Desktop.Core.Interfaces;
|
||||
using Remotely.Desktop.Core.Services;
|
||||
using Remotely.Desktop.Core.ViewModels;
|
||||
using Remotely.Desktop.Linux.Controls;
|
||||
using Remotely.Desktop.Linux.ViewModels;
|
||||
using Remotely.Desktop.Linux.Views;
|
||||
using Remotely.Desktop.XPlat.Controls;
|
||||
using Remotely.Desktop.XPlat.ViewModels;
|
||||
using Remotely.Desktop.XPlat.Views;
|
||||
using Remotely.Shared.Utilities;
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
@ -13,7 +13,7 @@ using System.IO;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class FileTransferServiceLinux : IFileTransferService
|
||||
{
|
||||
@ -1,11 +1,11 @@
|
||||
using Remotely.Desktop.Core.Enums;
|
||||
using Remotely.Desktop.Core.Interfaces;
|
||||
using Remotely.Desktop.Core.Services;
|
||||
using Remotely.Desktop.Linux.Native;
|
||||
using Remotely.Desktop.XPlat.Native.Linux;
|
||||
using Remotely.Shared.Utilities;
|
||||
using System;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class KeyboardMouseInputLinux : IKeyboardMouseInput
|
||||
{
|
||||
@ -1,7 +1,7 @@
|
||||
using Avalonia.Threading;
|
||||
using Remotely.Desktop.Core.Interfaces;
|
||||
using Remotely.Desktop.Linux.ViewModels;
|
||||
using Remotely.Desktop.Linux.Views;
|
||||
using Remotely.Desktop.XPlat.ViewModels;
|
||||
using Remotely.Desktop.XPlat.Views;
|
||||
using Remotely.Shared.Utilities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@ -9,7 +9,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class RemoteControlAccessServiceLinux : IRemoteControlAccessService
|
||||
{
|
||||
@ -1,5 +1,5 @@
|
||||
using Remotely.Desktop.Core.Interfaces;
|
||||
using Remotely.Desktop.Linux.Native;
|
||||
using Remotely.Desktop.XPlat.Native.Linux;
|
||||
using Remotely.Shared.Utilities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
|
||||
using System.Text.Json;
|
||||
using System.Threading;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class ScreenCapturerLinux : IScreenCapturer
|
||||
{
|
||||
@ -1,9 +1,9 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Threading;
|
||||
using Remotely.Desktop.Core.Interfaces;
|
||||
using Remotely.Desktop.Linux.Views;
|
||||
using Remotely.Desktop.XPlat.Views;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class SessionIndicatorLinux : ISessionIndicator
|
||||
{
|
||||
@ -7,7 +7,7 @@ using System;
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Services
|
||||
namespace Remotely.Desktop.XPlat.Services
|
||||
{
|
||||
public class ShutdownServiceLinux : IShutdownService
|
||||
{
|
||||
@ -1,9 +1,9 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Controls.Templates;
|
||||
using Remotely.Desktop.Linux.ViewModels;
|
||||
using Remotely.Desktop.XPlat.ViewModels;
|
||||
using System;
|
||||
|
||||
namespace Remotely.Desktop.Linux
|
||||
namespace Remotely.Desktop.XPlat
|
||||
{
|
||||
public class ViewLocator : IDataTemplate
|
||||
{
|
||||
@ -11,7 +11,7 @@ using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Remotely.Desktop.Linux.ViewModels
|
||||
namespace Remotely.Desktop.XPlat.ViewModels
|
||||
{
|
||||
public class BrandedViewModelBase : ReactiveViewModel
|
||||
{
|
||||
@ -66,7 +66,7 @@ namespace Remotely.Desktop.Linux.ViewModels
|
||||
}
|
||||
else
|
||||
{
|
||||
using var imageStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Remotely.Desktop.Linux.Assets.Remotely_Icon.png");
|
||||
using var imageStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Remotely.Desktop.XPlat.Assets.Remotely_Icon.png");
|
||||
Icon = new Bitmap(imageStream);
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Avalonia.Controls;
|
||||
using ReactiveUI;
|
||||
using Remotely.Desktop.Linux.Services;
|
||||
using Remotely.Desktop.XPlat.Services;
|
||||
using Remotely.Shared.Models;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.IO;
|
||||
@ -8,7 +8,7 @@ using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Remotely.Desktop.Linux.ViewModels
|
||||
namespace Remotely.Desktop.XPlat.ViewModels
|
||||
{
|
||||
public class ChatWindowViewModel : BrandedViewModelBase
|
||||
{
|
||||
@ -4,8 +4,8 @@ using ReactiveUI;
|
||||
using Remotely.Desktop.Core.Interfaces;
|
||||
using Remotely.Desktop.Core.Services;
|
||||
using Remotely.Desktop.Core.ViewModels;
|
||||
using Remotely.Desktop.Linux.Services;
|
||||
using Remotely.Desktop.Linux.Views;
|
||||
using Remotely.Desktop.XPlat.Services;
|
||||
using Remotely.Desktop.XPlat.Views;
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.IO;
|
||||
@ -13,7 +13,7 @@ using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Remotely.Desktop.Linux.ViewModels
|
||||
namespace Remotely.Desktop.XPlat.ViewModels
|
||||
{
|
||||
public class FileTransferWindowViewModel : BrandedViewModelBase
|
||||
{
|
||||
@ -1,9 +1,9 @@
|
||||
using Avalonia.Controls;
|
||||
using ReactiveUI;
|
||||
using Remotely.Desktop.Linux.Services;
|
||||
using Remotely.Desktop.XPlat.Services;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Remotely.Desktop.Linux.ViewModels
|
||||
namespace Remotely.Desktop.XPlat.ViewModels
|
||||
{
|
||||
public class HostNamePromptViewModel : BrandedViewModelBase
|
||||
{
|
||||
@ -6,10 +6,10 @@ using ReactiveUI;
|
||||
using Remotely.Desktop.Core;
|
||||
using Remotely.Desktop.Core.Interfaces;
|
||||
using Remotely.Desktop.Core.Services;
|
||||
using Remotely.Desktop.Linux.Controls;
|
||||
using Remotely.Desktop.Linux.Native;
|
||||
using Remotely.Desktop.Linux.Services;
|
||||
using Remotely.Desktop.Linux.Views;
|
||||
using Remotely.Desktop.XPlat.Controls;
|
||||
using Remotely.Desktop.XPlat.Native.Linux;
|
||||
using Remotely.Desktop.XPlat.Services;
|
||||
using Remotely.Desktop.XPlat.Views;
|
||||
using Remotely.Shared.Models;
|
||||
using Remotely.Shared.Utilities;
|
||||
using System;
|
||||
@ -19,7 +19,7 @@ using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Remotely.Desktop.Linux.ViewModels
|
||||
namespace Remotely.Desktop.XPlat.ViewModels
|
||||
{
|
||||
public class MainWindowViewModel : BrandedViewModelBase
|
||||
{
|
||||
@ -1,10 +1,10 @@
|
||||
using Avalonia.Controls;
|
||||
using ReactiveUI;
|
||||
using Remotely.Desktop.Linux.Controls;
|
||||
using Remotely.Desktop.Linux.Services;
|
||||
using Remotely.Desktop.XPlat.Controls;
|
||||
using Remotely.Desktop.XPlat.Services;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Remotely.Desktop.Linux.ViewModels
|
||||
namespace Remotely.Desktop.XPlat.ViewModels
|
||||
{
|
||||
public class MessageBoxViewModel : BrandedViewModelBase
|
||||
{
|
||||
@ -1,12 +1,12 @@
|
||||
using Avalonia.Controls;
|
||||
using ReactiveUI;
|
||||
using Remotely.Desktop.Linux.Services;
|
||||
using Remotely.Desktop.XPlat.Services;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Remotely.Desktop.Linux.ViewModels
|
||||
namespace Remotely.Desktop.XPlat.ViewModels
|
||||
{
|
||||
public class PromptForAccessWindowViewModel : BrandedViewModelBase
|
||||
{
|
||||
@ -1,6 +1,6 @@
|
||||
using ReactiveUI;
|
||||
|
||||
namespace Remotely.Desktop.Linux.ViewModels
|
||||
namespace Remotely.Desktop.XPlat.ViewModels
|
||||
{
|
||||
public class ReactiveViewModel : ReactiveObject
|
||||
{
|
||||
@ -2,10 +2,10 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.Linux.ViewModels;assembly=Remotely_Desktop"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.XPlat.ViewModels;assembly=Remotely_Desktop"
|
||||
xmlns:Models="clr-namespace:Remotely.Shared.Models;assembly=Remotely_Shared"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Remotely.Desktop.Linux.Views.ChatWindow"
|
||||
x:Class="Remotely.Desktop.XPlat.Views.ChatWindow"
|
||||
Icon="{Binding WindowIcon}"
|
||||
HasSystemDecorations="False"
|
||||
BorderBrush="DimGray"
|
||||
@ -1,11 +1,11 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using Remotely.Desktop.Linux.ViewModels;
|
||||
using Remotely.Desktop.XPlat.ViewModels;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Views
|
||||
namespace Remotely.Desktop.XPlat.Views
|
||||
{
|
||||
public class ChatWindow : Window
|
||||
{
|
||||
@ -2,10 +2,10 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.Linux.ViewModels;assembly=Remotely_Desktop"
|
||||
xmlns:local="clr-namespace:Remotely.Desktop.Linux.Views;assembly=Remotely_Desktop"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.XPlat.ViewModels;assembly=Remotely_Desktop"
|
||||
xmlns:local="clr-namespace:Remotely.Desktop.XPlat.Views;assembly=Remotely_Desktop"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Remotely.Desktop.Linux.Views.FileTransferWindow"
|
||||
x:Class="Remotely.Desktop.XPlat.Views.FileTransferWindow"
|
||||
Title="File Transfer"
|
||||
Height="300" Width="400"
|
||||
Topmost="True"
|
||||
@ -3,7 +3,7 @@ using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using System;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Views
|
||||
namespace Remotely.Desktop.XPlat.Views
|
||||
{
|
||||
public class FileTransferWindow : Window
|
||||
{
|
||||
@ -3,8 +3,8 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Remotely.Desktop.Linux.Views.HostNamePrompt"
|
||||
xmlns:ViewModels="clr-namespace:Remotely.Desktop.Linux.ViewModels;assembly=Remotely_Desktop"
|
||||
x:Class="Remotely.Desktop.XPlat.Views.HostNamePrompt"
|
||||
xmlns:ViewModels="clr-namespace:Remotely.Desktop.XPlat.ViewModels;assembly=Remotely_Desktop"
|
||||
Title="Host Name"
|
||||
Icon="{Binding WindowIcon}"
|
||||
Height="150" Width="350"
|
||||
@ -1,10 +1,10 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using Remotely.Desktop.Linux.ViewModels;
|
||||
using Remotely.Desktop.Linux.Views;
|
||||
using Remotely.Desktop.XPlat.ViewModels;
|
||||
using Remotely.Desktop.XPlat.Views;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Views
|
||||
namespace Remotely.Desktop.XPlat.Views
|
||||
{
|
||||
public class HostNamePrompt : Window
|
||||
{
|
||||
@ -1,10 +1,10 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.Linux.ViewModels;assembly=Remotely_Desktop"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.XPlat.ViewModels;assembly=Remotely_Desktop"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Remotely.Desktop.Linux.Views.MainWindow"
|
||||
x:Class="Remotely.Desktop.XPlat.Views.MainWindow"
|
||||
Icon="{Binding WindowIcon}"
|
||||
Title="{Binding ProductName}" Height="275" Width="350" HasSystemDecorations="False">
|
||||
<Window.DataContext>
|
||||
@ -1,9 +1,9 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using Remotely.Desktop.Linux.ViewModels;
|
||||
using Remotely.Desktop.XPlat.ViewModels;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Views
|
||||
namespace Remotely.Desktop.XPlat.Views
|
||||
{
|
||||
public class MainWindow : Window
|
||||
{
|
||||
@ -2,9 +2,9 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.Linux.ViewModels;assembly=Remotely_Desktop"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.XPlat.ViewModels;assembly=Remotely_Desktop"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Remotely.Desktop.Linux.Views.PromptForAccessWindow"
|
||||
x:Class="Remotely.Desktop.XPlat.Views.PromptForAccessWindow"
|
||||
HasSystemDecorations="False"
|
||||
BorderBrush="DimGray"
|
||||
BorderThickness="1"
|
||||
@ -3,7 +3,7 @@ using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using System;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Views
|
||||
namespace Remotely.Desktop.XPlat.Views
|
||||
{
|
||||
public class PromptForAccessWindow : Window
|
||||
{
|
||||
@ -2,11 +2,11 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.Linux.ViewModels;assembly=Remotely_Desktop"
|
||||
xmlns:vm="clr-namespace:Remotely.Desktop.XPlat.ViewModels;assembly=Remotely_Desktop"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
Width="300"
|
||||
Height="100"
|
||||
x:Class="Remotely.Desktop.Linux.Views.SessionIndicatorWindow"
|
||||
x:Class="Remotely.Desktop.XPlat.Views.SessionIndicatorWindow"
|
||||
Background="#2b2726"
|
||||
Title="{Binding ProductName}p"
|
||||
Icon="{Binding WindowIcon}"
|
||||
@ -4,10 +4,10 @@ using Avalonia.Markup.Xaml;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Remotely.Desktop.Core;
|
||||
using Remotely.Desktop.Core.Interfaces;
|
||||
using Remotely.Desktop.Linux.Controls;
|
||||
using Remotely.Desktop.XPlat.Controls;
|
||||
using System;
|
||||
|
||||
namespace Remotely.Desktop.Linux.Views
|
||||
namespace Remotely.Desktop.XPlat.Views
|
||||
{
|
||||
public class SessionIndicatorWindow : Window
|
||||
{
|
||||
@ -29,7 +29,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Desktop.Core", "Desktop.Cor
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shared", "Shared\Shared.csproj", "{3B1B36AE-7A60-4974-A868-1E24894D4149}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Desktop.Linux", "Desktop.Linux\Desktop.Linux.csproj", "{FF7FD66A-B3E2-4D39-A457-A00C94EDE9E6}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Desktop.XPlat", "Desktop.XPlat\Desktop.XPlat.csproj", "{FF7FD66A-B3E2-4D39-A457-A00C94EDE9E6}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Desktop.Win", "Desktop.Win\Desktop.Win.csproj", "{6B726FC4-A907-4813-BF38-3342E02AA8D2}"
|
||||
EndProject
|
||||
|
||||
@ -47,12 +47,12 @@ namespace Remotely.Server.API
|
||||
}
|
||||
case "UbuntuDesktop":
|
||||
{
|
||||
var filePath = Path.Combine(_hostEnv.WebRootPath, "Content", "Remotely_Desktop");
|
||||
var filePath = Path.Combine(_hostEnv.WebRootPath, "Content", "Linux-x64", "Remotely_Desktop");
|
||||
return await GetDesktopFile(filePath);
|
||||
}
|
||||
case "MacOS":
|
||||
case "MacOS-x64":
|
||||
{
|
||||
var filePath = Path.Combine(_hostEnv.WebRootPath, "Content", "MacOS", "Remotely_Desktop");
|
||||
var filePath = Path.Combine(_hostEnv.WebRootPath, "Content", "MacOS-x64", "Remotely_Desktop");
|
||||
return await GetDesktopFile(filePath);
|
||||
}
|
||||
default:
|
||||
@ -78,12 +78,12 @@ namespace Remotely.Server.API
|
||||
}
|
||||
case "UbuntuDesktop":
|
||||
{
|
||||
var filePath = Path.Combine(_hostEnv.WebRootPath, "Content", "Remotely_Desktop");
|
||||
var filePath = Path.Combine(_hostEnv.WebRootPath, "Content", "Linux-x64", "Remotely_Desktop");
|
||||
return await GetDesktopFile(filePath, organizationId);
|
||||
}
|
||||
case "MacOS":
|
||||
{
|
||||
var filePath = Path.Combine(_hostEnv.WebRootPath, "Content", "MacOS", "Remotely_Desktop");
|
||||
var filePath = Path.Combine(_hostEnv.WebRootPath, "Content", "MacOS-x64", "Remotely_Desktop");
|
||||
return await GetDesktopFile(filePath);
|
||||
}
|
||||
default:
|
||||
@ -182,9 +182,9 @@ namespace Remotely.Server.API
|
||||
|
||||
return await GetBashInstaller(fileName, organizationId);
|
||||
}
|
||||
case "MacOS":
|
||||
case "MacOS-x64":
|
||||
{
|
||||
var fileName = "Install-MacOS.sh";
|
||||
var fileName = "Install-MacOS-x64.sh";
|
||||
|
||||
return await GetBashInstaller(fileName, organizationId);
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
<p>
|
||||
<strong>Download:</strong>
|
||||
<br />
|
||||
<a target="_blank" href="/api/ClientDownloads/Desktop/MacOS/@_organizationId">macOS Executable</a>
|
||||
<a target="_blank" href="/api/ClientDownloads/Desktop/MacOS-x64/@_organizationId">macOS Executable</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -188,13 +188,13 @@
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6 mb-3">
|
||||
<h6>macOS (10.5+)</h6>
|
||||
<h6>macOS x64 (10.15+)</h6>
|
||||
<p>
|
||||
<strong>Download:</strong>
|
||||
<br />
|
||||
<a target="_blank" href="/API/ClientDownloads/MacOS">macOS ZSH Installer</a>
|
||||
<a target="_blank" href="/API/ClientDownloads/MacOS-x64">macOS ZSH Installer</a>
|
||||
<br />
|
||||
<a target="_blank" href="/Content/Remotely-Linux.zip">macOS Files Only</a>
|
||||
<a target="_blank" href="/Content/Remotely-MacOS-x64.zip">macOS Files Only</a>
|
||||
</p>
|
||||
<p>
|
||||
<div class="small">Example Install:</div>
|
||||
@ -204,12 +204,12 @@
|
||||
<p>
|
||||
<div class="small">Example Local Install:</div>
|
||||
|
||||
<code class="label label-default small">sudo [path]/Install-MacOS.sh --path [path]/Remotely-MacOS.zip</code>
|
||||
<code class="label label-default small">sudo [path]/Install-MacOS-x64.sh --path [path]/Remotely-MacOS-x64.zip</code>
|
||||
</p>
|
||||
<p>
|
||||
<div class="small">Example Uninstall:</div>
|
||||
|
||||
<code class="label label-default small">sudo [path]/Install-MacOS.sh --uninstall</code>
|
||||
<code class="label label-default small">sudo [path]/Install-MacOS-x64.sh --uninstall</code>
|
||||
</p>
|
||||
</div>
|
||||
}
|
||||
|
||||