Skip to content

Commit

Permalink
Merge pull request #25 from alisaitteke/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
alisaitteke authored Nov 23, 2024
2 parents 4165318 + b046f92 commit 6a68b6d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
node-version: 20
cache: 'npm'

# Önce normal install yapılır
- name: Install dependencies
run: npm install

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async function main() {

## 🎨 Cool Things You Can Do

### 📱 Device Management (a.k.a. Phone Whispering)
### 📱 Device Management

```typescript
const adb = new ADB();
Expand All @@ -83,7 +83,7 @@ console.log(`
`);
```

### 📦 App Management (Like a Boss)
### 📦 App Management

```typescript
// Install that awesome app you built
Expand All @@ -100,7 +100,7 @@ console.log(`📊 App Version: ${info.versionName} (${info.versionCode})`);
await adb.clearAppData('device123', 'com.your.awesome.app');
```

### 📸 Screen Capture (Say Cheese!)
### 📸 Screen Capture

```typescript
// Take a screenshot (perfect for those "it works on my machine" moments)
Expand All @@ -113,7 +113,7 @@ await adb.recordScreen('device123', './bug-in-action.mp4', 10, {
});
```

### 🔋 System Monitoring (The Spy Game)
### 🔋 System Monitoring

```typescript
// Check the battery (is it coffee break time?)
Expand All @@ -132,7 +132,7 @@ console.log(`
`);
```

### 🎮 Device Control (Power User Stuff)
### 🎮 Device Control

```typescript
// Press buttons like a pro gamer
Expand All @@ -144,7 +144,7 @@ await adb.setWifiEnabled('device123', true); // 📶 ON
await adb.setWifiEnabled('device123', false); // 📴 OFF
```

## 🎯 Error Handling (Because Stuff Happens)
## 🎯 Error Handling

```typescript
import { ADB, ADBError, DeviceNotFoundError, CommandError } from 'adb-client';
Expand All @@ -163,7 +163,7 @@ try {
}
```

## ⚙️ Configuration (For the Perfectionists)
## ⚙️ Configuration

```typescript
const adb = new ADB({
Expand Down

0 comments on commit 6a68b6d

Please sign in to comment.