Sha256: 62a3d27349924b9d4f386be6610fc51cb05952af50c3ca258348d3939cfb2bd5

Contents?: true

Size: 445 Bytes

Versions: 11

Compression:

Stored size: 445 Bytes

Contents

require 'shellwords'

module SimCtl
  class Command
    module Install
      # Installs an app on a device
      #
      # @param device [SimCtl::Device] the device the app should be installed on
      # @param path Absolute path to the app that should be installed
      # @return [void]
      def install_app(device, path)
        Executor.execute(command_for('install', device.udid, Shellwords.shellescape(path)))
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
simctl-1.6.10 lib/simctl/command/install.rb
simctl-1.6.8 lib/simctl/command/install.rb
simctl-1.6.7 lib/simctl/command/install.rb
simctl-1.6.6 lib/simctl/command/install.rb
simctl-1.6.5 lib/simctl/command/install.rb
simctl-1.6.4 lib/simctl/command/install.rb
simctl-1.6.3 lib/simctl/command/install.rb
simctl-1.6.2 lib/simctl/command/install.rb
simctl-1.6.1 lib/simctl/command/install.rb
simctl-1.6.0 lib/simctl/command/install.rb
simctl-1.5.8 lib/simctl/command/install.rb