mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
fix whiteboard recording chrome
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
This commit is contained in:
parent
693fd9a516
commit
ce74283f29
1 changed files with 1 additions and 4 deletions
|
|
@ -10,10 +10,7 @@ RUN set -ex; \
|
||||||
if [ -f /usr/lib/chromium/chrome_crashpad_handler ]; then \
|
if [ -f /usr/lib/chromium/chrome_crashpad_handler ]; then \
|
||||||
rm -f /usr/lib/chromium/chrome_crashpad_handler.real; \
|
rm -f /usr/lib/chromium/chrome_crashpad_handler.real; \
|
||||||
mv /usr/lib/chromium/chrome_crashpad_handler /usr/lib/chromium/chrome_crashpad_handler.real; \
|
mv /usr/lib/chromium/chrome_crashpad_handler /usr/lib/chromium/chrome_crashpad_handler.real; \
|
||||||
cat <<'EOF' >/usr/lib/chromium/chrome_crashpad_handler; \
|
printf '%s\n' '#!/bin/sh' "exec /usr/lib/chromium/chrome_crashpad_handler.real --no-periodic-tasks --database=\"\${CRASHPAD_DATABASE:-/tmp/chrome-crashpad}\" \"\$@\"" >/usr/lib/chromium/chrome_crashpad_handler; \
|
||||||
#!/bin/sh
|
|
||||||
exec /usr/lib/chromium/chrome_crashpad_handler.real --no-periodic-tasks --database="${CRASHPAD_DATABASE:-/tmp/chrome-crashpad}" "$@"
|
|
||||||
EOF
|
|
||||||
chmod +x /usr/lib/chromium/chrome_crashpad_handler; \
|
chmod +x /usr/lib/chromium/chrome_crashpad_handler; \
|
||||||
fi
|
fi
|
||||||
USER 65534
|
USER 65534
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue