Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web UI migration to Vite and Vue3 and improvements to the UX #1673

Merged
merged 93 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
239769a
Started Migration to Vue3 built by Vite
TheElixZammuto Sep 14, 2023
4c326e5
Removed Server-Side include
TheElixZammuto Sep 16, 2023
7af6580
Migrated to EJS, app page bugfixes
TheElixZammuto Sep 24, 2023
e363a7f
Welcome new layout and other minifixes
TheElixZammuto Sep 24, 2023
7a62d23
Removed widgetbot from package.json
TheElixZammuto Sep 24, 2023
c85ef59
Build with cmake
TheElixZammuto Sep 26, 2023
976c80b
Update package.json
TheElixZammuto Sep 30, 2023
e3197c5
Update package.json
TheElixZammuto Sep 30, 2023
2ea94b5
Moved npm from CI to cmake, fix Windows Build
TheElixZammuto Sep 30, 2023
1c010a2
Fix command
TheElixZammuto Sep 30, 2023
aa22599
Fix vue3 version
TheElixZammuto Sep 30, 2023
6955b97
Removed unused compat
TheElixZammuto Sep 30, 2023
7892153
Fix build
TheElixZammuto Sep 30, 2023
928d6f0
Use src as working directory
TheElixZammuto Sep 30, 2023
4817485
Fix zip packaging
TheElixZammuto Oct 1, 2023
8c7ede1
Fix assets build
TheElixZammuto Oct 1, 2023
cf89deb
Use env vars to pass vite params
TheElixZammuto Oct 1, 2023
294ecb5
Update package.json
TheElixZammuto Oct 1, 2023
73e02a0
Fix command
TheElixZammuto Oct 1, 2023
5bf5e5b
Merge branch 'vite-vue-3' of github.com:TheElixZammuto/Sunshine-1 int…
TheElixZammuto Oct 1, 2023
e3a9730
moved bash outisde
TheElixZammuto Oct 1, 2023
f68f7bd
Fix path
TheElixZammuto Oct 1, 2023
fbf3f9c
fix separator
TheElixZammuto Oct 2, 2023
e9c4739
aa
TheElixZammuto Oct 2, 2023
84b55cc
fix arg
TheElixZammuto Oct 2, 2023
498230a
Update documentation
TheElixZammuto Oct 7, 2023
82163d7
Merge branch 'nightly' into vite-vue-3
TheElixZammuto Oct 7, 2023
74cf2c5
Fix config page
TheElixZammuto Oct 8, 2023
dce4f75
Update cmake/targets/common.cmake
TheElixZammuto Oct 8, 2023
e89e47b
Update src_assets/common/assets/web/ResourceCard.vue
TheElixZammuto Oct 8, 2023
dd49676
Update src_assets/common/assets/web/welcome.html
TheElixZammuto Oct 8, 2023
a76ead9
Update src_assets/common/assets/web/SunshineHeader.vue
TheElixZammuto Oct 8, 2023
f282be0
Update src_assets/common/assets/web/troubleshooting.html
TheElixZammuto Oct 8, 2023
5cf49f6
Update docs/source/contributing/contributing.rst
TheElixZammuto Oct 8, 2023
58fb041
Update docs/source/contributing/contributing.rst
TheElixZammuto Oct 8, 2023
af35968
Update src_assets/common/assets/web/template_header_main.html
TheElixZammuto Oct 8, 2023
3848ab2
Update src_assets/common/assets/web/index.html
TheElixZammuto Oct 8, 2023
63671fd
Update src_assets/common/assets/web/template_header.html
TheElixZammuto Oct 8, 2023
9539f8b
Apply suggestions from code review
TheElixZammuto Oct 8, 2023
6314357
Merge branch 'nightly' into vite-vue-3
TheElixZammuto Oct 22, 2023
61031bf
Fix alphabetical order of dependencies
TheElixZammuto Oct 22, 2023
b016210
Rename Header to navbar and dynamically load Widgetbot
TheElixZammuto Oct 22, 2023
2d4f3da
Merge branch 'nightly' into vite-vue-3
TheElixZammuto Oct 22, 2023
5215338
Use nvm for Node setup
TheElixZammuto Oct 24, 2023
22891cd
Change order
TheElixZammuto Oct 24, 2023
94a14da
added nvm source dir
TheElixZammuto Oct 24, 2023
82ead4a
Fix path (again)
TheElixZammuto Oct 24, 2023
c686375
replace wget with curl
TheElixZammuto Oct 24, 2023
777b9bf
Add CA Certs
TheElixZammuto Oct 24, 2023
f2441f4
Change NVM version
TheElixZammuto Oct 24, 2023
1b9210d
Add nvm to build step
TheElixZammuto Oct 24, 2023
955fe0d
Update NVM to all images
TheElixZammuto Oct 26, 2023
eede704
Moved again to wget to fix lint
TheElixZammuto Oct 26, 2023
5118d09
Fix Debian and Arch build
TheElixZammuto Oct 26, 2023
d3624d1
Fix arch and lint
TheElixZammuto Oct 26, 2023
8bf06bb
Lint ignore in dockerfile
TheElixZammuto Oct 26, 2023
67845c8
Added workdir config
TheElixZammuto Oct 28, 2023
a46ec1a
Fix mkdir
TheElixZammuto Oct 28, 2023
b810738
Fix perms
TheElixZammuto Oct 28, 2023
d9022a7
Maybe definetly fix arch permissions
TheElixZammuto Oct 28, 2023
a864ef5
should fix for good
TheElixZammuto Oct 28, 2023
6079fce
Use COPY instead of bash
TheElixZammuto Oct 28, 2023
34fe218
Removed script that wasn't necessary
TheElixZammuto Oct 28, 2023
92b9b77
Fix working directory
TheElixZammuto Oct 30, 2023
24c02ef
Use msys2 bash on Windows
TheElixZammuto Nov 12, 2023
2e423d0
Use export instead of env
TheElixZammuto Nov 12, 2023
5a61d2a
replace quotes
TheElixZammuto Nov 12, 2023
132512a
Removed exports
TheElixZammuto Nov 12, 2023
6dc504b
Escape quotes
TheElixZammuto Nov 12, 2023
79c500b
Merge branch 'nightly' into vite-vue-3
TheElixZammuto Nov 12, 2023
561f16c
Merge branch 'nightly' into vite-vue-3
TheElixZammuto Dec 3, 2023
677ad2d
Fix cmake lint
TheElixZammuto Dec 3, 2023
245d7ef
Fix cmake lint
TheElixZammuto Dec 3, 2023
dd5d1e8
fix again cmake lint
TheElixZammuto Dec 3, 2023
e9ab6e5
Update docs/source/contributing/contributing.rst
TheElixZammuto Dec 10, 2023
bc26e5c
Update docs/source/contributing/contributing.rst
TheElixZammuto Dec 10, 2023
8147f3b
Removed NVM o Linux where bundled Node is 18 or newer
TheElixZammuto Dec 10, 2023
c6f78a2
Merge branch 'vite-vue-3' of github.com:TheElixZammuto/Sunshine-1 int…
TheElixZammuto Dec 10, 2023
5c34819
Merge branch 'nightly' into vite-vue-3
TheElixZammuto Dec 12, 2023
3f3baeb
Join common packaging entries into common
TheElixZammuto Dec 12, 2023
18cc85e
Fix Debian builds
TheElixZammuto Dec 12, 2023
9c5d092
Update docker/fedora-38.dockerfile
TheElixZammuto Dec 16, 2023
3b2ddf5
Update docker/debian-bookworm.dockerfile
TheElixZammuto Dec 16, 2023
164f5e5
Removed not needed anymore changes to Dockerfile
TheElixZammuto Dec 16, 2023
8fb7a9f
Merge branch 'vite-vue-3' of github.com:TheElixZammuto/Sunshine-1 int…
TheElixZammuto Dec 16, 2023
133ea11
WebUI various fixes
TheElixZammuto Dec 16, 2023
bf60375
Moved images to public folder
TheElixZammuto Dec 16, 2023
0b9fb6c
Changed source url of Discord widget bot
TheElixZammuto Dec 16, 2023
b97ec82
Fix Linux references after folder move to public
TheElixZammuto Dec 16, 2023
fe04d7b
Update src_assets/common/assets/web/Navbar.vue
TheElixZammuto Dec 16, 2023
171e472
Fix global command preparations
TheElixZammuto Dec 27, 2023
a04db7b
Merge branch 'vite-vue-3' of github.com:TheElixZammuto/Sunshine-1 int…
TheElixZammuto Dec 27, 2023
6ef1b54
Merge branch 'nightly' into vite-vue-3
ReenigneArcher Dec 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,6 @@ jobs:
mkdir -p build
mkdir -p artifacts

