summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOmar Rizwan <omar.rizwan@gmail.com>2020-10-23 22:03:13 -0700
committerOmar Rizwan <omar.rizwan@gmail.com>2020-10-23 22:03:13 -0700
commit281e0a3d8cbc4ef5e2f2a32d6e347888d36c5209 (patch)
tree588f4666569c41099b97586d9671f768011b050d /Makefile
parenteee57547acb4b9a73dffa3c7cceddd6d5d15e5d7 (diff)
downloadTabFS-281e0a3d8cbc4ef5e2f2a32d6e347888d36c5209.tar.gz
TabFS-281e0a3d8cbc4ef5e2f2a32d6e347888d36c5209.zip
Works in Chrome again! (had to make TabFS name lowercase)
Add install script to cover all the native messaging install cases.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 0 insertions, 23 deletions
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