mirror of
https://github.com/Dev-Wiki/HarmonyDevTools.git
synced 2025-02-05 20:07:29 +08:00
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
48a275126b | |||
4af6b8207e | |||
aa45887522 | |||
103089bccd | |||
65af94453c | |||
8a70972e7c | |||
05a2086571 | |||
f8cf318f4e | |||
49b8720212 |
@ -12,8 +12,9 @@
|
||||
<Copyright>DevWiki</Copyright>
|
||||
<PackageIcon>icon.ico</PackageIcon>
|
||||
<PackageTags>OpenHarmony,HarmonyOS</PackageTags>
|
||||
<AssemblyVersion>1.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0</FileVersion>
|
||||
<AssemblyVersion>1.0.2</AssemblyVersion>
|
||||
<FileVersion>1.0.2</FileVersion>
|
||||
<Version>1.0.2</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -61,6 +61,8 @@
|
||||
</Border>
|
||||
|
||||
<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"
|
||||
Height="32" VerticalContentAlignment="Center" control:TextBoxHelper.Placeholder="输入命令不需要以 hdc 开头"/>
|
||||
|
@ -127,4 +127,10 @@ public partial class MainWindow : Window
|
||||
string result = await Task.Run(() => HdcUtil.ExportFile(path));
|
||||
AppendHintAndScrollToEnd($"export result: {result} \n");
|
||||
}
|
||||
|
||||
private void GetUDID_OnClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
CommandTb.Text = "shell bm get --udid";
|
||||
GetCommandAndExecute();
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
set version=1.0.0
|
||||
set version=1.0.1
|
||||
|
||||
if not "%~1"=="" (
|
||||
set version=%1
|
||||
|
BIN
image/主界面.png
BIN
image/主界面.png
Binary file not shown.
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 28 KiB |
20
readme.md
20
readme.md
@ -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操作, 方便使用.
|
||||
|
||||
## 1. 版本说明
|
||||
|
||||
目前支持 hdc 工具的使用,后续会陆续增加其他工具~
|
||||
目前支持 hdc 工具的使用,后续会陆续增加其他工具,
|
||||
|
||||
hdc功能支持:
|
||||
- 枚举设备/连接设备
|
||||
- 重启hdc
|
||||
- 版本信息显示
|
||||
- 安装、卸载应用
|
||||
- 导出照片
|
||||
- 获取手机的UDID
|
||||
- 其他命令的执行(手动输入执行)
|
||||
|
||||
下载地址: **Release** 页面下载最新版本。
|
||||
|
||||
![主界面](image/主界面.png)
|
||||
|
||||
## 2. 使用方式
|
||||
|
||||
下载最新的 Release包, 解压如下目录, 双击 `HarmonyDevTools.exe` 运行。
|
||||
下载最新版本, 解压如下目录, 双击 `HarmonyDevTools.exe` 运行。
|
||||
|
||||
![解压](image/解压后文件.png)
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user