diff --git a/demos/Lazarus_any_OS/BrowserWindowDom/AppHelper/create_mac_helper_apps.sh b/demos/Lazarus_any_OS/BrowserWindowDom/AppHelper/create_mac_helper_apps.sh index eb60983c..5e75681c 100755 --- a/demos/Lazarus_any_OS/BrowserWindowDom/AppHelper/create_mac_helper_apps.sh +++ b/demos/Lazarus_any_OS/BrowserWindowDom/AppHelper/create_mac_helper_apps.sh @@ -55,3 +55,9 @@ cp -r "$SRC" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app" mv "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/MacOS/$SRCAPP" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/MacOS/$DESTAPP Helper$SUB" sed -i '' "s/$SRCAPP/$DESTAPP Helper$SUB/g" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/Info.plist" +SUB=" (Alerts)" +rm -rf "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app" +cp -r "$SRC" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app" +mv "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/MacOS/$SRCAPP" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/MacOS/$DESTAPP Helper$SUB" +sed -i '' "s/$SRCAPP/$DESTAPP Helper$SUB/g" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/Info.plist" + diff --git a/demos/Lazarus_any_OS/BrowserWindowOsrDom/AppHelper/create_mac_helper_apps.sh b/demos/Lazarus_any_OS/BrowserWindowOsrDom/AppHelper/create_mac_helper_apps.sh index eb60983c..5e75681c 100755 --- a/demos/Lazarus_any_OS/BrowserWindowOsrDom/AppHelper/create_mac_helper_apps.sh +++ b/demos/Lazarus_any_OS/BrowserWindowOsrDom/AppHelper/create_mac_helper_apps.sh @@ -55,3 +55,9 @@ cp -r "$SRC" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app" mv "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/MacOS/$SRCAPP" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/MacOS/$DESTAPP Helper$SUB" sed -i '' "s/$SRCAPP/$DESTAPP Helper$SUB/g" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/Info.plist" +SUB=" (Alerts)" +rm -rf "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app" +cp -r "$SRC" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app" +mv "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/MacOS/$SRCAPP" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/MacOS/$DESTAPP Helper$SUB" +sed -i '' "s/$SRCAPP/$DESTAPP Helper$SUB/g" "$DEST/Contents/Frameworks/$DESTAPP Helper$SUB.app/Contents/Info.plist" +