[chrome-gnome-shell] Rename native host connector to chrome-gnome-shell.



commit 841f13cd1aafabf6f9ad7beb890e286541811830
Author: Yuri Konotopov <ykonotopov gmail com>
Date:   Sun Jul 31 00:52:05 2016 +0300

    Rename native host connector to chrome-gnome-shell.
    
    Internal name will remain untouched to not break existing users.

 CMakeLists.txt                                     |    6 +++---
 ...s-chrome-connector.py => chrome-gnome-shell.py} |    0
 ...ctor.json => org.gnome.chrome-gnome-shell.json} |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a7ff5aa..7b0a440 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -83,9 +83,9 @@ if(BUILD_CONNECTOR)
        configure_file("${CMAKE_CURRENT_SOURCE_DIR}/connector/io.github.ne0sight.gs_chrome_connector.json"
                        "${CMAKE_BINARY_DIR}/")
 
-       install(PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/connector/gs-chrome-connector.py" DESTINATION 
"${CMAKE_INSTALL_BINDIR}/" RENAME gs-chrome-connector)
-       install(FILES "${CMAKE_BINARY_DIR}/io.github.ne0sight.gs_chrome_connector.json" DESTINATION 
"/etc/chromium/native-messaging-hosts/")
-       install(FILES "${CMAKE_BINARY_DIR}/io.github.ne0sight.gs_chrome_connector.json" DESTINATION 
"/etc/opt/chrome/native-messaging-hosts/")
+       install(PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/connector/chrome-gnome-shell.py" DESTINATION 
"${CMAKE_INSTALL_BINDIR}/" RENAME chrome-gnome-shell)
+       install(FILES "${CMAKE_BINARY_DIR}/org.gnome.chrome-gnome-shell.json" DESTINATION 
"/etc/chromium/native-messaging-hosts/")
+       install(FILES "${CMAKE_BINARY_DIR}/org.gnome.chrome-gnome-shell.json" DESTINATION 
"/etc/opt/chrome/native-messaging-hosts/")
        install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/connector/external_extension.json" DESTINATION 
"/usr/share/google-chrome/extensions/" RENAME "${EXTENSION_ID}.json")
        install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/connector/external_extension.json" DESTINATION 
"/usr/share/chromium/extensions/" RENAME "${EXTENSION_ID}.json")
 endif(BUILD_CONNECTOR)
diff --git a/connector/gs-chrome-connector.py b/connector/chrome-gnome-shell.py
similarity index 100%
rename from connector/gs-chrome-connector.py
rename to connector/chrome-gnome-shell.py
diff --git a/connector/io.github.ne0sight.gs_chrome_connector.json 
b/connector/org.gnome.chrome-gnome-shell.json
similarity index 76%
rename from connector/io.github.ne0sight.gs_chrome_connector.json
rename to connector/org.gnome.chrome-gnome-shell.json
index c672bea..9345c17 100644
--- a/connector/io.github.ne0sight.gs_chrome_connector.json
+++ b/connector/org.gnome.chrome-gnome-shell.json
@@ -1,7 +1,7 @@
 {
   "name": "io.github.ne0sight.gs_chrome_connector",
   "description": "Native connector for extensions.gnome.org",
-  "path": "${CMAKE_INSTALL_FULL_BINDIR}/gs-chrome-connector",
+  "path": "${CMAKE_INSTALL_FULL_BINDIR}/chrome-gnome-shell",
   "type": "stdio",
   "allowed_origins": [
     "chrome-extension://${EXTENSION_ID}/"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]