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: 87a2bf97caed467a714e1e8a805cd628dc81580bd0e82f5da9ad391a9f39ffc1
4
- data.tar.gz: 0007e34f11cae5b399bd10635f1a24a9e246d8f6d93258875a5ed95119bdf052
3
+ metadata.gz: bf38b32256bf1c67f5b5a37fa19c89df1c6b3d2a4a1c239f3af4c581e3a49f6e
4
+ data.tar.gz: 64ef54b5dde925640930a22c2a0e727d3605593a79f656a78ce184f8313b1363
5
5
  SHA512:
6
- metadata.gz: e2867a3dfbdca82d6dace40d5f74df8c87538f8f676fa65c6f1bacdac87ca01fa77497f909f3d8722a2606322628e5106ec176f23b9e86da53d989868e9e825d
7
- data.tar.gz: f98b02a1e34eee352facb652510af2695bd8697d4fe96d9b4238140ad78ccecd62931b0de6e604a5a2444d8d6136b3782280b710f251ed540f8a79fddabfcaf7
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
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidEmulatorKami
3
- VERSION = "1.0.6"
3
+ VERSION = "1.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-android_emulator_kami
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Ruhl