You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can compile and install the library with these commands:
80
80
81
81
```sh
82
-
git clone https://github.com/reo7sp/tgbot-cpp
83
-
cdtgbot-cpp
82
+
git clone https://github.com/reo7sp/maxbot-cpp
83
+
cdmaxbot-cpp
84
84
cmake .
85
85
make -j4
86
86
sudo make install
87
87
```
88
88
89
-
Alternatively, you can use Docker to build and run your bot. Set the base image of your's Dockerfile to [reo7sp/tgbot-cpp](https://hub.docker.com/r/reo7sp/tgbot-cpp/).
89
+
Alternatively, you can use Docker to build and run your bot. Set the base image of your's Dockerfile to [reo7sp/maxbot-cpp](https://hub.docker.com/r/reo7sp/maxbot-cpp/).
90
90
91
91
92
92
## Library installation on MacOS
@@ -102,7 +102,7 @@ You can compile and install the library like Linux instructions.
102
102
103
103
## Library installation on Windows
104
104
105
-
### Download vcpkg and tgbot-cpp
105
+
### Download vcpkg and maxbot-cpp
106
106
107
107
Taken from [Vcpkg - Quick Start: Windows](https://github.com/Microsoft/vcpkg/#quick-start-windows).
108
108
@@ -127,13 +127,13 @@ In order to use vcpkg with Visual Studio, run the following command (may require
127
127
To install the libraries for Windows x64, run:
128
128
129
129
```cmd
130
-
> .\vcpkg\vcpkg install tgbot-cpp:x64-windows
130
+
> .\vcpkg\vcpkg install maxbot-cpp:x64-windows
131
131
```
132
132
133
133
To install for Windows x86, run:
134
134
135
135
```cmd
136
-
> .\vcpkg\vcpkg install tgbot-cpp
136
+
> .\vcpkg\vcpkg install maxbot-cpp
137
137
```
138
138
139
139
The library will now be installed and Visual Studio should be able to find the vcpkg installation.
@@ -143,7 +143,7 @@ The library will now be installed and Visual Studio should be able to find the v
143
143
Use the [example CMakeLists.txt](samples/echobot/CMakeLists.txt) with changes:
144
144
145
145
1. Remove `/usr/local/include`
146
-
2. Change `/usr/local/lib/libTgBot.a` to `C:/src/vcpkg/installed/x64-windows/lib/TgBot.lib` or something simmilar according to your own installation path.
146
+
2. Change `/usr/local/lib/libMaxBot.a` to `C:/src/vcpkg/installed/x64-windows/lib/MaxBot.lib` or something simmilar according to your own installation path.
147
147
148
148
149
149
## Bot compilation
@@ -157,7 +157,7 @@ Also, you can treat this repository as a submodule of your project, for example,
0 commit comments