mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Install nuget and jom with prepare.py
This commit is contained in:
parent
42fe80b5e2
commit
4d4d75addf
4 changed files with 15 additions and 8 deletions
6
.github/workflows/win.yml
vendored
6
.github/workflows/win.yml
vendored
|
@ -79,10 +79,8 @@ jobs:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
path: ${{ env.TBUILD }}\${{ env.REPO_NAME }}
|
path: ${{ env.TBUILD }}\${{ env.REPO_NAME }}
|
||||||
|
|
||||||
- name: Choco installs.
|
- name: Python installs.
|
||||||
run: |
|
run: py -m pip install pywin32
|
||||||
choco install --no-progress -y jom
|
|
||||||
py -m pip install pywin32
|
|
||||||
|
|
||||||
- name: Set up environment paths.
|
- name: Set up environment paths.
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -418,6 +418,19 @@ win:
|
||||||
SET PATH=%PATH_BACKUP_%
|
SET PATH=%PATH_BACKUP_%
|
||||||
""", 'ThirdParty')
|
""", 'ThirdParty')
|
||||||
|
|
||||||
|
stage('NuGet', """
|
||||||
|
win:
|
||||||
|
mkdir NuGet
|
||||||
|
powershell -Command "Invoke-WebRequest -OutFile ./NuGet/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
|
||||||
|
""", 'ThirdParty')
|
||||||
|
|
||||||
|
stage('jom', """
|
||||||
|
win:
|
||||||
|
powershell -Command "Invoke-WebRequest -OutFile ./jom.zip http://download.qt.io/official_releases/jom/jom.zip"
|
||||||
|
powershell -Command "Expand-Archive ./jom.zip"
|
||||||
|
del jom.zip
|
||||||
|
""", 'ThirdParty')
|
||||||
|
|
||||||
stage('depot_tools', """
|
stage('depot_tools', """
|
||||||
mac:
|
mac:
|
||||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||||||
|
|
|
@ -20,11 +20,9 @@ You will require **api_id** and **api_hash** to access the Telegram API servers.
|
||||||
|
|
||||||
## Install third party software
|
## Install third party software
|
||||||
|
|
||||||
* Download **jom** archive from [http://download.qt.io/official_releases/jom/jom.zip](http://download.qt.io/official_releases/jom/jom.zip) and unpack to ***BuildPath*\\ThirdParty\\jom**
|
|
||||||
* Download **Python 3.9** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python39** with adding to PATH
|
* Download **Python 3.9** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python39** with adding to PATH
|
||||||
* Download **CMake 3.21 or later** installer from [https://cmake.org/download/](https://cmake.org/download/) and install to ***BuildPath*\\ThirdParty\\cmake**
|
* Download **CMake 3.21 or later** installer from [https://cmake.org/download/](https://cmake.org/download/) and install to ***BuildPath*\\ThirdParty\\cmake**
|
||||||
* Download **Git** installer from [https://git-scm.com/download/win](https://git-scm.com/download/win) and install it.
|
* Download **Git** installer from [https://git-scm.com/download/win](https://git-scm.com/download/win) and install it.
|
||||||
* Download **NuGet** executable from [https://dist.nuget.org/win-x86-commandline/latest/nuget.exe](https://dist.nuget.org/win-x86-commandline/latest/nuget.exe) and put to ***BuildPath*\\ThirdParty\\NuGet**
|
|
||||||
|
|
||||||
Open **x64 Native Tools Command Prompt for VS 2022.bat**, go to ***BuildPath*** and run
|
Open **x64 Native Tools Command Prompt for VS 2022.bat**, go to ***BuildPath*** and run
|
||||||
|
|
||||||
|
|
|
@ -20,11 +20,9 @@ You will require **api_id** and **api_hash** to access the Telegram API servers.
|
||||||
|
|
||||||
## Install third party software
|
## Install third party software
|
||||||
|
|
||||||
* Download **jom** archive from [http://download.qt.io/official_releases/jom/jom.zip](http://download.qt.io/official_releases/jom/jom.zip) and unpack to ***BuildPath*\\ThirdParty\\jom**
|
|
||||||
* Download **Python 3.9** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python39** with adding to PATH
|
* Download **Python 3.9** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python39** with adding to PATH
|
||||||
* Download **CMake 3.21 or later** installer from [https://cmake.org/download/](https://cmake.org/download/) and install to ***BuildPath*\\ThirdParty\\cmake**
|
* Download **CMake 3.21 or later** installer from [https://cmake.org/download/](https://cmake.org/download/) and install to ***BuildPath*\\ThirdParty\\cmake**
|
||||||
* Download **Git** installer from [https://git-scm.com/download/win](https://git-scm.com/download/win) and install it.
|
* Download **Git** installer from [https://git-scm.com/download/win](https://git-scm.com/download/win) and install it.
|
||||||
* Download **NuGet** executable from [https://dist.nuget.org/win-x86-commandline/latest/nuget.exe](https://dist.nuget.org/win-x86-commandline/latest/nuget.exe) and put to ***BuildPath*\\ThirdParty\\NuGet**
|
|
||||||
|
|
||||||
Open **x86 Native Tools Command Prompt for VS 2022.bat**, go to ***BuildPath*** and run
|
Open **x86 Native Tools Command Prompt for VS 2022.bat**, go to ***BuildPath*** and run
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue