Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use signed coordinates for mouse events #670

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adds other os
gerhardberger committed Jan 12, 2024

Verified

This commit was signed with the committer’s verified signature.
aaronfranke Aaron Franke
commit c51af6360cb2af2eabc47f17a00f91d988543fce
26 changes: 21 additions & 5 deletions .github/workflows/build-and-upload.yaml
Original file line number Diff line number Diff line change
@@ -5,9 +5,25 @@ on:
branches: [master, remove-install-script]

jobs:
build-windows:
name: windows prebuilts
runs-on: windows-2019
build:
name: Build binary
strategy:
fail-fast: false
matrix:
include:
- platform: linux
agent: ubuntu-20.04
arch: x64
- platform: windows
agent: windows-2019
arch: x64
- platform: macos
agent: macos-11
arch: x64
- platform: macos-arm
agent: macos-13-large
arch: arm64
runs-on: ${{ matrix.agent }}
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -22,10 +38,10 @@ jobs:
run: npm ci --no-audit --no-fund

- name: Rebuild native modules
run: npm run rebuild -- -a x64
run: "npm run rebuild -- -a ${{ matrix.arch }}"

- name: Upload native module binary
uses: actions/upload-artifact@v4
with:
name: windows-build-archive
name: "${{ matrix.platform }}-build-archive"
path: build
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -10,8 +10,7 @@
"test-keyboard": "node test/keyboard.js",
"test:win32": "jasmine test/**/*.js",
"install": "echo",
"install-debug": "prebuild-install || node-gyp rebuild --debug",
"prebuild": "prebuild --all",
"install-debug": "node-gyp rebuild --debug",
"rebuild": "node ./scripts/rebuild.js --electron=27.0.2 --forceabi=118"
},
"repository": {
@@ -43,13 +42,11 @@
},
"homepage": "https://github.com/TeamAround/robotjs",
"dependencies": {
"nan": "^2.17.0",
"prebuild-install": "^6.1.2"
"nan": "^2.17.0"
},
"devDependencies": {
"@electron/rebuild": "^3.2.10",
"jasmine": "^2.99.0",
"prebuild": "^12.1.0",
"run-script-os": "^1.0.3",
"tape": "^4.8.0",
"yargs": "^17.6.2"