diff --git a/resources/scrcpy/SDL2.dll b/resources/scrcpy/SDL2.dll index e65808e..bc650fc 100644 Binary files a/resources/scrcpy/SDL2.dll and b/resources/scrcpy/SDL2.dll differ diff --git a/resources/scrcpy/adb.exe b/resources/scrcpy/adb.exe index fec41a1..1d62558 100644 Binary files a/resources/scrcpy/adb.exe and b/resources/scrcpy/adb.exe differ diff --git a/resources/scrcpy/avcodec-60.dll b/resources/scrcpy/avcodec-60.dll new file mode 100644 index 0000000..d27ac6a Binary files /dev/null and b/resources/scrcpy/avcodec-60.dll differ diff --git a/resources/scrcpy/avformat-60.dll b/resources/scrcpy/avformat-60.dll new file mode 100644 index 0000000..15ad42e Binary files /dev/null and b/resources/scrcpy/avformat-60.dll differ diff --git a/resources/scrcpy/avutil-58.dll b/resources/scrcpy/avutil-58.dll new file mode 100644 index 0000000..f6a0cd6 Binary files /dev/null and b/resources/scrcpy/avutil-58.dll differ diff --git a/resources/scrcpy/scrcpy-console.bat b/resources/scrcpy/scrcpy-console.bat new file mode 100644 index 0000000..d3d2538 --- /dev/null +++ b/resources/scrcpy/scrcpy-console.bat @@ -0,0 +1,4 @@ +@echo off +scrcpy.exe %* +:: if the exit code is >= 1, then pause +if errorlevel 1 pause diff --git a/resources/scrcpy/scrcpy-noconsole.vbs b/resources/scrcpy/scrcpy-noconsole.vbs new file mode 100644 index 0000000..7a1c579 --- /dev/null +++ b/resources/scrcpy/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/resources/scrcpy/scrcpy-server b/resources/scrcpy/scrcpy-server index a1ebeb1..c391f57 100644 Binary files a/resources/scrcpy/scrcpy-server and b/resources/scrcpy/scrcpy-server differ diff --git a/resources/scrcpy/scrcpy.exe b/resources/scrcpy/scrcpy.exe index 3aa0a5b..89d1f34 100644 Binary files a/resources/scrcpy/scrcpy.exe and b/resources/scrcpy/scrcpy.exe differ diff --git a/resources/scrcpy/swresample-4.dll b/resources/scrcpy/swresample-4.dll index fe635fd..a3d0026 100644 Binary files a/resources/scrcpy/swresample-4.dll and b/resources/scrcpy/swresample-4.dll differ diff --git a/resources/scrcpy/zlib1.dll b/resources/scrcpy/zlib1.dll new file mode 100644 index 0000000..48d2d55 Binary files /dev/null and b/resources/scrcpy/zlib1.dll differ diff --git a/src/renderer/components/scrcpy.vue b/src/renderer/components/scrcpy.vue index 79f4a51..0b98034 100644 --- a/src/renderer/components/scrcpy.vue +++ b/src/renderer/components/scrcpy.vue @@ -35,7 +35,7 @@ -
Bitrate {{ bitrate }}M
+
Video Bitrate {{ bitrate }}M
@@ -81,7 +81,7 @@ - Close + Close @@ -104,9 +104,11 @@ export default { } //console.log("scrcpy"+flags); - this.$execute(`scrcpy --bit-rate ${this.bitrate}M`+flags) - .catch((err) => { - if (typeof err != "object" && err.startsWith("INFO:")) return; // Catch information outputs + this.$execute(`scrcpy --video-bit-rate ${this.bitrate}M`+flags) + .catch(err => { + //if (typeof err != "object" && err.startsWith("INFO:")) return; // Catch information outputs + if (err.startsWith("WARN:")) return; // Catch default close + console.log(err) this.dialog = true; this.dialogText = err; }) diff --git a/src/renderer/components/scrcpyPlusInfo.vue b/src/renderer/components/scrcpyPlusInfo.vue index 0163ff7..08e56df 100644 --- a/src/renderer/components/scrcpyPlusInfo.vue +++ b/src/renderer/components/scrcpyPlusInfo.vue @@ -20,11 +20,12 @@ mdi-script-text SCRCPY+ Changelog - + diff --git a/src/renderer/pages/changelog.vue b/src/renderer/pages/changelog.vue index 5aa1a09..c52603c 100644 --- a/src/renderer/pages/changelog.vue +++ b/src/renderer/pages/changelog.vue @@ -25,6 +25,8 @@
  • Fix MacOS window options displaying over title bar
  • Rework "Device" section
  • Remove "ADB Quick Actions" section
  • +
  • Port to SCRCPY v2
  • +
  • Due to SCRCPY v2, audio is now supported