Skip to content

Commit

Permalink
replace package name
Browse files Browse the repository at this point in the history
  • Loading branch information
aoliaoaoaojiao committed Oct 24, 2022
1 parent 381227c commit e8bbd17
Show file tree
Hide file tree
Showing 25 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</p>
<p align="center">🎉Library of Communicate with iOS devices implemented with Golang</p>

### This repo was fork from [gidevice](https://github.com/electricbubble/gidevice).
### This repo was fork from [gidevice](https://github.com/SonicCloudOrg/sonic-gidevice).
We will optimize and customize based on this, and we will also provide our pr to the original repo by branch `feat/contribute_to_repo` after testing.

## Installation
Expand Down
2 changes: 1 addition & 1 deletion afc.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/binary"
"errors"
"fmt"
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
"io"
"path"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion crashreportmover.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package giDevice

import (
"fmt"
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
"howett.net/plist"
"io"
"os"
Expand Down
8 changes: 4 additions & 4 deletions device.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strings"
"time"

"github.com/electricbubble/gidevice/pkg/ipa"
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/electricbubble/gidevice/pkg/nskeyedarchiver"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/ipa"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/nskeyedarchiver"
uuid "github.com/satori/go.uuid"
"howett.net/plist"
)
Expand Down Expand Up @@ -869,7 +869,7 @@ func (d *device) XCTest(bundleID string, opts ...XCTestOption) (out <-chan strin
return _out, cancelFunc, err
}

// see https://github.com/electricbubble/gidevice/issues/31
// see https://github.com/SonicCloudOrg/sonic-gidevice/issues/31
// if err = d.instruments.startObserving(pid); err != nil {
// return _out, cancelFunc, err
// }
Expand Down
2 changes: 1 addition & 1 deletion diagnosticsrelay.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package giDevice

import "github.com/electricbubble/gidevice/pkg/libimobiledevice"
import "github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"

func newDiagnosticsRelay(client *libimobiledevice.DiagnosticsRelayClient) *diagnostics {
return &diagnostics{
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/electricbubble/gidevice
module github.com/SonicCloudOrg/sonic-gidevice

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion housearrest.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package giDevice

import "github.com/electricbubble/gidevice/pkg/libimobiledevice"
import "github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"

var _ HouseArrest = (*houseArrest)(nil)

Expand Down
4 changes: 2 additions & 2 deletions idevice.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"fmt"
"time"

"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/electricbubble/gidevice/pkg/nskeyedarchiver"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/nskeyedarchiver"
)

type Usbmux interface {
Expand Down
2 changes: 1 addition & 1 deletion imagemounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package giDevice

import (
"fmt"
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
"os"
)

Expand Down
2 changes: 1 addition & 1 deletion installationproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package giDevice

import (
"fmt"
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
)

var _ InstallationProxy = (*installationProxy)(nil)
Expand Down
2 changes: 1 addition & 1 deletion instruments.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
)

// instruments services
Expand Down
2 changes: 1 addition & 1 deletion lockdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"strings"
"time"

"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
uuid "github.com/satori/go.uuid"
)

Expand Down
2 changes: 1 addition & 1 deletion pcapd.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package giDevice

import (
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
)

type pcapdClient struct {
Expand Down
2 changes: 1 addition & 1 deletion perfd.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"time"

"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
)

type PerfOptions struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/libimobiledevice/auxbuffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"encoding/binary"
"errors"
"github.com/electricbubble/gidevice/pkg/nskeyedarchiver"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/nskeyedarchiver"
)

type AuxBuffer struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/libimobiledevice/client_dtxmessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"context"
"encoding/hex"
"fmt"
"github.com/electricbubble/gidevice/pkg/nskeyedarchiver"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/nskeyedarchiver"
"io"
"strings"
"sync"
Expand Down Expand Up @@ -179,7 +179,7 @@ func (c *dtxMessageClient) ReceiveDTXMessage() (result *DTXMessageResult, err er

var aux, obj []byte

// see https://github.com/electricbubble/gidevice/issues/28
// see https://github.com/SonicCloudOrg/sonic-gidevice/issues/28
if r, l := payloadSize+payload.AuxiliaryLength, len(rawPayload); int(r) <= l {
aux = rawPayload[payloadSize:r]
} else {
Expand Down
2 changes: 1 addition & 1 deletion screenshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"errors"
"fmt"
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
)

var _ Screenshot = (*screenshot)(nil)
Expand Down
2 changes: 1 addition & 1 deletion simulatelocation.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package giDevice

import "github.com/electricbubble/gidevice/pkg/libimobiledevice"
import "github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"

var _ SimulateLocation = (*simulateLocation)(nil)

Expand Down
2 changes: 1 addition & 1 deletion springboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package giDevice
import (
"bytes"
"fmt"
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
)

func newSpringBoard(client *libimobiledevice.SpringBoardClient) *springboard {
Expand Down
2 changes: 1 addition & 1 deletion syslogrelay.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package giDevice
import (
"bufio"
"fmt"
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
"io"
"strings"
)
Expand Down
2 changes: 1 addition & 1 deletion testmanagerd.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package giDevice

import (
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
)

var _ Testmanagerd = (*testmanagerd)(nil)
Expand Down
2 changes: 1 addition & 1 deletion usbmux.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package giDevice
import (
"context"

"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
)

var _ Usbmux = (*usbmux)(nil)
Expand Down
2 changes: 1 addition & 1 deletion usbmux_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package giDevice

import (
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
"testing"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion webinspector.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package giDevice

import (
"fmt"
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
)

var _ WebInspector = (*webInspectorService)(nil)
Expand Down
4 changes: 2 additions & 2 deletions xctestmanagerdaemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package giDevice

import (
"fmt"
"github.com/electricbubble/gidevice/pkg/libimobiledevice"
"github.com/electricbubble/gidevice/pkg/nskeyedarchiver"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/libimobiledevice"
"github.com/SonicCloudOrg/sonic-gidevice/pkg/nskeyedarchiver"
)

var _ XCTestManagerDaemon = (*xcTestManagerDaemon)(nil)
Expand Down

0 comments on commit e8bbd17

Please sign in to comment.