Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS path for harmony.exe in renderWriteNodes() #44

Open
waterwheels opened this issue Jan 24, 2022 · 4 comments
Open

MacOS path for harmony.exe in renderWriteNodes() #44

waterwheels opened this issue Jan 24, 2022 · 4 comments

Comments

@waterwheels
Copy link
Contributor

ln 2173 of openHarmony_scene.js is var harmonyBin = specialFolders.bin+"/HarmonyPremium.exe";, but that doesn't exist in MacOS. I'm not sure what the equivalent is in MacOS though

@mchaptel
Copy link
Collaborator

mchaptel commented Jan 24, 2022

can you try simply removing the ".exe" part ? I think it might do the trick! We can probably use it in general, as I think it works on windows as well.

@waterwheels
Copy link
Contributor Author

Hmm i changed 2173 to var harmonyBin = specialFolders.bin+"/HarmonyPremium";but it appears to have the same result; the progress dialogue launches but never updates

@mchaptel
Copy link
Collaborator

Can you print this location and see if it corresponds to an existing file? Sadly I don't have a mac to test this on...

Are you getting any info from the log or debugger?

@bob-ross27
Copy link
Contributor

Just saw this and conveniently have a Mac available. The reason the above code doesn't work is that the binary name on MacOS is different, it's the only platform with a space.

var harmonyBin = specialFolders.bin+"/Harmony Premium";
new QFile(harmonyBin).exists();

results in true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants