emreyolcu / discrete-scroll

Fix for macOS's unnecessary scroll wheel acceleration
MIT License
823 stars 83 forks source link

How to build? #16

Closed cjh9 closed 2 years ago

cjh9 commented 4 years ago

How to build this project from command line? I'd rather not download and execute a binary :P should perhaps be added to the readme?

emreyolcu commented 4 years ago

I don't know how to build it from the command line, but you may instead import the project in Xcode and build it there.

gramospear commented 3 years ago

same concern here, DLed the binary though n works fine

kambala-decapitator commented 3 years ago

either install Xcode and use xcodebuild on the command line or try similar compile command to https://github.com/macegr/mtExtraButtons : clang -framework ApplicationServices -o DiscreteScroll DiscreteScroll/main.m

ychin commented 3 years ago

For those who are too lazy to read up on the exact command:

Build:

xcodebuild build -project DiscreteScroll.xcodeproj

Run:

open build/Release/DiscreteScroll.app
jgspratt commented 2 years ago

I was able to get the xcodebuild build... to work, however, running open build/Release/DiscreteScroll.app did nothing (nothing opened, saw no error messages).

I was able to get clang -framework ApplicationServices -o DiscreteScroll DiscreteScroll/main.m to build a binary and the binary did what I wanted (scroll 12 lines).

I am able to get it to stay open like this: nohup ~/bin/DiscreteScrollBuild 2>&1 &