Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 1.25 KB

Readme.md

File metadata and controls

67 lines (50 loc) · 1.25 KB

Node native add-on for libimobiledevice

The main focus of the library is with electron apps. More info in their official site libimobiledevice.org

Installation

Mac

$ yarn add libimobiledevice

Windows

Requeriments

For using libimobiledevice-node on windows the following requeriments are needed:

  • Install Visual Studio 2017 community.
  • Install Windows SDK 8.1.
  • Be sure Powershell command can be called from the command line.
  • Add msbuild.exe on windows PATH.
$ yarn add libimobiledevice

Todo

Binaries ported

  • idevice_id
  • idevicebackup
  • idevicebackup2
  • idevicecrashreport
  • idevicedate
  • idevicedebug
  • idevicedebugserverproxy
  • idevicediagnostics
  • ideviceenterrecovery
  • ideviceimagemounter
  • ideviceinfo
  • idevicename
  • idevicenotificationproxy
  • idevicepair
  • ideviceprovision
  • idevicescreenshot
  • idevicesyslog

Usage

const lib = require('libimobiledevice')

// List of devices
lib.id(data => console.log(data))

// Device info
lib.info({
	debug: true,
    simple: true,
    udid: 'string',
    domain: 'string',
	key: 'string'
}, (err, data) => console.log(err, data))