mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 13:21:10 -07:00
Make the entrypoint and icon path relative from source
Contributes to CURA-9365
This commit is contained in:
parent
dfc0f9b31f
commit
29ddfe1352
1 changed files with 2 additions and 2 deletions
|
|
@ -167,12 +167,12 @@ class CuraConan(ConanFile):
|
|||
with open(Path(self.generators_folder, "Ultimaker-Cura.spec"), "w") as f:
|
||||
f.write(pyinstaller.render(
|
||||
name = str(self.options.display_name).replace(" ", "-"),
|
||||
entrypoint = self._um_data(self.version)["runinfo"]["entrypoint"],
|
||||
entrypoint = os.path.join("..", "..", self._um_data(self.version)["runinfo"]["entrypoint"]),
|
||||
datas = datas,
|
||||
binaries = binaries,
|
||||
hiddenimports = pyinstaller_metadata["hiddenimports"],
|
||||
collect_all = pyinstaller_metadata["collect_all"],
|
||||
icon = pyinstaller_metadata["icon"][str(self.settings.os)]
|
||||
icon = os.path.join("..", "..", pyinstaller_metadata["icon"][str(self.settings.os)])
|
||||
))
|
||||
|
||||
def imports(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue