Skip to content

Commit

Permalink
修复bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pdone committed Aug 25, 2023
1 parent 7ed3d5f commit d892c1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion FreeControl/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ public void InitPdone()
private void ExtractResource(bool reload = false)
{
string tempFileName = "temp.zip";
if (reload)
// 如果重新加载 且旧目录存在 删除后重新解压资源
if (reload && Directory.Exists(ScrcpyPath))
{
Directory.Delete(ScrcpyPath, true);
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Android 11 及更高版本支持使用 Android 调试桥 (adb) 从工作站以
```
adb pair ipaddr:port
```
6. 提示 `Enter pairing code: ` 时输入弹窗中的配对码,成功后会显示 `Successfully paired to ...`
6. 提示 `Enter pairing code:` 时输入弹窗中的配对码,成功后会显示 `Successfully paired to ...`
7. 使用无线调试下的 **IP 地址和端口**
```
adb connect ipaddr:port
Expand Down

0 comments on commit d892c1e

Please sign in to comment.