Page 1 of 1

distribute to mac from windows

Posted: Wed Aug 05, 2015 1:53 pm
by Neywiny
Is it possible to make a mac program from a windows computer? If so, how?

Re: distribute to mac from windows

Posted: Wed Aug 05, 2015 7:11 pm
by T-Bone
The instructions on https://love2d.org/wiki/Game_Distribution work just fine on Windows. A .app is treated like a folder on Windows, so you can go in an mess with the files inside. That way, it's almost easier than on a Mac.

Re: distribute to mac from windows

Posted: Wed Aug 05, 2015 7:18 pm
by slime
The mac .app contains a lot of symlinks, so you have to be careful to preserve them rather than accidentally destroy or resolve them. It's also easy in Windows to accidentally destroy the file permissions necessary for the executable files to run.

Be sure to get someone to test your packaged Mac app for you before you distribute it. :)

Re: distribute to mac from windows

Posted: Wed Aug 05, 2015 11:48 pm
by Neywiny
so the distribution page says for windows to do

Code: Select all

copy /b love.exe+SuperGame.love SuperGame.exe
so do I just replace SuperGame.exe with SuperGame.app?

Re: distribute to mac from windows

Posted: Wed Aug 05, 2015 11:56 pm
by slime

Re: distribute to mac from windows

Posted: Thu Aug 06, 2015 2:37 am
by Neywiny
so I've sent the zip to the client, but I have no idea how they're supposed to run it, considering it's a zip.
Zip the SuperGame.app folder (e.g. to SuperGame_osx.zip) and distribute it. Enable the -y flag of zip to keep the symlinks.
I thought the final result should have an executable file name like the mac version of exe.

Re: distribute to mac from windows

Posted: Thu Aug 06, 2015 2:52 am
by Neywiny
ok my client sent back this:
http://pastebin.com/rcghGxAT

Re: distribute to mac from windows

Posted: Thu Aug 06, 2015 7:04 pm
by Neywiny
anyway I just sent a video of what they needed, so it's all good now.