mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix conversion of path to string
This commit is contained in:
parent
ace609fb41
commit
92e5d10fdc
1 changed files with 6 additions and 8 deletions
|
|
@ -78,15 +78,13 @@ build_dir = "exe.{}-{}".format(get_platform(), sys.version[0:3])
|
|||
|
||||
# create full path
|
||||
if platform.system().lower() == "darwin":
|
||||
build_dir = os.path.join(Path(os.path.dirname(__file__)).parent,
|
||||
"build",
|
||||
"OpenPype.app",
|
||||
"Contents",
|
||||
"MacOS")
|
||||
build_dir = Path(os.path.dirname(__file__)).parent.joinpath(
|
||||
"build",
|
||||
"OpenPype.app",
|
||||
"Contents",
|
||||
"MacOS")
|
||||
else:
|
||||
build_dir = os.path.join(Path(os.path.dirname(__file__)).parent,
|
||||
"build",
|
||||
build_dir)
|
||||
build_dir = Path(os.path.dirname(__file__)).parent / "build" / build_dir
|
||||
|
||||
_print(f"Using build at {build_dir}", 2)
|
||||
if not build_dir.exists():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue