Page 1 of 1

Question regarding game distribution

Posted: Fri May 01, 2020 9:49 am
by wujunjun
Hi! I am following the instruction on love wiki and trying to distribute a macOS application from Windows, but I saw the following
</s>Zip the SuperGame.app folder (e.g. to SuperGame_osx.zip) and distribute it. Enable the -y flag of zip to keep the symlinks.<e>
what is a -y flag? and is it going to affect the game?
https://love2d.org/wiki/Game_Distributi ... pplication

Thanks a ton!!!

Re: Question regarding game distribution

Posted: Fri May 01, 2020 11:17 am
by MrFariator
The -y option is referring to the options you can pass to the zipping tool in macOS command line. Specifically, that option retains the symbolic links that may be present in the folder that you are to trying to archive into a zip. They are similar to Windows' "shortcut" icons, but unlike Windows' shortcuts, symlinks exist in the filesystem and point to a specific folder or file.

Given that you're working on Windows, you probably don't need to give it any thought. I don't remember if love.app itself used symlinks or something of the sort.