Linux + iPhone Continuity / iMessage / SMS
param install dir
Zack Bartel2165a4aeb936
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 035750a..03d48fc 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -46,3 +46,15 @@ if(NOT TARGET uninstall)add_custom_target(uninstallCOMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)endif()++# Browser Extension Host manifest generation+include(GNUInstallDirs)+configure_file(+ "${CMAKE_CURRENT_SOURCE_DIR}/extension/host/com.tether.extension.json.in"+ "${CMAKE_CURRENT_BINARY_DIR}/com.tether.extension.json"+ @ONLY+)++install(PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/extension/host/tether-native-host"+ DESTINATION ${CMAKE_INSTALL_BINDIR})+diff --git a/extension/host/com.tether.extension.json b/extension/host/com.tether.extension.json.insimilarity index 78%rename from extension/host/com.tether.extension.jsonrename to extension/host/com.tether.extension.json.inindex 69dcf35..c53975f 100644--- a/extension/host/com.tether.extension.json+++ b/extension/host/com.tether.extension.json.in@@ -1,7 +1,7 @@{"name": "com.tether.extension","description": "Tether Native Messaging Host",- "path": "/usr/local/bin/tetherd",+ "path": "@CMAKE_INSTALL_FULL_BINDIR@/tether-native-host","type": "stdio","allowed_origins": ["chrome-extension://<EXTENSION-ID-HERE>/",