From 003ec4876352cf70f471d286543a88a3210df7a3 Mon Sep 17 00:00:00 2001 From: icedream Date: Thu, 5 Nov 2015 03:02:57 +0100 Subject: [PATCH] Provide "ts3bot" global executable. --- app.js | 2 ++ package.json | 3 +++ 2 files changed, 5 insertions(+) diff --git a/app.js b/app.js index 8e7cd8f..26af737 100644 --- a/app.js +++ b/app.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + require("iced-coffee-script/register"); Sync = require("sync"); diff --git a/package.json b/package.json index 8d3fe8a..f2fba59 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "0.3.0", "description": "Allows running TeamSpeak3 as a bot for all kinds of media (local music/videos/streams/YouTube/...) without the need for a real GUI to exist.", "main": "app.js", + "bin": { + "ts3bot": "app.js" + }, "keywords": [ "teamspeak", "teamspeak3",