npm install

cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
Expand Down Expand Up @@ -527,8 +525,6 @@ jobs:
BUILD_VERSION: ${{ needs.check_changelog.outputs.next_version_bare }}
COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}
run: |
npm install

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -719,19 +715,16 @@ jobs:
mingw-w64-x86_64-boost
mingw-w64-x86_64-cmake
mingw-w64-x86_64-curl
mingw-w64-x86_64-onevpl
mingw-w64-x86_64-nodejs
mingw-w64-x86_64-nsis
mingw-w64-x86_64-onevpl
mingw-w64-x86_64-openssl
mingw-w64-x86_64-opus
mingw-w64-x86_64-toolchain
nasm
wget
yasm

- name: Install npm packages
run: |
npm install

- name: Build Windows
shell: msys2 {0}
env:
Expand Down
1 change: 1 addition & 0 deletions cmake/dependencies/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,4 @@ elseif(UNIX)
include(${CMAKE_MODULE_PATH}/dependencies/linux.cmake)
endif()
endif()

11 changes: 8 additions & 3 deletions cmake/packaging/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ set(CPACK_PACKAGE_ICON ${PROJECT_SOURCE_DIR}/sunshine.png)
set(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}")
set(CPACK_STRIP_FILES YES)

# install npm modules
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/node_modules"
DESTINATION "${SUNSHINE_ASSETS_DIR}/web")
#install common assets
install(DIRECTORY "${SUNSHINE_SOURCE_ASSETS_DIR}/common/assets/"
DESTINATION "${SUNSHINE_ASSETS_DIR}"
PATTERN "web" EXCLUDE)

