Skip to content

Commit 6260455

Browse files
authored
Fix/windows addon lib (nodegui#369)
* Adds libs and exp to windows addon building * fixes refex on windows prebuilt * 0.13.1
1 parent 9f91c32 commit 6260455

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/workflows/prebuild.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
if: contains(github.event.client_payload.tag, '0.0.0-latest-master')
2626
run: npm --no-git-tag-version version 0.0.0-latest-master
2727
- name: Prebuild binary
28-
run: npm run prebuild:build
28+
run: npx prebuild --all --backend=cmake-js --strip --runtime=napi --include-regex="\.[n,e,l][a-z]*$"
2929
- name: Release
3030
uses: softprops/action-gh-release@master
3131
with:

‎package-lock.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nodegui/nodegui",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "A cross platform library to build native desktop apps.",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",
@@ -12,7 +12,6 @@
1212
"build": "tsc && npm run build:addon",
1313
"postinstall": "cross-env node ./scripts/skip.js || npm run prebuild:install || npm run build:addon",
1414
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile",
15-
"prebuild:build": "prebuild --all --backend=cmake-js --runtime=napi",
1615
"prebuild:install": "prebuild-install --backend=cmake-js --runtime=napi --verbose",
1716
"test": "qode ./node_modules/jest/bin/jest -i",
1817
"lint:cpp": "clang-format -i --glob=src/cpp/**/*.[h,c]*",

‎src/cpp/include/nodegui/core/Events/eventwidget.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#pragma once
22

33
#include <napi.h>
4+
45
#include <QEvent>
6+
57
#include "Extras/Utils/nutils.h"
68
#include "core/Events/eventsmap.h"
79

0 commit comments

Comments
 (0)