mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
The full executable path, rather than argv[0], is now used when determining whether the executable is fused (resolves issue #1043.)
This commit is contained in:
@@ -84,7 +84,6 @@ bool System::openURL(const std::string &url) const
|
||||
#if defined(LOVE_MACOSX)
|
||||
|
||||
bool success = false;
|
||||
// We could be lazy and use system("open " + url), but this is safer.
|
||||
CFURLRef cfurl = CFURLCreateWithBytes(nullptr,
|
||||
(const UInt8 *) url.c_str(),
|
||||
url.length(),
|
||||
|
||||
Reference in New Issue
Block a user