-
Notifications
You must be signed in to change notification settings - Fork 17
Add windows compatibility #45
base: master
Are you sure you want to change the base?
Add windows compatibility #45
Conversation
} | ||
val emulator = when (os()) { | ||
Os.Linux, Os.Mac -> "$androidHome/emulator/emulator" | ||
Os.Windows -> "$androidHome/emulator/emulator.exe" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.exe
! RUN DON'T LOOK BACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -102,8 +116,7 @@ private fun startEmulator( | |||
.doOnNext { log("Ports for emulator ${args.emulatorName}: ${it.first}, ${it.second}.") } | |||
.flatMap { ports -> | |||
startEmulatorProcess( | |||
// Unix only, PR welcome. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I knew someone will delete this line haha
@@ -334,3 +347,17 @@ private fun outputDirectory(args: Commands.Start) = | |||
|
|||
private fun connectedEmulators(): Single<Set<AdbDevice>> = | |||
connectedAdbDevices().take(1).toSingle().map { it.filter { it.isEmulator }.toSet() } | |||
|
|||
private fun os(): Os { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets do it, sounds good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yunikkk can you PTAL? |
@jakob-grabner |
Update commander to 0.1.8 -> 0.1.10 Update jCommander to 1.71 -> 1.72 Update kotlin to 1.2.41 -> 1.2.61
@yunikkk thanks for exposing |
Make swarmer work on windows.
Fixes #37