feat: add PySide6 clipboard uploader with Nuitka release tooling

This commit is contained in:
Logic
2026-03-25 09:52:20 +08:00
commit c34af53878
11 changed files with 1262 additions and 0 deletions

19
setup-venv.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
cd "${SCRIPT_DIR}"
export UV_CACHE_DIR="${UV_CACHE_DIR:-/tmp/uv-cache}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-${SCRIPT_DIR}/.cache}"
if ! command -v uv >/dev/null 2>&1; then
echo "未找到 uv请先安装 uv。" >&2
exit 1
fi
uv venv .venv
. .venv/bin/activate
uv pip install -r requirements.txt -r requirements-build.txt
echo "虚拟环境已就绪:${SCRIPT_DIR}/.venv"