From 281e0a3d8cbc4ef5e2f2a32d6e347888d36c5209 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Fri, 23 Oct 2020 22:03:13 -0700 Subject: Works in Chrome again! (had to make TabFS name lowercase) Add install script to cover all the native messaging install cases. --- Makefile | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile deleted file mode 100644 index f15f5dc..0000000 --- a/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -EXE_PATH=$(shell pwd)/fs/tabfs -define NATIVE_MESSAGING_APP_MANIFEST -{ - "name": "com.rsnous.TabFS", - "description": "TabFS", - "path": "$(EXE_PATH)", - "type": "stdio", - "allowed_extensions": ["tabfs@rsnous.com"] -} -endef -export NATIVE_MESSAGING_APP_MANIFEST - -# "allowed_origins": [ -# "chrome-extension://knldjmfmopnpolahpmmgbagdohdnhkik/" -# ] - -# ~/Library/Application Support/Google/Chrome/NativeMessagingHosts -MANIFEST_LOCATION="$$HOME/Library/Application Support/Mozilla/NativeMessagingHosts" -APP_NAME="com.rsnous.TabFS" -install: -# install native messaging json - mkdir -p $(MANIFEST_LOCATION) - echo "$$NATIVE_MESSAGING_APP_MANIFEST" > $(MANIFEST_LOCATION)/$(APP_NAME).json -- cgit v1.2.3