Coder Social home page Coder Social logo

elevenpaths / easydoh Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 5.0 4.45 MB

A Firefox plugin that allows you to choose easily between different DNS over HTTPS servers

License: Mozilla Public License 2.0

JavaScript 32.00% CSS 1.51% HTML 13.37% Batchfile 2.02% Python 38.68% Shell 12.42%

easydoh's People

Contributors

toolsprods avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

easydoh's Issues

install.sh sed issue on macOS

The following line in the install.sh command will fail on macOS.

sed -i -e "s|HOST_PATH|$ESCAPED_HOST_PATH|" "$TARGET_DIR/$HOST_NAME.json"

macOS expects an extension name after the -i parameter per the man page:

     -i extension
             Edit files in-place, saving backups with the specified extension.  If a zero-length extension is given,
             no backup will be saved.  It is not recommended to give a zero-length extension when in-place editing
             files, as you risk corruption or partial content in situations where disk space is exhausted, etc.

In this script, it grabs the -e to use for the extension, resulting in an output file of com.elevenpaths.easydoh.json-e

Python script is dependant on downloaded app location (macOS)

On macOS, if the user removes the downloaded 'app' folder, the dependency of the easydoh.py script is removed with it. The script should be installed into a dedicated path outside of a transient folder location.

The com.elevenpaths.easydoh.json show the following after running a (modified: #2) version of the install.sh script

{
  "name": "com.elevenpaths.easydoh",
  "description": "Easy DNS over HTTPS agent",
  "path": "/Users/<redacted>/Downloads/app/macOS-Linux/easydoh.py",
  "type": "stdio",
  "allowed_extensions": [ "[email protected]" ]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.