Make it work on windows

This commit is contained in:
master-atul 2019-07-23 19:39:42 +02:00
parent 27b5202999
commit c14c28a042
3 changed files with 12 additions and 14 deletions

View File

@ -97,14 +97,6 @@
'<(qt_home_dir)\\lib\\Qt5Gui.lib',
'<(qt_home_dir)\\lib\\Qt5Widgets.lib',
],
'copies': [{
'files': [
'<(qt_home_dir)\\bin\\Qt5Core.dll',
'<(qt_home_dir)\\bin\\Qt5Gui.dll',
'<(qt_home_dir)\\bin\\Qt5Widgets.dll',
],
'destination': '<(PRODUCT_DIR)',
}]
}],
],
},

View File

@ -10,7 +10,7 @@
"license": "MIT",
"private": false,
"devDependencies": {
"@nodegui/test": "^0.0.9",
"@nodegui/test": "^0.0.10",
"@types/bindings": "^1.3.0",
"@types/lodash": "^4.14.130",
"@types/node": "^12.0.2",
@ -20,7 +20,7 @@
},
"scripts": {
"dev": "npm run build && qode dist/demo.js",
"install": "npm run build",
"install": "npm run build:lib && npm run rebuild:addon",
"build": "npm run build:lib && npm run build:addon",
"build:lib": "tsc",
"build:addon": "node-gyp -j 8 build",

View File

@ -2,11 +2,12 @@
# yarn lockfile v1
"@nodegui/test@^0.0.9":
version "0.0.9"
resolved "https://registry.yarnpkg.com/@nodegui/test/-/test-0.0.9.tgz#5ec1d94d3f41531973b44f2a455f8c5afa3c4b11"
integrity sha512-0LN0XmP/flS9m/YjXJMiwOZyLjCuaoY/Sl0dseMZKRmLK5L55yyAA2DZxXmtqwiwjOoJXXjDBpqIvFflxSaKLA==
"@nodegui/test@^0.0.10":
version "0.0.10"
resolved "https://registry.yarnpkg.com/@nodegui/test/-/test-0.0.10.tgz#3c9efd216b2a8fe62c169b9ea5661204ef6077ff"
integrity sha512-eDmlHsiMM/5oUYUSCtWr1+M2CsKzJoIs2AqH0BPuBaDtS/c4DE9IkRcfkmnGlrj+6CE8tEzGrJVEIGVeWiO2Ew==
dependencies:
env-paths "^2.2.0"
extract-zip "^1.6.7"
fs-extra "^8.1.0"
got "^9.6.0"
@ -259,6 +260,11 @@ end-of-stream@^1.1.0:
dependencies:
once "^1.4.0"
env-paths@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.0.tgz#cdca557dc009152917d6166e2febe1f039685e43"
integrity sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA==
extend@~3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"