diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d1819b2 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +scrcpy-server: + curl -o scrcpy-server/scrcpy-server -L https://github.com/Genymobile/scrcpy/releases/download/v1.18/scrcpy-server-v1.18 + +.PHONY: scrcpy-server \ No newline at end of file diff --git a/Scrcpy.xcodeproj/project.pbxproj b/Scrcpy.xcodeproj/project.pbxproj index 115e433..d7c0d72 100644 --- a/Scrcpy.xcodeproj/project.pbxproj +++ b/Scrcpy.xcodeproj/project.pbxproj @@ -11,6 +11,7 @@ AAA221A026959AA200307990 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AAA2219F26959AA200307990 /* Assets.xcassets */; }; AAA221A326959AA200307990 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AAA221A126959AA200307990 /* LaunchScreen.storyboard */; }; AAA221A626959AA200307990 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = AAA221A526959AA200307990 /* main.m */; }; + AAA221AE2695A3B000307990 /* scrcpy-server in Resources */ = {isa = PBXBuildFile; fileRef = AAA221AD2695A3B000307990 /* scrcpy-server */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -21,6 +22,7 @@ AAA221A226959AA200307990 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; AAA221A426959AA200307990 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; AAA221A526959AA200307990 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + AAA221AD2695A3B000307990 /* scrcpy-server */ = {isa = PBXFileReference; lastKnownFileType = file; path = "scrcpy-server"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -37,6 +39,7 @@ AAA2218726959AA000307990 = { isa = PBXGroup; children = ( + AAA221AC2695A3B000307990 /* scrcpy-server */, AAA2219226959AA000307990 /* Scrcpy */, AAA2219126959AA000307990 /* Products */, ); @@ -63,6 +66,14 @@ path = Scrcpy; sourceTree = ""; }; + AAA221AC2695A3B000307990 /* scrcpy-server */ = { + isa = PBXGroup; + children = ( + AAA221AD2695A3B000307990 /* scrcpy-server */, + ); + path = "scrcpy-server"; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -120,6 +131,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + AAA221AE2695A3B000307990 /* scrcpy-server in Resources */, AAA221A326959AA200307990 /* LaunchScreen.storyboard in Resources */, AAA221A026959AA200307990 /* Assets.xcassets in Resources */, ); diff --git a/scrcpy-server/scrcpy-server b/scrcpy-server/scrcpy-server new file mode 100644 index 0000000..e90247c Binary files /dev/null and b/scrcpy-server/scrcpy-server differ