# install built vite assets
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/assets/web"
DESTINATION "${SUNSHINE_ASSETS_DIR}")

# platform specific packaging
if(WIN32)
Expand Down
6 changes: 3 additions & 3 deletions cmake/packaging/linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ if(${SUNSHINE_TRAY} STREQUAL 1)
install(FILES "${CMAKE_SOURCE_DIR}/sunshine.svg"
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/status"
RENAME "sunshine-tray.svg")
install(FILES "${SUNSHINE_SOURCE_ASSETS_DIR}/common/assets/web/images/sunshine-playing.svg"
install(FILES "${SUNSHINE_SOURCE_ASSETS_DIR}/common/assets/web/public/images/sunshine-playing.svg"
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/status")
install(FILES "${SUNSHINE_SOURCE_ASSETS_DIR}/common/assets/web/images/sunshine-pausing.svg"
install(FILES "${SUNSHINE_SOURCE_ASSETS_DIR}/common/assets/web/public/images/sunshine-pausing.svg"
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/status")
install(FILES "${SUNSHINE_SOURCE_ASSETS_DIR}/common/assets/web/images/sunshine-locked.svg"
install(FILES "${SUNSHINE_SOURCE_ASSETS_DIR}/common/assets/web/public/images/sunshine-locked.svg"
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/status")

set(CPACK_DEBIAN_PACKAGE_DEPENDS "\
Expand Down
2 changes: 0 additions & 2 deletions cmake/packaging/macos.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ if(SUNSHINE_PACKAGE_MACOS) # todo
set(MAC_PREFIX "${CMAKE_PROJECT_NAME}.app/Contents")
set(INSTALL_RUNTIME_DIR "${MAC_PREFIX}/MacOS")

install(DIRECTORY "${SUNSHINE_SOURCE_ASSETS_DIR}/common/assets/"
DESTINATION "${SUNSHINE_ASSETS_DIR}")
install(DIRECTORY "${SUNSHINE_SOURCE_ASSETS_DIR}/macos/assets/"
DESTINATION "${SUNSHINE_ASSETS_DIR}")

Expand Down
3 changes: 0 additions & 3 deletions cmake/packaging/unix.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ if(NOT CMAKE_INSTALL_PREFIX)
endif()

install(TARGETS sunshine RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")

install(DIRECTORY "${SUNSHINE_SOURCE_ASSETS_DIR}/common/assets/"
DESTINATION "${SUNSHINE_ASSETS_DIR}")
3 changes: 0 additions & 3 deletions cmake/packaging/windows.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ install(DIRECTORY "${SUNSHINE_SOURCE_ASSETS_DIR}/windows/misc/gamepad/"
COMPONENT gamepad)

# Sunshine assets
install(DIRECTORY "${SUNSHINE_SOURCE_ASSETS_DIR}/common/assets/"
DESTINATION "${SUNSHINE_ASSETS_DIR}"
COMPONENT assets)
install(DIRECTORY "${SUNSHINE_SOURCE_ASSETS_DIR}/windows/assets/"
DESTINATION "${SUNSHINE_ASSETS_DIR}"
COMPONENT assets)
Expand Down
6 changes: 6 additions & 0 deletions cmake/targets/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ foreach(flag IN LISTS SUNSHINE_COMPILE_OPTIONS)
endforeach()

target_compile_options(sunshine PRIVATE $<$<COMPILE_LANGUAGE:CXX>:${SUNSHINE_COMPILE_OPTIONS}>;$<$<COMPILE_LANGUAGE:CUDA>:${SUNSHINE_COMPILE_OPTIONS_CUDA};-std=c++17>) # cmake-lint: disable=C0301

#WebUI build
add_custom_target(web-ui ALL
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Installing NPM Dependencies and Building the Web UI"
COMMAND bash -c \"npm install && SUNSHINE_SOURCE_ASSETS_DIR=${SUNSHINE_SOURCE_ASSETS_DIR} SUNSHINE_ASSETS_DIR=${CMAKE_BINARY_DIR} npm run build\") # cmake-lint: disable=C0301
3 changes: 0 additions & 3 deletions docker/debian-bookworm.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ _INSTALL_CUDA
WORKDIR /build/sunshine/
COPY --link .. .

# setup npm dependencies
RUN npm install

# setup build directory
WORKDIR /build/sunshine/build

Expand Down
21 changes: 16 additions & 5 deletions docker/debian-bullseye.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ set -e
apt-get update -y
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
cmake=3.18.* \
git \
libavdevice-dev \
Expand Down Expand Up @@ -58,8 +59,6 @@ apt-get install -y --no-install-recommends \
libxfixes-dev \
libxrandr-dev \
libxtst-dev \
nodejs \
npm \
wget
if [[ "${TARGETPLATFORM}" == 'linux/amd64' ]]; then
apt-get install -y --no-install-recommends \
Expand All @@ -69,6 +68,17 @@ apt-get clean
rm -rf /var/lib/apt/lists/*
_DEPS

#Install Node
# hadolint ignore=SC1091
RUN <<_INSTALL_NODE
#!/bin/bash
set -e
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
source "$HOME/.nvm/nvm.sh"
nvm install 20.9.0
nvm use 20.9.0
_INSTALL_NODE

# install cuda
WORKDIR /build/cuda
# versions: https://developer.nvidia.com/cuda-toolkit-archive
Expand All @@ -95,16 +105,17 @@ _INSTALL_CUDA
WORKDIR /build/sunshine/
COPY --link .. .

# setup npm dependencies
RUN npm install

# setup build directory
WORKDIR /build/sunshine/build

# cmake and cpack
# hadolint ignore=SC1091
RUN <<_MAKE
#!/bin/bash
set -e
#Set Node version
source "$HOME/.nvm/nvm.sh"
nvm use 20.9.0
cmake \
-DCMAKE_CUDA_COMPILER:PATH=/build/cuda/bin/nvcc \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
5 changes: 1 addition & 4 deletions docker/fedora-38.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dnf -y install \
libXrandr-devel \
libXtst-devel \
mesa-libGL-devel \
nodejs-npm \
nodejs \
numactl-devel \
openssl-devel \
opus-devel \
Expand Down Expand Up @@ -94,9 +94,6 @@ _DEPS
WORKDIR /build/sunshine/
COPY --link .. .

# setup npm dependencies
RUN npm install

# setup build directory
WORKDIR /build/sunshine/build

Expand Down
5 changes: 1 addition & 4 deletions docker/fedora-39.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dnf -y install \
libXrandr-devel \
libXtst-devel \
mesa-libGL-devel \
nodejs-npm \
nodejs \
numactl-devel \
openssl-devel \
opus-devel \
Expand Down Expand Up @@ -94,9 +94,6 @@ _DEPS
WORKDIR /build/sunshine/
COPY --link .. .

# setup npm dependencies
RUN npm install

# setup build directory
WORKDIR /build/sunshine/build

Expand Down
21 changes: 16 additions & 5 deletions docker/ubuntu-20.04.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ set -e
apt-get update -y
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
gcc-10=10.5.* \
g++-10=10.5.* \
git \
Expand Down Expand Up @@ -59,8 +60,6 @@ apt-get install -y --no-install-recommends \
libxfixes-dev \
libxrandr-dev \
libxtst-dev \
nodejs \
npm \
wget
if [[ "${TARGETPLATFORM}" == 'linux/amd64' ]]; then
apt-get install -y --no-install-recommends \
Expand All @@ -70,6 +69,17 @@ apt-get clean
rm -rf /var/lib/apt/lists/*
_DEPS

#Install Node
# hadolint ignore=SC1091
RUN <<_INSTALL_NODE
#!/bin/bash
set -e
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
source "$HOME/.nvm/nvm.sh"
nvm install 20.9.0
nvm use 20.9.0
_INSTALL_NODE

# Update gcc alias
# https://stackoverflow.com/a/70653945/11214013
RUN <<_GCC_ALIAS
Expand Down Expand Up @@ -131,16 +141,17 @@ _INSTALL_CUDA
WORKDIR /build/sunshine/
COPY --link .. .

# setup npm dependencies
RUN npm install

# setup build directory
WORKDIR /build/sunshine/build

# cmake and cpack
# hadolint ignore=SC1091
RUN <<_MAKE
#!/bin/bash
set -e
#Set Node version
source "$HOME/.nvm/nvm.sh"
nvm use 20.9.0
cmake \
-DCMAKE_CUDA_COMPILER:PATH=/build/cuda/bin/nvcc \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
22 changes: 17 additions & 5 deletions docker/ubuntu-22.04.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ apt-get update -y
apt-get install -y --no-install-recommends \
build-essential \
cmake=3.22.* \
ca-certificates \
git \
libayatana-appindicator3-dev \
libavdevice-dev \
Expand All @@ -58,8 +59,6 @@ apt-get install -y --no-install-recommends \
libxfixes-dev \
libxrandr-dev \
libxtst-dev \
nodejs \
npm \
wget
if [[ "${TARGETPLATFORM}" == 'linux/amd64' ]]; then
apt-get install -y --no-install-recommends \
Expand All @@ -69,6 +68,17 @@ apt-get clean
rm -rf /var/lib/apt/lists/*
_DEPS

#Install Node
# hadolint ignore=SC1091
RUN <<_INSTALL_NODE
#!/bin/bash
set -e
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
source "$HOME/.nvm/nvm.sh"
nvm install 20.9.0
nvm use 20.9.0
_INSTALL_NODE

# install cuda
WORKDIR /build/cuda
# versions: https://developer.nvidia.com/cuda-toolkit-archive
Expand All @@ -95,16 +105,18 @@ _INSTALL_CUDA
WORKDIR /build/sunshine/
COPY --link .. .

# setup npm dependencies
RUN npm install

# setup build directory
WORKDIR /build/sunshine/build

# cmake and cpack
# hadolint ignore=SC1091
RUN <<_MAKE
#!/bin/bash
set -e
#Set Node version
source "$HOME/.nvm/nvm.sh"
nvm use 20.9.0
#Actually build
cmake \
-DCMAKE_CUDA_COMPILER:PATH=/build/cuda/bin/nvcc \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
7 changes: 0 additions & 7 deletions docs/source/building/linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,6 @@ If the version of CUDA available from your distro is not adequate, manually inst
./cuda.run --silent --toolkit --toolkitpath=/usr --no-opengl-libs --no-man-page --no-drm
rm ./cuda.run

npm dependencies
----------------
Install npm dependencies.
.. code-block:: bash

npm install

Build
-----
.. Attention:: Ensure you are in the build directory created during the clone step earlier before continuing.
Expand Down
7 changes: 0 additions & 7 deletions docs/source/building/macos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ Install Requirements
cd /usr/local/include
ln -s ../opt/openssl/include/openssl .

npm dependencies
----------------
Install npm dependencies.
.. code-block:: bash

npm install

Build
-----
.. Attention:: Ensure you are in the build directory created during the clone step earlier before continuing.
Expand Down
13 changes: 2 additions & 11 deletions docs/source/building/windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,8 @@ Install dependencies:

pacman -S base-devel cmake diffutils gcc git make mingw-w64-x86_64-binutils \
mingw-w64-x86_64-boost mingw-w64-x86_64-cmake mingw-w64-x86_64-curl \
mingw-w64-x86_64-onevpl mingw-w64-x86_64-openssl mingw-w64-x86_64-opus \
mingw-w64-x86_64-toolchain

npm dependencies
----------------
Install nodejs and npm. Downloads available `here <https://nodejs.org/en/download/>`__.

Install npm dependencies.
.. code-block:: bash

npm install
mingw-w64-x86_64-nodejs mingw-w64-x86_64-onevpl mingw-w64-x86_64-openssl \
mingw-w64-x86_64-opus mingw-w64-x86_64-toolchain

Build
-----
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
# -- Options for HTML output -------------------------------------------------

# images
html_favicon = os.path.join(root_dir, 'src_assets', 'common', 'assets', 'web', 'images', 'sunshine.ico')
html_favicon = os.path.join(root_dir, 'src_assets', 'common', 'assets', 'web', 'public', 'images', 'sunshine.ico')
html_logo = os.path.join(root_dir, 'sunshine.png')

# Add any paths that contain custom static files (such as style sheets) here,
Expand Down
Loading