Skip to content

LeXonJe/weblink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebLink

A small tool to register a simple URL Handler that executes a script. (Currently only tested on Windows)

Getting Started

$ git clone https://github.com/LeXonJe/weblink
$ yarn install

Then create a config.json file like that:

{
  "protocolName": "testProt",
  "installScript": "example.bat",
  "installLocation": "%localappdata%\\scripts\\"
}

And now you can start and test the script:

$ yarn start

Now you should be able to type (protocolName)://test into your browser and get asked to execute the script.

Building

$ yarn build

Then bundle your .exe from the dist folder with the config and a script (aka. put them in the same folder). Done!