Merge branch 'master' into 'pasteboard'

# Conflicts:
#   internal/version/VERSION
This commit is contained in:
余泓铮
2025-08-11 13:23:02 +00:00
59 changed files with 1595 additions and 1585 deletions

View File

@@ -25,7 +25,7 @@ const (
CaseFileName = "case.json" // $PWD/results/20060102150405/case.json
// mobile device path
DeviceActionLogFilePath = "/sdcard/Android/data/io.appium.uiautomator2.server/files/hodor"
DeviceActionLogFilePath = "/storage/emulated/0/Download/"
)
type Config struct {

View File

@@ -139,6 +139,16 @@ func getDeviceConfig(deviceModel string) DeviceConfig {
SizeMax: 225.0,
}
// "Google"
case "iphone":
return DeviceConfig{
DeviceID: 2,
PressureMin: 1,
PressureMax: 1,
SizeMin: 0.03,
SizeMax: 0.04,
}
// Default configuration for unknown devices
default:
return DeviceConfig{