Compare commits

...

9 Commits

Author SHA1 Message Date
48a275126b update hdc 2024-09-14 11:56:02 +08:00
4af6b8207e 更新hdc.exe 为官方的 sdk 12 beta版本 2024-06-24 15:32:45 +08:00
aa45887522 去除错误链接 2024-06-24 15:06:16 +08:00
103089bccd 修正拼写错误 2024-06-24 15:03:53 +08:00
65af94453c update readme 2024-06-24 15:01:05 +08:00
8a70972e7c upodate read me 2024-06-24 14:14:23 +08:00
05a2086571 update readme 2024-06-24 14:04:13 +08:00
f8cf318f4e update readme 2024-06-24 14:02:28 +08:00
49b8720212 增加 get udid 2024-06-24 11:35:17 +08:00
7 changed files with 30 additions and 5 deletions

View File

@ -12,8 +12,9 @@
<Copyright>DevWiki</Copyright> <Copyright>DevWiki</Copyright>
<PackageIcon>icon.ico</PackageIcon> <PackageIcon>icon.ico</PackageIcon>
<PackageTags>OpenHarmony,HarmonyOS</PackageTags> <PackageTags>OpenHarmony,HarmonyOS</PackageTags>
<AssemblyVersion>1.0.0</AssemblyVersion> <AssemblyVersion>1.0.2</AssemblyVersion>
<FileVersion>1.0.0</FileVersion> <FileVersion>1.0.2</FileVersion>
<Version>1.0.2</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -61,6 +61,8 @@
</Border> </Border>
<Button x:Name="GetPhoto" Grid.Row="3" Grid.Column="0" Width="100" Height="36" Content="导出照片" Click="GetPhoto_OnClick" /> <Button x:Name="GetPhoto" Grid.Row="3" Grid.Column="0" Width="100" Height="36" Content="导出照片" Click="GetPhoto_OnClick" />
<Button x:Name="GetUDID" Grid.Row="3" Grid.Column="1" Width="100" Height="36" Content="UDID" Click="GetUDID_OnClick" />
<TextBox x:Name="CommandTb" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="5" Margin="10,0,10,0" <TextBox x:Name="CommandTb" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="5" Margin="10,0,10,0"
Height="32" VerticalContentAlignment="Center" control:TextBoxHelper.Placeholder="输入命令不需要以 hdc 开头"/> Height="32" VerticalContentAlignment="Center" control:TextBoxHelper.Placeholder="输入命令不需要以 hdc 开头"/>

View File

@ -127,4 +127,10 @@ public partial class MainWindow : Window
string result = await Task.Run(() => HdcUtil.ExportFile(path)); string result = await Task.Run(() => HdcUtil.ExportFile(path));
AppendHintAndScrollToEnd($"export result: {result} \n"); AppendHintAndScrollToEnd($"export result: {result} \n");
} }
private void GetUDID_OnClick(object sender, RoutedEventArgs e)
{
CommandTb.Text = "shell bm get --udid";
GetCommandAndExecute();
}
} }

View File

@ -1,4 +1,4 @@
set version=1.0.0 set version=1.0.1
if not "%~1"=="" ( if not "%~1"=="" (
set version=%1 set version=%1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -1,15 +1,31 @@
![](https://img.shields.io/badge/状态-稳定-red.svg)
![](https://img.shields.io/badge/启动时间-2024/06/20-green.svg)
![](https://img.shields.io/badge/优先级-NORMAL-blue.svg)
![GitHub Release](https://img.shields.io/github/v/release/dev-wiki/HarmonyDevTools?color=yellow&label=版本)
本项目为HarmonyOS/OpenHarmony的 toolchains 工具提供UI操作, 方便使用. 本项目为HarmonyOS/OpenHarmony的 toolchains 工具提供UI操作, 方便使用.
## 1. 版本说明 ## 1. 版本说明
目前支持 hdc 工具的使用,后续会陆续增加其他工具~ 目前支持 hdc 工具的使用,后续会陆续增加其他工具,
hdc功能支持:
- 枚举设备/连接设备
- 重启hdc
- 版本信息显示
- 安装、卸载应用
- 导出照片
- 获取手机的UDID
- 其他命令的执行(手动输入执行)
下载地址: **Release** 页面下载最新版本。
![主界面](image/主界面.png) ![主界面](image/主界面.png)
## 2. 使用方式 ## 2. 使用方式
下载最新的 Release包, 解压如下目录, 双击 `HarmonyDevTools.exe` 运行。 下载最新版本, 解压如下目录, 双击 `HarmonyDevTools.exe` 运行。
![解压](image/解压后文件.png) ![解压](image/解压后文件.png)

Binary file not shown.