Remove pom.xml and RedisClipSync.java files; update README.md to reflect new project structure and build instructions.

This commit is contained in:
liu
2026-01-31 23:14:34 +08:00
parent f02b6d9682
commit 78b9685ee1
8 changed files with 172 additions and 27 deletions

16
linux/run.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -e
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
cd "$PROJECT_ROOT"
CONFIG="${1:-config.properties}"
if [[ ! -f code/target/redis-clip-sync.jar ]]; then
echo "未找到 code/target/redis-clip-sync.jar请先运行 linux/build-and-run.sh 进行打包。"
exit 1
fi
echo "启动 Redis 剪切板同步(配置: $CONFIG..."
exec java -jar code/target/redis-clip-sync.jar "$CONFIG"