File tree Expand file tree Collapse file tree 4 files changed +0
-16
lines changed
Expand file tree Collapse file tree 4 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,6 @@ void Dialog::on_startServerBtn_clicked()
349349 params.serverRemotePath = Config::getInstance ().getServerPath ();
350350 params.pushFilePath = Config::getInstance ().getPushFilePath ();
351351 params.gameScript = getGameScript (ui->gameBox ->currentText ());
352- params.serverVersion = Config::getInstance ().getServerVersion ();
353352 params.logLevel = Config::getInstance ().getLogLevel ();
354353 params.codecOptions = Config::getInstance ().getCodecOptions ();
355354 params.codecName = Config::getInstance ().getCodecName ();
Original file line number Diff line number Diff line change 2020#define COMMON_PUSHFILE_KEY " PushFilePath"
2121#define COMMON_PUSHFILE_DEF " /sdcard/"
2222
23- #define COMMON_SERVER_VERSION_KEY " ServerVersion"
24- #define COMMON_SERVER_VERSION_DEF " 3.3.1"
25-
2623#define COMMON_SERVER_PATH_KEY " ServerPath"
2724#define COMMON_SERVER_PATH_DEF " /data/local/tmp/scrcpy-server.jar"
2825
@@ -266,15 +263,6 @@ QString Config::getNickName(const QString &serial)
266263 return name;
267264}
268265
269- QString Config::getServerVersion ()
270- {
271- QString server;
272- m_settings->beginGroup (GROUP_COMMON);
273- server = m_settings->value (COMMON_SERVER_VERSION_KEY, COMMON_SERVER_VERSION_DEF).toString ();
274- m_settings->endGroup ();
275- return server;
276- }
277-
278266int Config::getMaxFps ()
279267{
280268 int fps = 0 ;
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ class Config : public QObject
3636 // config
3737 QString getLanguage ();
3838 QString getTitle ();
39- QString getServerVersion ();
4039 int getMaxFps ();
4140 int getDesktopOpenGL ();
4241 int getSkin ();
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ MaxFps=0
1111RenderExpiredFrames =0
1212# 视频解码方式:-1 自动,0 软解,1 dx硬解,2 opengl硬解
1313UseDesktopOpenGL =-1
14- # scrcpy-server的版本号(不要修改)
15- ServerVersion =3.3.1
1614# scrcpy-server推送到安卓设备的路径
1715ServerPath =/data/local/tmp/scrcpy-server.jar
1816# 自定义adb路径,例如D:/android/tools/adb.exe
You can’t perform that action at this time.
0 commit comments