From 3bbfaa186ff6d1601dd623642b71886e93dc34d7 Mon Sep 17 00:00:00 2001 From: stefled Date: Wed, 25 Aug 2021 11:43:01 +0200 Subject: [PATCH] feat[conan remotes win] : remove conan-community remote in nsis setup update bincrafters remote url and general conan configuration for bincrafters in nsis setup --- resources/install_remaken_3rdparties.nsh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/install_remaken_3rdparties.nsh b/resources/install_remaken_3rdparties.nsh index 76afd94..d2d4121 100644 --- a/resources/install_remaken_3rdparties.nsh +++ b/resources/install_remaken_3rdparties.nsh @@ -153,8 +153,12 @@ SectionGroup /e "Chocolatey" CHOCO_TOOLS ;always install/update conan ;IfFileExists $1\Python3\Scripts\conan.exe conan_exists ExecWait '$python_install_dir\Scripts\pip install --upgrade conan' - ExecWait '$python_install_dir\Scripts\conan remote add --force --insert 0 conan-community https://api.bintray.com/conan/conan-community/conan' - ExecWait '$python_install_dir\Scripts\conan remote add --force bincrafters https://api.bintray.com/conan/bincrafters/public-conan' + # remove old conan-commnunity remote + ExecWait '$python_install_dir\Scripts\conan remote remove conan-community' + # update binCrafters remote url + ExecWait '$python_install_dir\Scripts\conan remote add --force bincrafters https://bincrafters.jfrog.io/artifactory/api/conan/public-conan' + # config for binCrafters remote + ExecWait '$python_install_dir\Scripts\conan config set general.revisions_enabled=1' ;conan_exists: SectionEnd Section "pkg-config" CHOCO_TOOLS_PKG_CONFIG