The Script Kit App
The SDK is here: https://github.com/johnlindquist/kit
Install pnpm:
Run the following:
pnpm i
pnpm dev
OS | Arch | Copy/Paste/Set Text | Expand Text | Monitor Clipboard |
---|---|---|---|---|
Mac | x64 | ✅ | ✅ | ✅ |
Mac | arm64 | ✅ | ✅ | ✅ |
Windows | x64 | ✅ | ✅ | ✅ |
Windows | arm64 | ✅ | ❌ | ✅ |
Linux | x64 | ✅ | ✅ | ❌ |
Linux | arm64 | ✅ | ❌ | ❌ |
If you make a change in the main
dir/process, you'll need to stop and run pnpm run dev
again.
If you make a change in the renderer
, it should attempt to hot reload. If that fails, cmd+w
to close the window, and open a new one.
You'll have to Google for your specific issues. On mac, it's usually update xcode command line tools.
@see - https://stackoverflow.com/questions/77251296/distutils-not-found-when-running-npm-install
If you're using homebrew for Python (or python 3.12), you'll need to install the setuptools
to be able to run pnpm i
brew install python-setuptools
Putting this here in case anyone has trouble with node-gyp while setting up a dev environment on Windows. I had to install the following using the Visual Studio Installer:
Desktop Development with C++ workload MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest) MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs (Latest)
You will need to uninstall uiohook-napi to avoid errors:
npm un uiohook-napi
This will install pnpm to ~/.kit/pnpm
When rebuilding the Kit SDK, also run:
npm run clear-cache
This is due to Vite not picking up on some changes to a linked SDK.