Skip to content

Commit 4c9189d

Browse files
committed
feat: bump version to 0.5
1 parent 19dbc92 commit 4c9189d

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/build-windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Build
2121
run: dotnet build -c Release -o iOSFakeRun-Windows/iOSFakeRun-Windows
2222
- name: Get DeveloperDiskImage
23-
run: cd iOSFakeRun-Windows/iOSFakeRun-Windows && git clone https://github.com/GPSfaker/DeveloperDiskImage.git --depth=1
23+
run: cd iOSFakeRun-Windows/iOSFakeRun-Windows && git clone https://github.com/Mythologyli/DeveloperDiskImage.git --depth=1
2424
- name: Delete iOS 13 or earlier
2525
run: cd iOSFakeRun-Windows/iOSFakeRun-Windows/DeveloperDiskImage && ls -name | select-string -pattern "^1[0-3]\..*?" | %{rm $_ -Recurse -Force -Confirm:$false}
2626
- name: Delete iOS 9 or earlier

iOSFakeRun/App.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ namespace iOSFakeRun;
55
/// <summary>
66
/// Interaction logic for App.xaml
77
/// </summary>
8-
public partial class App : Application
8+
public partial class App
99
{
1010
}

iOSFakeRun/FakeRun/Location.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Globalization;
23
using System.Text;
34
using iMobileDevice;
45
using iMobileDevice.iDevice;
@@ -27,8 +28,8 @@ public static bool SetLocation(iDeviceHandle? idevice, LockdownClientHandle? loc
2728
LockdownError.Success &&
2829
LibiMobileDevice.Instance.Service.service_client_new(idevice, lockdownServiceDescriptor, out var locationServiceClient) == ServiceError.Success &&
2930
SendUInt(locationServiceClient, 0u) &&
30-
SendString(locationServiceClient, latitude.ToString()) &&
31-
SendString(locationServiceClient, longitude.ToString());
31+
SendString(locationServiceClient, latitude.ToString(CultureInfo.InvariantCulture)) &&
32+
SendString(locationServiceClient, longitude.ToString(CultureInfo.InvariantCulture));
3233
}
3334

3435
private static bool SendUInt(ServiceClientHandle locationServiceClient, uint value)

iOSFakeRun/MainWindow.xaml.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
namespace iOSFakeRun;
1414

15-
public partial class MainWindow : Window
15+
public partial class MainWindow
1616
{
1717
private readonly IiDeviceApi _ideviceInstance = LibiMobileDevice.Instance.iDevice;
1818
private readonly ILockdownApi _lockdownInstance = LibiMobileDevice.Instance.Lockdown;
@@ -266,6 +266,6 @@ private void StopRun(object sender, RoutedEventArgs e)
266266

267267
private void About(object sender, RoutedEventArgs e)
268268
{
269-
MessageBox.Show("iOS Fake Run\n版本: v0.4\n作者: Myth\n\n请勿将本工具用于任何非法用途");
269+
MessageBox.Show("iOS Fake Run\n版本: v0.5\n作者: Myth\n\n请勿将本工具用于任何非法用途");
270270
}
271271
}

0 commit comments

Comments
 (0)