Allow Win/Linux to use external helper

This commit is contained in:
martin
2021-02-16 23:12:07 +01:00
parent 4a49ab6755
commit 088d20ff01
9 changed files with 9 additions and 2 deletions
@@ -3,6 +3,6 @@
CDIR=$(pwd)
cd "$(dirname "$0")"
../../Lazarus_Mac/AppHelper/create_mac_helper_apps.sh ../../../bin/ExternalPumpBrowser.app
../AppHelper/create_mac_helper_apps.sh ../../../bin/ExternalPumpBrowser.app
cd "$CDIR"
@@ -6,7 +6,7 @@ unit GlobalCefApplication;
interface
uses
uCEFApplication, uCEFWorkScheduler;
uCEFApplication, uCEFWorkScheduler, FileUtil;
procedure CreateGlobalCEFApp;
@@ -33,6 +33,11 @@ begin
GlobalCEFApp.MultiThreadedMessageLoop := False;
GlobalCEFApp.OnScheduleMessagePumpWork := @GlobalCEFApp_OnScheduleMessagePumpWork;
{$IFnDEF MACOSX}
(* Use AppHelper as subprocess, instead of the main exe *)
//GlobalCEFApp.BrowserSubprocessPath := 'AppHelper' + GetExeExt;
{$ENDIF}
{$IFDEF MACOSX}
(* Enable the below to prevent being asked for permission to access "Chromium Safe Storage"
If set to true, Cookies will not be encrypted.