fastlane-plugin-android_emulator_kami 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf38b32256bf1c67f5b5a37fa19c89df1c6b3d2a4a1c239f3af4c581e3a49f6e
|
4
|
+
data.tar.gz: 64ef54b5dde925640930a22c2a0e727d3605593a79f656a78ce184f8313b1363
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76945b949af06fd698057b7eb07a1131c27fcb66f1696f3ee7945c2e1817cce1d0830a26ef3f3073d4e5a72ef84da3330c7c44ec61f910e3c68707c6e0bd26bd
|
7
|
+
data.tar.gz: 7f0a80df2c64f437b3291ac86cf63266928072a1fbea5f0a22eb32f0e0f6b26fbe2efde454c2ca3442f8d3c17e7e48ce55cf7836fb11c0a8633d0d99b7bc8641
|
@@ -12,7 +12,8 @@ module Fastlane
|
|
12
12
|
adb = "#{sdk_dir}/platform-tools/adb"
|
13
13
|
|
14
14
|
resolution_width = params[:resolution_width]
|
15
|
-
resolution_height = params[:resolution_height]
|
15
|
+
resolution_height = params[:resolution_height]
|
16
|
+
resolution_dpi = params[:resolution_dpi]
|
16
17
|
|
17
18
|
|
18
19
|
UI.message("Stopping emulator")
|
@@ -36,7 +37,8 @@ module Fastlane
|
|
36
37
|
"skin.dynamic" => "yes",
|
37
38
|
"skin.name" => "#{resolution_width}x#{resolution_height}",
|
38
39
|
"hw.lcd.height" => resolution_height,
|
39
|
-
"hw.lcd.width" => resolution_width
|
40
|
+
"hw.lcd.width" => resolution_width,
|
41
|
+
"hw.lcd.density" => resolution_dpi
|
40
42
|
}
|
41
43
|
new_ini = IniFile.new
|
42
44
|
new_settings.each do |key, value|
|
@@ -139,9 +141,13 @@ module Fastlane
|
|
139
141
|
env_name: "AVD_RESOLUTION_HEIGHT",
|
140
142
|
description: "Resolution of avd height",
|
141
143
|
default_value: "1920",
|
144
|
+
optional: true),
|
145
|
+
FastlaneCore::ConfigItem.new(key: :resolution_dpi,
|
146
|
+
env_name: "AVD_RESOLUTION_DPI",
|
147
|
+
description: "Device DPI",
|
148
|
+
default_value: "480",
|
142
149
|
optional: true)
|
143
150
|
|
144
|
-
|
145
151
|
]
|
146
152
|
end
|
147
153
|
|