distribute to mac from windows

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Neywiny
Prole
Posts: 5
Joined: Wed Jul 01, 2015 7:54 pm

distribute to mac from windows

Post by Neywiny »

Is it possible to make a mac program from a windows computer? If so, how?
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: distribute to mac from windows

Post 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.
User avatar
slime
Solid Snayke
Posts: 3163
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: distribute to mac from windows

Post 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. :)
Neywiny
Prole
Posts: 5
Joined: Wed Jul 01, 2015 7:54 pm

Re: distribute to mac from windows

Post 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?
User avatar
slime
Solid Snayke
Posts: 3163
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: distribute to mac from windows

Post by slime »

Neywiny
Prole
Posts: 5
Joined: Wed Jul 01, 2015 7:54 pm

Re: distribute to mac from windows

Post 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.
Neywiny
Prole
Posts: 5
Joined: Wed Jul 01, 2015 7:54 pm

Re: distribute to mac from windows

Post by Neywiny »

ok my client sent back this:
http://pastebin.com/rcghGxAT
Neywiny
Prole
Posts: 5
Joined: Wed Jul 01, 2015 7:54 pm

Re: distribute to mac from windows

Post by Neywiny »

anyway I just sent a video of what they needed, so it's all good now.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests