This commit is contained in:
danniel 2023-09-04 11:11:12 +03:00
parent ee7843391f
commit f78501297c
3 changed files with 14 additions and 19 deletions

View File

@ -121,25 +121,9 @@ COPY rootfs /
RUN ln -sf /usr/local/lib/web/frontend/static/websockify /usr/local/lib/web/frontend/static/novnc/utils/websockify && \ RUN ln -sf /usr/local/lib/web/frontend/static/websockify /usr/local/lib/web/frontend/static/novnc/utils/websockify && \
chmod +x /usr/local/lib/web/frontend/static/websockify/run chmod +x /usr/local/lib/web/frontend/static/websockify/run
# Create application Icon # Copy
COPY icons/uvportal_applications.desktop /usr/share/applications/uvportal.desktop
RUN <<EOF cat >> /usr/share/applications/uvportal.desktop COPY icons/uvportal.desktop /home/uvdesk/Desktop/portal.desktop
[Desktop Entry]
Name=UVportal
Type=Application
Icon=google-chrome
Exec=/usr/bin/google-chrome http://uvportal.uveye.local
Terminal=false
EOF
RUN <<EOF cat >> /home/uvdesk/Desktop/portal.desktop
[Desktop Entry]
Type=Link
Name=UVportal
Icon=google-chrome
URL=/usr/share/applications/uvportal.desktop
EOF
RUN chown uvdesk:uvdesk /home/uvdesk/Desktop/portal.desktop RUN chown uvdesk:uvdesk /home/uvdesk/Desktop/portal.desktop

5
icons/uvportal.desktop Normal file
View File

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Link
Name=UVportal
Icon=google-chrome
URL=/usr/share/applications/uvportal.desktop

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Name=UVportal
Type=Application
Icon=google-chrome
Exec=/usr/bin/google-chrome http://uvportal.uveye.local
Terminal=false