mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Add cura latest.json url to template so it can be set from the conanfile.
CURA-9272
This commit is contained in:
parent
57d739a848
commit
a20e7bf8d9
2 changed files with 7 additions and 1 deletions
|
@ -11,3 +11,4 @@ CuraCloudAPIVersion = "{{ cura_cloud_api_version }}"
|
||||||
CuraCloudAccountAPIRoot = "{{ cura_cloud_account_api_root }}"
|
CuraCloudAccountAPIRoot = "{{ cura_cloud_account_api_root }}"
|
||||||
CuraMarketplaceRoot = "{{ cura_marketplace_root }}"
|
CuraMarketplaceRoot = "{{ cura_marketplace_root }}"
|
||||||
CuraDigitalFactoryURL = "{{ cura_digital_factory_url }}"
|
CuraDigitalFactoryURL = "{{ cura_digital_factory_url }}"
|
||||||
|
CuraLatestURL = "{{ cura_latest_url }}"
|
||||||
|
|
|
@ -100,6 +100,10 @@ class CuraConan(ConanFile):
|
||||||
def _digital_factory_url(self):
|
def _digital_factory_url(self):
|
||||||
return "https://digitalfactory-staging.ultimaker.com" if self._staging else "https://digitalfactory.ultimaker.com"
|
return "https://digitalfactory-staging.ultimaker.com" if self._staging else "https://digitalfactory.ultimaker.com"
|
||||||
|
|
||||||
|
@property
|
||||||
|
def _cura_latest_url(self):
|
||||||
|
return "https://raw.githubusercontent.com/Ultimaker/Uranium/CURA-9272_semver_postfix/tests/latest.json"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def requirements_txts(self):
|
def requirements_txts(self):
|
||||||
if self.options.devtools:
|
if self.options.devtools:
|
||||||
|
@ -161,7 +165,8 @@ class CuraConan(ConanFile):
|
||||||
cura_cloud_api_version = self.options.cloud_api_version,
|
cura_cloud_api_version = self.options.cloud_api_version,
|
||||||
cura_cloud_account_api_root = self._cloud_account_api_root,
|
cura_cloud_account_api_root = self._cloud_account_api_root,
|
||||||
cura_marketplace_root = self._marketplace_root,
|
cura_marketplace_root = self._marketplace_root,
|
||||||
cura_digital_factory_url = self._digital_factory_url))
|
cura_digital_factory_url = self._digital_factory_url,
|
||||||
|
cura_latest_url = self._cura_latest_url))
|
||||||
|
|
||||||
def _generate_pyinstaller_spec(self, location, entrypoint_location, icon_path, entitlements_file):
|
def _generate_pyinstaller_spec(self, location, entrypoint_location, icon_path, entitlements_file):
|
||||||
pyinstaller_metadata = self._um_data()["pyinstaller"]
|
pyinstaller_metadata = self._um_data()["pyinstaller"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue