Skip to content
This repository was archived by the owner on Jul 22, 2022. It is now read-only.
This repository was archived by the owner on Jul 22, 2022. It is now read-only.

Installation steps #34

@p1gp1g

Description

@p1gp1g

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions