diff --git a/scripts/build-release.js b/scripts/build-release.js index 5810b83ee..aefb03336 100755 --- a/scripts/build-release.js +++ b/scripts/build-release.js @@ -115,7 +115,6 @@ function buildDist(buildFolder) { }, electronDownload, npmRebuild: false, - asarUnpack: 'PortForwardingMacApp.app/**/*', }, projectDir: buildFolder, targets, diff --git a/src/dispatcher/iOSDevice.js b/src/dispatcher/iOSDevice.js index 1942e73f6..b0b459fdf 100644 --- a/src/dispatcher/iOSDevice.js +++ b/src/dispatcher/iOSDevice.js @@ -5,13 +5,11 @@ * @format */ -import type {ChildProcess} from 'child_process'; import type {Store} from '../reducers/index.js'; import type Logger from '../fb-stubs/Logger.js'; import {promisify} from 'util'; import child_process from 'child_process'; -const exec = promisify(child_process.exec); const execFile = promisify(child_process.execFile); import IOSDevice from '../devices/IOSDevice'; @@ -24,14 +22,6 @@ type iOSSimulatorDevice = {| type IOSDeviceMap = {[id: string]: Array}; -// start port forwarding server for real device connections -const portForwarder: ChildProcess = exec( - 'PortForwardingMacApp.app/Contents/MacOS/PortForwardingMacApp -portForward=8088 -multiplexChannelPort=8078', -); -window.addEventListener('beforeunload', () => { - portForwarder.kill(); -}); - function querySimulatorDevices(store: Store): Promise { const {connections} = store.getState(); diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/CocoaAsyncSocketMac b/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/CocoaAsyncSocketMac deleted file mode 100755 index 8917be44d..000000000 Binary files a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/CocoaAsyncSocketMac and /dev/null differ diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Resources/Info.plist b/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Resources/Info.plist deleted file mode 100644 index 9e893f549..000000000 --- a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Resources/Info.plist +++ /dev/null @@ -1,44 +0,0 @@ - - - - - BuildMachineOSBuild - 16G29 - CFBundleDevelopmentRegion - English - CFBundleExecutable - CocoaAsyncSocketMac - CFBundleIdentifier - com.robbiehanson.CocoaAsyncSocketMac - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - CocoaAsyncSocketMac - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 9A235 - DTPlatformVersion - GM - DTSDKBuild - 17A360 - DTSDKName - macosx10.13 - DTXcode - 0900 - DTXcodeBuild - 9A235 - - diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/CocoaAsyncSocketMac b/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/CocoaAsyncSocketMac deleted file mode 100755 index 8917be44d..000000000 Binary files a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/CocoaAsyncSocketMac and /dev/null differ diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/Resources/Info.plist b/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/Resources/Info.plist deleted file mode 100644 index 9e893f549..000000000 --- a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/Resources/Info.plist +++ /dev/null @@ -1,44 +0,0 @@ - - - - - BuildMachineOSBuild - 16G29 - CFBundleDevelopmentRegion - English - CFBundleExecutable - CocoaAsyncSocketMac - CFBundleIdentifier - com.robbiehanson.CocoaAsyncSocketMac - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - CocoaAsyncSocketMac - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 9A235 - DTPlatformVersion - GM - DTSDKBuild - 17A360 - DTSDKName - macosx10.13 - DTXcode - 0900 - DTXcodeBuild - 9A235 - - diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/FBPortForwarding-Mac b/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/FBPortForwarding-Mac deleted file mode 100755 index 901b31192..000000000 Binary files a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/FBPortForwarding-Mac and /dev/null differ diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Resources/Info.plist b/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Resources/Info.plist deleted file mode 100644 index a0e8d7ec9..000000000 --- a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Resources/Info.plist +++ /dev/null @@ -1,46 +0,0 @@ - - - - - BuildMachineOSBuild - 16G29 - CFBundleDevelopmentRegion - en - CFBundleExecutable - FBPortForwarding-Mac - CFBundleIdentifier - com.facebook.FBPortForwarding-Mac - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - FBPortForwarding-Mac - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 9A235 - DTPlatformVersion - GM - DTSDKBuild - 17A360 - DTSDKName - macosx10.13 - DTXcode - 0900 - DTXcodeBuild - 9A235 - NSHumanReadableCopyright - Copyright © 2014 Facebook. All rights reserved. - - diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/FBPortForwarding-Mac b/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/FBPortForwarding-Mac deleted file mode 100755 index 901b31192..000000000 Binary files a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/FBPortForwarding-Mac and /dev/null differ diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/Resources/Info.plist b/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/Resources/Info.plist deleted file mode 100644 index a0e8d7ec9..000000000 --- a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/Resources/Info.plist +++ /dev/null @@ -1,46 +0,0 @@ - - - - - BuildMachineOSBuild - 16G29 - CFBundleDevelopmentRegion - en - CFBundleExecutable - FBPortForwarding-Mac - CFBundleIdentifier - com.facebook.FBPortForwarding-Mac - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - FBPortForwarding-Mac - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 9A235 - DTPlatformVersion - GM - DTSDKBuild - 17A360 - DTSDKName - macosx10.13 - DTXcode - 0900 - DTXcodeBuild - 9A235 - NSHumanReadableCopyright - Copyright © 2014 Facebook. All rights reserved. - - diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Resources/Info.plist b/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Resources/Info.plist deleted file mode 100644 index f66988b1e..000000000 --- a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Resources/Info.plist +++ /dev/null @@ -1,46 +0,0 @@ - - - - - BuildMachineOSBuild - 16G29 - CFBundleDevelopmentRegion - en - CFBundleExecutable - peertalkMac - CFBundleIdentifier - com.facebook.peertalkMac - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - peertalkMac - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 9A235 - DTPlatformVersion - GM - DTSDKBuild - 17A360 - DTSDKName - macosx10.13 - DTXcode - 0900 - DTXcodeBuild - 9A235 - NSHumanReadableCopyright - Copyright © 2014 Facebook. All rights reserved. - - diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/Resources/Info.plist b/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/Resources/Info.plist deleted file mode 100644 index f66988b1e..000000000 --- a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/Resources/Info.plist +++ /dev/null @@ -1,46 +0,0 @@ - - - - - BuildMachineOSBuild - 16G29 - CFBundleDevelopmentRegion - en - CFBundleExecutable - peertalkMac - CFBundleIdentifier - com.facebook.peertalkMac - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - peertalkMac - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 9A235 - DTPlatformVersion - GM - DTSDKBuild - 17A360 - DTSDKName - macosx10.13 - DTXcode - 0900 - DTXcodeBuild - 9A235 - NSHumanReadableCopyright - Copyright © 2014 Facebook. All rights reserved. - - diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/peertalkMac b/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/peertalkMac deleted file mode 100755 index 291ebf9aa..000000000 Binary files a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/peertalkMac and /dev/null differ diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/peertalkMac b/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/peertalkMac deleted file mode 100755 index 291ebf9aa..000000000 Binary files a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/peertalkMac and /dev/null differ diff --git a/static/PortForwardingMacApp.app/Contents/Info.plist b/static/PortForwardingMacApp.app/Contents/Info.plist deleted file mode 100644 index 5a3dc25fd..000000000 --- a/static/PortForwardingMacApp.app/Contents/Info.plist +++ /dev/null @@ -1,50 +0,0 @@ - - - - - BuildMachineOSBuild - 16G29 - CFBundleDevelopmentRegion - en - CFBundleExecutable - PortForwardingMacApp - CFBundleIdentifier - com.facebook.PortForwardingMacApp - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - PortForwardingMacApp - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 9A235 - DTPlatformVersion - GM - DTSDKBuild - 17A360 - DTSDKName - macosx10.13 - DTXcode - 0900 - DTXcodeBuild - 9A235 - LSMinimumSystemVersion - 10.10 - NSHumanReadableCopyright - Copyright © 2013-present Facebook. All rights reserved. - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - - diff --git a/static/PortForwardingMacApp.app/Contents/MacOS/PortForwardingMacApp b/static/PortForwardingMacApp.app/Contents/MacOS/PortForwardingMacApp deleted file mode 100755 index 8b1ee87b2..000000000 Binary files a/static/PortForwardingMacApp.app/Contents/MacOS/PortForwardingMacApp and /dev/null differ diff --git a/static/PortForwardingMacApp.app/Contents/PkgInfo b/static/PortForwardingMacApp.app/Contents/PkgInfo deleted file mode 100644 index bd04210fb..000000000 --- a/static/PortForwardingMacApp.app/Contents/PkgInfo +++ /dev/null @@ -1 +0,0 @@ -APPL???? \ No newline at end of file