Skip to content

Commit 91c2cd7

Browse files
committed
优化文件目录结构
1 parent 92ce48c commit 91c2cd7

File tree

9 files changed

+4
-2
lines changed

9 files changed

+4
-2
lines changed

QtScrcpy/main.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ int main(int argc, char *argv[])
1515
Decoder::init();
1616
QApplication a(argc, argv);
1717

18-
//qputenv("QTSCRCPY_ADB_PATH", "G:\\mygitcode\\QtScrcpy\\src\\adb.exe");
19-
//qputenv("QTSCRCPY_SERVER_PATH", "G:\\mygitcode\\QtScrcpy\\src\\scrcpy-server.jar");
18+
#ifdef Q_OS_WIN32
19+
qputenv("QTSCRCPY_ADB_PATH", "..\\..\\..\\third_party\\adb\\adb.exe");
20+
qputenv("QTSCRCPY_SERVER_PATH", "..\\..\\..\\third_party\\scrcpy-server.jar");
21+
#endif
2022

2123
//加载样式表
2224
QFile file(":/res/psblack.css");

output/win/release/AdbWinApi.dll

-95.5 KB
Binary file not shown.

output/win/release/AdbWinUsbApi.dll

-61.5 KB
Binary file not shown.

output/win/release/adb.exe

-1.78 MB
Binary file not shown.

output/win/release/scrcpy-server.jar

-47.5 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)