symlink not supported ?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: symlink not supported ?
Oh god, it has started. Quick, everyone leave before the thread explodes with an interesting but off-topic discussion!
Help us help you: attach a .love.
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: symlink not supported ?
I don't see why the user would want to turn off sandboxing themselves.anjo wrote:*downloads sandboxed .love*BlackBulletIV wrote:As for sandboxing, I personally think that folders and merged executables should have full rights, only to have their rights governed by the OS. This would make LOVE a good game development platform. But when it comes to a .love, sandboxing should be started; this makes LOVE a good game platform.
*merges .love into executable*
But anyway, where were we... yes, symlinks... symlinks. Interesting members of society they are .
Re: symlink not supported ?
You're right. I don't want security for now, I just want symlink supportRobin wrote:Oh god, it has started. Quick, everyone leave before the thread explodes with an interesting but off-topic discussion!
My projects current projects : dragoon-framework (includes lua-newmodule, lua-provide, lovemodular, , classcommons2, and more ...)
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: symlink not supported ?
What I use, it's a bit of a hack:TsT wrote:You're right. I don't want security for now, I just want symlink support
Code: Select all
package.path = package.path .. ";../common/?.lua"
Then you can place the shared libs in ../common/. You then only need to remember to copy the common/ directory into the game dir when distributing your game.
Help us help you: attach a .love.
Re: symlink not supported ?
Oh it seems a good and beautiful workaround ! Thanks RobinRobin wrote:What I use, it's a bit of a hack:Code: Select all
package.path = package.path .. ";../common/?.lua"
This is for mainly for development. The release process is different and you can not forget so much libsRobin wrote:You then only need to remember to copy the common/ directory into the game dir when distributing your game.
My projects current projects : dragoon-framework (includes lua-newmodule, lua-provide, lovemodular, , classcommons2, and more ...)
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: symlink not supported ?
Hey that's a pretty cool hack!Robin wrote:What I use, it's a bit of a hack:TsT wrote:You're right. I don't want security for now, I just want symlink support(At the start of main.lua.)Code: Select all
package.path = package.path .. ";../common/?.lua"
Then you can place the shared libs in ../common/. You then only need to remember to copy the common/ directory into the game dir when distributing your game.
Who is online
Users browsing this forum: No registered users and 46 guests