Skip to content

Commit f2d9571

Browse files
committed
Update to scrcpy 1.25(x64)
1 parent cf38fcd commit f2d9571

File tree

7 files changed

+16
-12
lines changed

7 files changed

+16
-12
lines changed

FreeControl/FreeControl.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
<EmbeddedResource Include="SetProt.bat" />
156156
</ItemGroup>
157157
<ItemGroup>
158-
<None Include="Resources\scrcpy-win64-v1.21.zip" />
158+
<None Include="Resources\scrcpy-win64-v1.25.zip" />
159159
<None Include="Resources\Setting.png" />
160160
</ItemGroup>
161161
<ItemGroup>

FreeControl/Main.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public partial class Main : UIForm
2626
/// <summary>
2727
/// scrcpy版本
2828
/// </summary>
29-
public static readonly string ScrcpyVersion = "scrcpy_win64_v1_21";
29+
public static readonly string ScrcpyVersion = "scrcpy-win64-v1.25";
3030
/// <summary>
3131
/// scrcpy路径
3232
/// </summary>
@@ -240,9 +240,9 @@ private void ExtractResource()
240240
if (!Directory.Exists(ScrcpyPath))
241241
{
242242
Directory.CreateDirectory(ScrcpyPath);
243-
File.WriteAllBytes(ScrcpyPath + tempFileName, Properties.Resources.scrcpy_win64_v1_21);
243+
File.WriteAllBytes(ScrcpyPath + tempFileName, Properties.Resources.scrcpy_win64_v1_25);
244244
//解压缩
245-
ZipFile.ExtractToDirectory(ScrcpyPath + tempFileName, ScrcpyPath);
245+
ZipFile.ExtractToDirectory(ScrcpyPath + tempFileName, UserDataPath);
246246
//解压完成删除压缩包
247247
File.Delete(ScrcpyPath + tempFileName);
248248

@@ -281,6 +281,7 @@ private void StartButtonClick(object sender, EventArgs e)
281281

282282
//设置标题
283283
StartParameters += $"--window-title \"{ledTitle.Text}\" ";
284+
284285
//无线访问
285286
if (_Setting.UseWireless)
286287
{

FreeControl/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("Pdone Technology Ltd.")]
1212
[assembly: AssemblyProduct("Free Control")]
13-
[assembly: AssemblyCopyright("Copyright © 2021 Pdoner.cn")]
13+
[assembly: AssemblyCopyright("Copyright © 2023 pdoner.cn")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -33,5 +33,5 @@
3333
//通过使用 "*",如下所示:
3434
// [assembly: AssemblyVersion("1.0.*")]
3535
//[assembly: AssemblyVersion("1.0.0")]
36-
[assembly: AssemblyFileVersion("1.5.0")]
37-
[assembly: AssemblyVersion("1.5.0")]
36+
[assembly: AssemblyFileVersion("1.5.1")]
37+
[assembly: AssemblyVersion("1.5.1")]

FreeControl/Properties/Resources.Designer.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FreeControl/Properties/Resources.resx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@
121121
<data name="pcm" type="System.Resources.ResXFileRef, System.Windows.Forms">
122122
<value>..\Resources\pcm.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
123123
</data>
124-
<data name="scrcpy_win64_v1_21" type="System.Resources.ResXFileRef, System.Windows.Forms">
125-
<value>..\Resources\scrcpy-win64-v1.21.zip;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
124+
<data name="scrcpy_win64_v1_25" type="System.Resources.ResXFileRef, System.Windows.Forms">
125+
<value>..\Resources\scrcpy-win64-v1.25.zip;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
126126
</data>
127127
<data name="shortcut_en" type="System.Resources.ResXFileRef, System.Windows.Forms">
128128
<value>..\Resources\shortcut_en.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
![](https://cdn.jsdelivr.net/gh/pdone/static@latest/img/article/free-control/v1.4.0_5.gif)
1919

2020
## 版本说明
21+
### v1.5.1
22+
- 基于scrcpy v1.25
23+
2124
### v1.5.0
2225
- 基于scrcpy v1.21
2326
- 优化了代码
@@ -48,7 +51,7 @@
4851

4952
## 下载地址
5053
### 蓝奏云
51-
[https://pdone.lanzoui.com/ifgw3tzkaba](https://pdone.lanzoui.com/ifgw3tzkaba)
54+
[https://pdone.lanzouf.com/b018hod6f?password=5555](https://pdone.lanzouf.com/b018hod6f?password=5555)
5255

5356
### Github
5457
[https://github.com/pdone/FreeControl/releases](https://github.com/pdone/FreeControl/releases)

0 commit comments

Comments
 (0)