Fix/windows addon lib (#369)
* Adds libs and exp to windows addon building * fixes refex on windows prebuilt * 0.13.1
This commit is contained in:
parent
9f91c32a0e
commit
626045549f
2
.github/workflows/prebuild.yml
vendored
2
.github/workflows/prebuild.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
if: contains(github.event.client_payload.tag, '0.0.0-latest-master')
|
||||
run: npm --no-git-tag-version version 0.0.0-latest-master
|
||||
- name: Prebuild binary
|
||||
run: npm run prebuild:build
|
||||
run: npx prebuild --all --backend=cmake-js --strip --runtime=napi --include-regex="\.[n,e,l][a-z]*$"
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@master
|
||||
with:
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nodegui/nodegui",
|
||||
"version": "0.13.0",
|
||||
"version": "0.13.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nodegui/nodegui",
|
||||
"version": "0.13.0",
|
||||
"version": "0.13.1",
|
||||
"description": "A cross platform library to build native desktop apps.",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
@ -12,7 +12,6 @@
|
||||
"build": "tsc && npm run build:addon",
|
||||
"postinstall": "cross-env node ./scripts/skip.js || npm run prebuild:install || npm run build:addon",
|
||||
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile",
|
||||
"prebuild:build": "prebuild --all --backend=cmake-js --runtime=napi",
|
||||
"prebuild:install": "prebuild-install --backend=cmake-js --runtime=napi --verbose",
|
||||
"test": "qode ./node_modules/jest/bin/jest -i",
|
||||
"lint:cpp": "clang-format -i --glob=src/cpp/**/*.[h,c]*",
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <napi.h>
|
||||
|
||||
#include <QEvent>
|
||||
|
||||
#include "Extras/Utils/nutils.h"
|
||||
#include "core/Events/eventsmap.h"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user