mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Mac: Fix cefclient app package build and execution problems.
- Improve error message in ClientHandler::HandleLoadError. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@142 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -109,7 +109,7 @@ CefHandler::RetVal ClientHandler::HandleLoadError(CefRefPtr<CefBrowser> browser,
|
||||
ss << L"<html><head><title>Load Failed</title></head>"
|
||||
L"<body><h1>Load Failed</h1>"
|
||||
L"<h2>Load of URL " << failedUrl <<
|
||||
L"failed with error code " << static_cast<int>(errorCode) <<
|
||||
L" failed with error code " << static_cast<int>(errorCode) <<
|
||||
L".</h2></body>"
|
||||
L"</html>";
|
||||
errorText = ss.str();
|
||||
|
5
tests/cefclient/cefclient_mac_app.sh
Executable file
5
tests/cefclient/cefclient_mac_app.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
DIR=$(cd "$(dirname "$0")"; pwd)
|
||||
export DYLD_FALLBACK_LIBRARY_PATH="$DIR:/lib:/usr/lib"
|
||||
exec "$DIR/cefclient"
|
||||
|
@@ -5,7 +5,7 @@
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<string>cefclient_mac_app.sh</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>cefclient.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
|
Reference in New Issue
Block a user