Skip to content

Commit

Permalink
Add Facemask plugin dependency (stream-labs#1393)
Browse files Browse the repository at this point in the history
* Update Facemask version

* Revert of Revert facemask dependecy and Add create directory

* Update version and include package
  • Loading branch information
glaba13 authored and eddyStreamlabs committed Feb 25, 2019
1 parent b8d5436 commit b120ab1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"typedoc": "typedoc --out docs/dist ./app/services --mode modules --theme ./docs/theme --readme ./docs/README.md --ignoreCompilerErrors --excludePrivate --excludeExternals --hideGenerator",
"compile-tests": "tsc -p test",
"screentest": "node test/screentest/runner.js",
"commit": "commit"
"commit": "commit",
"postinstall": "scripts/facemask-plugin-move.bat"
},
"prettier": {
"singleQuote": true,
Expand Down
8 changes: 8 additions & 0 deletions scripts/facemask-plugin-move.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
IF EXIST .\\node_modules\\facemask-plugin\\slobs\\NUL (
IF EXIST .\\node_modules\\obs-studio-node\\obs-plugins\\64bit\\facemask-plugin* del .\\node_modules\\obs-studio-node\\obs-plugins\\64bit\\facemask-plugin*
IF EXIST .\\node_modules\\obs-studio-node\\data\\obs-plugins\\facemask-plugin\\NUL rmdir /s /Q .\\node_modules\\obs-studio-node\\data\\obs-plugins\\facemask-plugin
move .\\node_modules\\facemask-plugin\\slobs\\RelWithDebInfo\\obs-plugins\\* .\\node_modules\\obs-studio-node\\obs-plugins\\64bit
move .\\node_modules\\facemask-plugin\\slobs\\RelWithDebInfo\\data\\obs-plugins\\facemask-plugin .\\node_modules\\obs-studio-node\\data\\obs-plugins
rmdir /s /Q .\\node_modules\\facemask-plugin\\slobs
ECHO Facemask Files Moved Successfully
)

0 comments on commit b120ab1

Please sign in to comment.