mirror of
https://github.com/osnr/TabFS.git
synced 2024-06-08 00:42:16 +02:00
74b1b0f789
Why? The WebSocket stuff is broken right now, and I want to get rid of the dep...
24 lines
683 B
Makefile
24 lines
683 B
Makefile
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
|