radical-native
radical-native copied to clipboard
Installation steps
Since there is no instruction to install without a package, I'm pasting here a little script to run.
#!/bin/bash
USERPATH="$HOME/bin"
FFNATIVE="$HOME/.mozilla/native-messaging-hosts"
BINNAME="radical-native_v0.1beta15_x86-amd64"
native_manifest() {
cat <<-END
{
"name": "radical.native",
"description": "Radical Native",
"path": "$1",
"type": "stdio",
"allowed_extensions": [ "@radical-native", "@riot-webext" ]
}
END
}
mv "$BINNAME" "$USERPATH/$BINNAME"
ln -s "$USERPATH/$BINNAME" "$USERPATH/radical-native"
chmod +x "$USERPATH/radical-native"
mkdir -p "$FFNATIVE"
native_manifest "$USERPATH/radical-native" > "$FFNATIVE/radical.native.json"
On Fedora, sqlcipher needs to be installed, and a symlink to be done to get rid of error while loading shared libraries. (Is it related to #17 and #18 ? ldd radical-native may help)
# dnf install sqlcipher
# ln -s /lib64/libsqlcipher.so /lib64/libsqlcipher.so.0
# ln -s /lib64/libsqlcipher-3.15.2.so.0.8.6 /lib64/libsqlcipher.so # may be needed