Skip to content

Commit

Permalink
fix: missing config item DANMAKU_ON
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonflylee committed Jun 17, 2024
1 parent 35829b2 commit 53a01ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/src/utils/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ std::unordered_map<AppConfig::Item, AppConfig::Option> AppConfig::settingMap = {
{PLAYER_HWDEC, {"player_hwdec"}},
{PLAYER_HWDEC_CUSTOM, {"player_hwdec_custom"}},
{PLAYER_ASPECT, {"player_aspect", {"auto", "stretch", "crop", "4:3", "16:9"}}},
{DANMAKU_ON, {"danmaku_on"}},
{DANMAKU_STYLE_AREA, {"danmaku_style_area", {"1/4", "1/2", "3/4", "1"}, {25, 50, 75, 100}}},
{DANMAKU_STYLE_ALPHA,
{
Expand Down
4 changes: 2 additions & 2 deletions scripts/deb/switchroot-bionic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# docker run --rm --name switchroot --network host -v $PWD:/opt -w /opt -it dragonflylee/build:switchroot-bionic bash -l

FROM arm64v8/ubuntu:18.04
RUN apt-get update && apt-get install -y gnupg wget \
RUN apt-get update && apt-get install -y gpg wget gnupg- \
&& wget -qO- https://newrepo.switchroot.org/pubkey | gpg --dearmor -o /etc/apt/trusted.gpg.d/switchroot.gpg \
&& echo > /etc/apt/sources.list.d/99-switchroot-newrepo.list "deb https://newrepo.switchroot.org/ switchroot unstable" \
&& wget -qO- https://apt.kitware.com/keys/kitware-archive-latest.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/kitware.gpg \
Expand All @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y gnupg wget \
&& apt-get update && apt-get install -y --no-install-recommends gcc-8 g++-8 nasm cmake ninja-build sudo git gcc- manpages- \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 --slave /usr/bin/cc cc /usr/bin/gcc-8 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 60 --slave /usr/bin/cpp cpp /usr/bin/g++-8 \
&& apt-get remove -y gnupg && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* /usr/share/man/*
&& apt-get remove -y gpg && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* /usr/share/man/*

RUN apt-get update && apt-get install -y --no-install-recommends xorg-dev libdbus-1-dev libssl-dev \
libass-dev libwebp-dev libv4l-dev libpulse-dev libuchardet-dev nvidia-l4t-jetson-multimedia-api \
Expand Down
2 changes: 1 addition & 1 deletion scripts/deb/ubuntu-focal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y gnupg wget \
RUN apt-get update && apt-get install -y gpg wget gnupg- \
&& wget -qO- https://apt.kitware.com/keys/kitware-archive-latest.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/kitware.gpg \
&& echo > /etc/apt/sources.list.d/kitware.list "deb https://apt.kitware.com/ubuntu/ focal main" \
&& apt-get update && apt-get install -y --no-install-recommends g++ nasm make patch cmake sudo git xz-utils manpages- \
Expand Down

0 comments on commit 53a01ea

Please sign in to comment.