From f4a73ae268795f02d1343c923e7af3c6deabd657 Mon Sep 17 00:00:00 2001 From: developer27 Date: Mon, 14 May 2018 12:54:26 +0200 Subject: [PATCH] Added Chromium browser support. --- Chrome/Host/install-chrome-linux | 18 ------------------ Chrome/Host/install-chromium-linux | 18 ------------------ 2 files changed, 36 deletions(-) delete mode 100644 Chrome/Host/install-chrome-linux delete mode 100644 Chrome/Host/install-chromium-linux diff --git a/Chrome/Host/install-chrome-linux b/Chrome/Host/install-chrome-linux deleted file mode 100644 index 2b0a2de..0000000 --- a/Chrome/Host/install-chrome-linux +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -arc=`$(echo uname -m)` - - - -read -p "Enter Chrome extension ID: " id -echo '{"name": "ufr.dlogic.chrome","description": "UFR","path": "/usr/local/bin/ufr","type": "stdio","allowed_origins": ["chrome-extension://'$id'"]}' > data/Linux/ufr.dlogic.chrome.json - -if [ "$arc" = "x86_64" ]; then - mkdir -p /etc/opt/chrome/native-messaging-hosts - cp data/Linux/x86_64/ufr /usr/local/bin/ufr - cp data/Linux/ufr.dlogic.chrome.json /etc/opt/chrome/native-messaging-hosts/ufr.dlogic.chrome.json -else - mkdir -p /etc/opt/chrome/native-messaging-hosts - cp data/Linux/x86/ufr /usr/local/bin/ufr - cp data/Linux/ufr.dlogic.chrome.json /etc/opt/chrome/native-messaging-hosts/ufr.dlogic.chrome.json -fi \ No newline at end of file diff --git a/Chrome/Host/install-chromium-linux b/Chrome/Host/install-chromium-linux deleted file mode 100644 index 7e34903..0000000 --- a/Chrome/Host/install-chromium-linux +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -arc=`$(echo uname -m)` - - - -read -p "Enter Chromium extension ID: " id -echo '{"name": "ufr.dlogic.chrome","description": "UFR","path": "/usr/local/bin/ufr","type": "stdio","allowed_origins": ["chrome-extension://'$id'"]}' > data/Linux/ufr.dlogic.chrome.json - -if [ "$arc" = "x86_64" ]; then - mkdir -p /etc/opt/chrome/native-messaging-hosts - cp data/Linux/x86_64/ufr /usr/local/bin/ufr - cp data/Linux/ufr.dlogic.chrome.json /etc/opt/chromium/native-messaging-hosts/ufr.dlogic.chrome.json -else - mkdir -p /etc/opt/chrome/native-messaging-hosts - cp data/Linux/x86/ufr /usr/local/bin/ufr - cp data/Linux/ufr.dlogic.chrome.json /etc/opt/chromium/native-messaging-hosts/ufr.dlogic.chrome.json -fi \ No newline at end of file -- GitLab