Skip to content

Commit

Permalink
updated win test, fixed issue with cli on worker
Browse files Browse the repository at this point in the history
  • Loading branch information
inlife committed Feb 5, 2019
1 parent a22f6cf commit bdd3533
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
22 changes: 5 additions & 17 deletions packages/nexrender-core/test/manual-win.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,29 @@ const render = require('../src')

const job = {
template: {
provider: 'file',
src: 'D:/Downloads/nexrender-boilerplate-master/assets/nm05ae12.aepx',
src: 'file:///D:/Downloads/nexrender-boilerplate-master/assets/nm05ae12.aepx',

composition: 'main',
frameStart: 0,
frameEnd: 1500,
},
assets: [
{
src: 'file:///D:/Downloads/nexrender-boilerplate-master/assets/2016-aug-deep.jpg',
type: 'image',
provider: 'file',
src: 'D:/Downloads/nexrender-boilerplate-master/assets/2016-aug-deep.jpg',
layer: 'background.jpg',
},
{
src: 'file:///D:/Downloads/nexrender-boilerplate-master/assets/nm.png',
type: 'image',
provider: 'file',
src: 'D:/Downloads/nexrender-boilerplate-master/assets/nm.png',
layer: 'nm.png',
},
{
src: 'file:///D:/Downloads/nexrender-boilerplate-master/assets/deep_60s.mp3',
type: 'audio',
provider: 'file',
src: 'D:/Downloads/nexrender-boilerplate-master/assets/deep_60s.mp3',
layer: 'audio.mp3',
},
],
actions: {
prerender: [
{ module: __dirname + '/mytest.js' }
],
postrender: [
{ module: __dirname + '/mytest.js' }
]
}
]
}

const settings = {
Expand Down
2 changes: 1 addition & 1 deletion packages/nexrender-worker/src/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ if (args['--version']) {
}

if (args['--host']) {
serverHost = args['--secret'] || serverHost;
serverHost = args['--host'] || serverHost;
}

if (args['--secret']) {
Expand Down

0 comments on commit bdd3533

Please sign in to comment.