mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:49:00 +08:00
use package resource folder
Contributes to CURA-9365
This commit is contained in:
parent
721aff4255
commit
2ea78a3ef6
@ -300,7 +300,7 @@ class CuraConan(ConanFile):
|
||||
self._generate_pyinstaller_spec(self._base_dir,
|
||||
Path(self.cpp_info.bin_paths[0], self._um_data(self.version)["runinfo"]["entrypoint"]),
|
||||
Path(self.cpp_info.res_paths[2], self._um_data(self.version)["pyinstaller"]["icon"][str(self.settings.os)]),
|
||||
Path(self.source_folder, "packaging", "dmg", "cura.entitlements" if self.settings.os == "Macos" else None))
|
||||
Path(self.cpp_info.res_paths[2], "packaging", "dmg", "cura.entitlements" if self.settings.os == "Macos" else None))
|
||||
|
||||
def package(self):
|
||||
self.copy("cura_app.py", src = ".", dst = self.cpp.package.bindirs[0])
|
||||
|
Loading…
x
Reference in New Issue
Block a user