commit d46d35a7e813e94fe6d6468d2cc6aff09c5e828d
Author: ASUS <21531134@qq.com>
Date: Fri Mar 6 15:16:34 2026 +0800
飞猪投屏
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..10b731c
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,5 @@
+# 默认忽略的文件
+/shelf/
+/workspace.xml
+# 基于编辑器的 HTTP 客户端请求
+/httpRequests/
diff --git a/.idea/jasen88-toup.iml b/.idea/jasen88-toup.iml
new file mode 100644
index 0000000..d6ebd48
--- /dev/null
+++ b/.idea/jasen88-toup.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..639900d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..1385eed
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AdbWinApi.dll b/src/AdbWinApi.dll
new file mode 100644
index 0000000..1da794e
Binary files /dev/null and b/src/AdbWinApi.dll differ
diff --git a/src/AdbWinUsbApi.dll b/src/AdbWinUsbApi.dll
new file mode 100644
index 0000000..7f75aec
Binary files /dev/null and b/src/AdbWinUsbApi.dll differ
diff --git a/src/SDL2.dll b/src/SDL2.dll
new file mode 100644
index 0000000..6a31136
Binary files /dev/null and b/src/SDL2.dll differ
diff --git a/src/adb.exe b/src/adb.exe
new file mode 100644
index 0000000..34a0fd2
Binary files /dev/null and b/src/adb.exe differ
diff --git a/src/avcodec-61.dll b/src/avcodec-61.dll
new file mode 100644
index 0000000..f32026a
Binary files /dev/null and b/src/avcodec-61.dll differ
diff --git a/src/avformat-61.dll b/src/avformat-61.dll
new file mode 100644
index 0000000..11d0de6
Binary files /dev/null and b/src/avformat-61.dll differ
diff --git a/src/avutil-59.dll b/src/avutil-59.dll
new file mode 100644
index 0000000..7848d87
Binary files /dev/null and b/src/avutil-59.dll differ
diff --git a/src/icon.png b/src/icon.png
new file mode 100644
index 0000000..9cd55b7
Binary files /dev/null and b/src/icon.png differ
diff --git a/src/libusb-1.0.dll b/src/libusb-1.0.dll
new file mode 100644
index 0000000..bfda4a1
Binary files /dev/null and b/src/libusb-1.0.dll differ
diff --git a/src/open_a_terminal_here.bat b/src/open_a_terminal_here.bat
new file mode 100644
index 0000000..24d557f
--- /dev/null
+++ b/src/open_a_terminal_here.bat
@@ -0,0 +1 @@
+@cmd
diff --git a/src/scrcpy-5.bat b/src/scrcpy-5.bat
new file mode 100644
index 0000000..8b148e7
--- /dev/null
+++ b/src/scrcpy-5.bat
@@ -0,0 +1,131 @@
+::[Bat To Exe Converter]
+::
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1lbnZ5U9zzcP1skNGHs=
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1kznephjxnRd+A==
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1kTgd9gozn86
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1mTgd6Ek2FtKkYUIABc4
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1mTgd6Ek2E9JmuocBVVcch7L
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1kTydpkp03kXzppCCBdUHg==
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1kTyc5k/23tO1Z1dQh9UcnI=
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1kTyYIIk2jcPwYUIABc4
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1kntd4M+1DcL1ptCCBdUHg==
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1kr0cJgS10VOndkBBRVZci2jax0x52xDogQ=
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1lbnZ5U9zzRfgM5s
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1lbnZ5U9zzdZl8UfAxddMBCqem8=
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1lbnZ5U9zzdUl8gDAghXchfleA0nyQ==
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1lbnZ5U9zzdJndkaCQk4
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1nbAWcRj0nZW+A==
+::fBE1pAF6MU+EWHreyHcjLQlHcCWxCViGIroL5uT07u6UnkccR+cxINeWzrubMK1C1lbzZ5M+13dKlM5BWVVcch7L
+::YAwzoRdxOk+EWAjk
+::fBw5plQjdCyDJGyX8VAjFDpneTe+GG6pDaET+NT55v6Ft0oiUuMpcYzU1PqHI+9z
+::YAwzuBVtJxjWCl3EqQJgSA==
+::ZR4luwNxJguZRRnk
+::Yhs/ulQjdF25
+::cxAkpRVqdFKZSDk=
+::cBs/ulQjdF25
+::ZR41oxFsdFKZSDk=
+::eBoioBt6dFKZSDk=
+::cRo6pxp7LAbNWATEpSI=
+::egkzugNsPRvcWATEpCI=
+::dAsiuh18IRvcCxnZtBJQ
+::cRYluBh/LU+EWAnk
+::YxY4rhs+aU+JeA==
+::cxY6rQJ7JhzQF1fEqQJQ
+::ZQ05rAF9IBncCkqN+0xwdVs0
+::ZQ05rAF9IAHYFVzEqQJQ
+::eg0/rx1wNQPfEVWB+kM9LVsJDGQ=
+::fBEirQZwNQPfEVWB+kM9LVsJDGQ=
+::cRolqwZ3JBvQF1fEqQJQ
+::dhA7uBVwLU+EWDk=
+::YQ03rBFzNR3SWATElA==
+::dhAmsQZ3MwfNWATElA==
+::ZQ0/vhVqMQ3MEVWAtB9wSA==
+::Zg8zqx1/OA3MEVWAtB9wSA==
+::dhA7pRFwIByZRRnk
+::Zh4grVQjdCyDJGyX8VAjFDpneTe+GG6pDaET+NTx7vmCrBVF3SHB/2MRlzJk1WXCBVO1O8R8mH9Cnas=
+::YB416Ek+ZG8=
+::
+::
+::978f952a14a936cc963da21a135fa983
+@echo off
+setlocal enabledelayedexpansion
+
+:: ڴС
+mode con: cols=50 lines=15
+
+:: -----------------------------
+:: scrcpy adb ·
+:: ʹĿ¼ֱ AppData
+:: -----------------------------
+if exist "%~dp0scrcpy.exe" (
+ set SCRCPY_PATH=%~dp0scrcpy.exe
+ set ADB_PATH=%~dp0adb.exe
+) else (
+ set SCRCPY_PATH=%APPDATA%\scrcpy.exe
+ set ADB_PATH=%APPDATA%\adb.exe
+)
+
+:: 豸б
+set started=
+
+:: ɨ룩
+set scan_interval=5
+
+:loop
+cls
+echo =========================================
+echo jasen88-Ͷ
+echo =========================================
+
+:: ͳƵǰ豸
+set device_count=0
+for /f "skip=1 tokens=1,2" %%a in ('"%ADB_PATH%" devices') do (
+ if "%%b"=="device" set /a device_count+=1
+)
+
+:: -----------------------------
+:: 1. 豸Ƿߣ߾Ƴʾ
+:: -----------------------------
+for %%d in (!started!) do (
+ "%ADB_PATH%" -s %%d get-state >nul 2>&1
+ if errorlevel 1 (
+ echo 豸 %%d ѶϿ
+ set started=!started: %%d=!
+ )
+)
+
+:: -----------------------------
+:: 2. ɨ赱ǰ豸δʾ
+:: -----------------------------
+for /f "skip=1 tokens=1,2" %%a in ('"%ADB_PATH%" devices') do (
+ if "%%b"=="device" (
+ set id=%%a
+ echo !started! | find "%%a" >nul
+ if errorlevel 1 (
+ echo 豸 %%a ӣͶ...
+ start "" /B "%SCRCPY_PATH%" -s %%a
+ set started=!started! %%a
+ timeout /t 5 >nul
+ )
+ )
+)
+
+:: -----------------------------
+:: 3. ̬ʱʾ
+:: -----------------------------
+set /a counter=%scan_interval%
+:cd_loop
+cls
+echo =========================================
+echo jasen88-Ͷ
+echo =========================================
+echo ǰ豸 %device_count% %counter% ɨ豸...
+echo ----------------------------------------
+
+set /a counter-=1
+if %counter% gtr 0 (
+ ping -n 2 127.0.0.1 >nul
+ goto cd_loop
+)
+
+goto loop
\ No newline at end of file
diff --git a/src/scrcpy-console.bat b/src/scrcpy-console.bat
new file mode 100644
index 0000000..877c7f3
--- /dev/null
+++ b/src/scrcpy-console.bat
@@ -0,0 +1,2 @@
+@echo off
+scrcpy.exe --pause-on-exit=if-error %*
diff --git a/src/scrcpy-noconsole.vbs b/src/scrcpy-noconsole.vbs
new file mode 100644
index 0000000..7a1c579
--- /dev/null
+++ b/src/scrcpy-noconsole.vbs
@@ -0,0 +1,7 @@
+strCommand = "cmd /c scrcpy.exe"
+
+For Each Arg In WScript.Arguments
+ strCommand = strCommand & " """ & replace(Arg, """", """""""""") & """"
+Next
+
+CreateObject("Wscript.Shell").Run strCommand, 0, false
diff --git a/src/scrcpy-server b/src/scrcpy-server
new file mode 100644
index 0000000..89054b7
Binary files /dev/null and b/src/scrcpy-server differ
diff --git a/src/scrcpy.exe b/src/scrcpy.exe
new file mode 100644
index 0000000..db6a278
Binary files /dev/null and b/src/scrcpy.exe differ
diff --git a/src/swresample-5.dll b/src/swresample-5.dll
new file mode 100644
index 0000000..b5b2cc4
Binary files /dev/null and b/src/swresample-5.dll differ