feat: add window switcher

This commit is contained in:
Nick007
2025-10-21 18:01:18 +08:00
parent f83fc4fc22
commit f11841cfab
4 changed files with 403 additions and 11 deletions

View File

@@ -27,17 +27,9 @@ RUN apt-get update && \
libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 \
libxcomposite1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 \
libxss1 libxtst6 libatomic1 libxcomposite1 libxrender1 libxrandr2 libxkbcommon-x11-0 \
libfontconfig1 libdbus-1-3 libnss3 libx11-xcb1
libfontconfig1 libdbus-1-3 libnss3 libx11-xcb1 python3-tk
# Clean up
RUN apt-get purge -y --autoremove
RUN apt-get autoclean && \
rm -rf \
/config/.cache \
/config/.npm \
/var/lib/apt/lists/* \
/var/tmp/* \
/tmp/*
RUN pip install --no-cache-dir python-xlib
# Install WeChat based on target architecture
RUN case "$TARGETPLATFORM" in \
@@ -59,6 +51,16 @@ RUN case "$TARGETPLATFORM" in \
rm -f wechat.deb && \
echo "✅ WeChat installation completed for $WECHAT_ARCH"
# Clean up
RUN apt-get purge -y --autoremove
RUN apt-get autoclean && \
rm -rf \
/config/.cache \
/config/.npm \
/var/lib/apt/lists/* \
/var/tmp/* \
/tmp/*
# set app name
ENV TITLE="WeChat-Selkies"
ENV TZ="Asia/Shanghai"