From 5fc1cd824ec16e8c610e05204f555730d36cb550 Mon Sep 17 00:00:00 2001 From: sydneyowl <84191144+SydneyOwl@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:49:59 +0800 Subject: [PATCH] :fire: Use RPC by default on windows --- Views/Common/BluetoothDeviceSelectionWindow.axaml.cs | 4 ++-- readme.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Views/Common/BluetoothDeviceSelectionWindow.axaml.cs b/Views/Common/BluetoothDeviceSelectionWindow.axaml.cs index 1620197..7d1cfcb 100644 --- a/Views/Common/BluetoothDeviceSelectionWindow.axaml.cs +++ b/Views/Common/BluetoothDeviceSelectionWindow.axaml.cs @@ -32,10 +32,10 @@ public BluetoothDeviceSelectionWindow(SHX_DEVICE shxDevice) { InitializeComponent(); dev = shxDevice; -#if !WINDOWS useRPC.IsChecked = true; - useRPC.IsEnabled = false; manualRPC.IsEnabled = true; +#if !WINDOWS + useRPC.IsEnabled = false; #endif DataContext = this; } diff --git a/readme.md b/readme.md index 55d330c..eeb8b71 100644 --- a/readme.md +++ b/readme.md @@ -140,6 +140,7 @@ ## FAQ + linux平台上写频需要`sudo`! ++ windows上若无法正常使用蓝牙写频功能,可以试着反勾选“RPC方式”后重试 + 如果在macOS上出现提示"无法打开,因为它来自身份不明的开发者",请在`设置-隐私与安全性-安全性`中手动允许应用运行。或者在命令行中执行命令:`xattr -cr (.app包的路径)`。 + 如在macOS上(在macOS13及以下可能出现该问题)无法正常使用蓝牙功能,请按如下步骤操作: 1. 下载Release中的“macOS-ble-helper”;