fix: merge

This commit is contained in:
huangbin.beal
2025-08-11 21:41:41 +08:00
10 changed files with 819 additions and 145 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{