Skip to content

Commit

Permalink
Fix: ding-dong example requires uos protocol; gcloud libatk-bridge2.0 (
Browse files Browse the repository at this point in the history
…#295)

* fix: ding-dong requires uos

* 1.18.8

* fix: gcloud tutorial system dependencies:libatk-bridge2.0

* 1.18.9

* Update ding-dong-bot.ts

---------

Co-authored-by: Huan Li <[email protected]>
  • Loading branch information
vyvy3n and huan authored Jul 14, 2023
1 parent cecc9ee commit 5f86ab2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions examples/ding-dong-bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ async function onMessage (msg: Message) {

const bot = WechatyBuilder.build({
name: 'ding-dong-bot',
/**
* You can specific `puppet` and `puppetOptions` here with hard coding:
*
puppet: 'wechaty-puppet-wechat',
puppetOptions: {
uos: true,
},
*/
/**
* How to set Wechaty Puppet Provider:
*
Expand Down
3 changes: 2 additions & 1 deletion examples/tutorials/google-cloud-shell-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ Git Repo has been already cloned in Google Cloud Shell already.

### 3. Install system dependency packages

The `puppeteer` needs `libgbm1` to be presented in the system, we need to install it first, run:
The `puppeteer` needs `libgbm1` and `libatk-bridge2.0` to be presented in the system, we need to install it first, run:

```sh
sudo apt install -y libgbm1 libxkbcommon-x11-0
sudo apt-get install -y libatk-bridge2.0-0
```

## NPM Install
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wechaty-getting-started",
"version": "1.18.7",
"version": "1.18.9",
"description": "Wechaty conversational SDK getting start template & examples",
"type": "module",
"engines": {
Expand Down

0 comments on commit 5f86ab2

Please sign in to comment.