Ind.ie is now Small Technology Foundation.
Commit e070fd2d authored by Stanley Shyiko's avatar Stanley Shyiko

Made sure bin/electron-har isn't affected by dedup

parent 3f7691a8
#!/bin/bash
pushd . > /dev/null
SCRIPT_PATH="${BASH_SOURCE[0]}";
while([ -h "${SCRIPT_PATH}" ]); do
cd "`dirname "${SCRIPT_PATH}"`"
SCRIPT_PATH="$(readlink "`basename "${SCRIPT_PATH}"`")";
done
cd "`dirname "${SCRIPT_PATH}"`" > /dev/null
SCRIPT_PATH="`pwd`";
popd > /dev/null
${SCRIPT_PATH}/../node_modules/electron-prebuilt/cli.js ${SCRIPT_PATH}/../src "$@"
#!/usr/bin/env node
require('child_process').
spawn(
require('electron-prebuilt'),
[__dirname + '/../src'].concat(process.argv.slice(2)),
{stdio: 'inherit'}
).on('close', function (code) {
process.exit(code);
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment