Re-write app build, created macOS installer package

This commit is contained in:
hensm
2018-11-27 20:10:30 +00:00
parent c63531cdce
commit 267c92825c
15 changed files with 1761 additions and 976 deletions

View File

@@ -1,7 +0,0 @@
{
"name": "fx_cast_bridge"
, "description": ""
, "path": ""
, "type": "stdio"
, "allowed_extensions": [ "fx_cast@matt.tf" ]
}

View File

@@ -1,2 +0,0 @@
@echo off
node main.js

View File

@@ -1,4 +0,0 @@
#!/usr/bin/env bash
BASEDIR=$(dirname $0)
PATH=/usr/local/bin:$PATH
AVAHI_COMPAT_NOWARN=1 node $BASEDIR/app.js

View File

@@ -1,10 +1,11 @@
import { Client } from 'castv2'
import { createBrowser, tcp } from 'mdns-js'
import { Client } from "castv2"
import { createBrowser, tcp } from "mdns-js"
import http from 'http'
import fs from 'fs'
import http from "http"
import fs from "fs"
import path from "path"
import * as transforms from './transforms'
import * as transforms from "./transforms"
const browser = createBrowser(tcp("googlecast"));