6
0
Files
nodejs-electron/electron-launcher.sh
Bruno Pitrus 04cc6e12bc Accepting request 1207030 from home:dziobian:gulgul-ultron:19
- New upstream release 31.7.0
  * Node 20.18.0
  * Fixed a crash when calling focus on a WebView's webContents.
  * Fixed a potential issue accessing a child window document when overriding browserWindow creation via setWindowOpenHandler.
  * Fixed an issue when dragging to resize when using Window Controls Overlay on Linux.
  * Fixed an issue where an exception could be thrown on BrowserView after its owner BrowserWindow was closed.
  * Fixed an issue where clicking the eyedropper icon did nothing instead of opening an eyedropper for color selection as expected.
  * Ensured that the sender-id hint is set when creating desktop notifications on DBus.
- Drop no longer needed electron-16-webpack-fix-openssl-3.patch
- Print a message to stderr so that support logs shared by end users are clearly distinguished from upstream builds.

OBS-URL: https://build.opensuse.org/request/show/1207030
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=173
2024-10-11 04:46:50 +00:00

25 lines
614 B
Bash

#!/bin/bash
>&2 echo 'This build of Electron is provided by openSUSE and contains various modifications.'
>&2 echo 'Please report problems at https://bugzilla.opensuse.org/enter_bug.cgi?classification=openSUSE and not to upstream bug trackers.'
set -euo pipefail
name=electron
flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/${name}-flags.conf"
declare -a flags
if [[ -f "${flags_file}" ]]; then
mapfile -t < "${flags_file}"
fi
for line in "${MAPFILE[@]}"; do
if [[ ! "${line}" =~ ^[[:space:]]*#.* ]]; then
flags+=("${line}")
fi
done
exec XXXLIBDIRXXX/${name}/electron "$@" "${flags[@]}"