本帖最后由 Qter 于 2020-4-19 14:21 编辑
git clone https://github.com/hechengjin/tdesktop_TBuild.git
开始菜单 Visual Studio 2019->x86 Native Tools Command Prompt for VS 2019- cd ThirdParty
- git clone https://github.com/desktop-app/patches.git
- cd patches
- git checkout 395b620
- cd ../
- git clone https://chromium.googlesource.com/external/gyp
- cd gyp
- git checkout 9f2a7bb1
- git apply ../patches/gyp.diff
- cd ..\..
复制代码 但在执行 git clone https://chromium.googlesource.com/external/gyp时
fatal: unable to access 'https://chromium.googlesource.com/external/gyp/': Failed to connect to chromium.googlesource.com port 443: Timed out
,在cmd下运行如下代码config --globalhttp.proxy "localhost:1080",
或 模式:全局-Built-in rule
Add GYP and Ninja to your PATH: - Open Control Panel -> System -> Advanced system settings
- Press Environment Variables...
- Select Path
- Press Edit
- Add BuildPath\ThirdParty\gyp value
- Add BuildPath\ThirdParty\Ninja value
|