Skip to content

Commit

Permalink
fix nextcloud #19
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Oct 7, 2024
1 parent 448c22b commit a25b26d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions apps/nextcloud/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ ARG REPO
# Install packages
RUN \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
libopengl0 && \
NEXTCLOUD_VERSION=$(curl -sX GET "https://api.github.com/repos/nextcloud-releases/desktop/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
cd /tmp && \
Expand Down
2 changes: 1 addition & 1 deletion apps/nextcloud/entrypoint
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

# Start Nextcloud Desktop
/opt/nextcloud/AppRun "$@"
QTWEBENGINE_DISABLE_SANDBOX=1 /opt/nextcloud/AppRun "$@"
2 changes: 1 addition & 1 deletion apps/nextcloud/install
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
echo "Adding icon"
mkdir -p $HOME/.local/share/icons/hicolor/scalable/apps/
cp \
/opt/nextcloud/usr/share/icons/hicolor/256x256/apps/Nextcloud.png \
/opt/nextcloud/usr/share/icons/hicolor/512x512/apps/Nextcloud.png \
$HOME/.local/share/icons/hicolor/scalable/apps/
echo "Adding start menu entry"
mkdir -p $HOME/.local/share/applications/
Expand Down

0 comments on commit a25b26d

Please sign in to comment.