Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #25

Merged
merged 2 commits into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading