Comments (4)
Just as validation for myself and to save this screenshot, if you run code
from VS Code's terminal, you get the same warning
from kit.
It's working now. 🤷♂️
from kit.
The code
exectuable (shipped by VS Code) uses default python
. The default python
on Monterey is 2.7.
So when Kit invokes code
, it gives a warning about Kit 😢..
I would have to write a custom code
command to get around this. So dumb. Makes me sad, but I'll just have to live with it until they fix their stuff. Luckily, the warning goes away.
Here's the contents of the code
command shipped with VS Code if you've ever been curious:
#!/usr/bin/env bash
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
function realpath() { python -c "import os,sys; print(os.path.realpath(sys.argv[1]))" "$0"; }
CONTENTS="$(dirname "$(dirname "$(dirname "$(dirname "$(realpath "$0")")")")")"
ELECTRON="$CONTENTS/MacOS/Electron"
CLI="$CONTENTS/Resources/app/out/cli.js"
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@"
exit $?
from kit.
Looks like there's not much you can do here 🤷♂️ Thanks anyway! Kit is way faster now with this new macbook. I'll probably use it for way more than I used to 😅
from kit.
Related Issues (20)
- MacOS Sonoma: setActiveAppBounds targets the Kit.app prompt HOT 1
- Should we make ~/.kit directory with permission 700?
- Shortcode on Windows gets executed without pressing Space HOT 3
- Error creating new snippet in release candidate for 2.0 HOT 2
- doesn't work on ubuntu 22.04LTS HOT 3
- Crashing after update to 2.0.15 HOT 2
- Linux: Very small window height in some scripts. HOT 5
- Opening Script Kit Prompt Flashes HOT 3
- Keyboard Shortcut Still Registered After Deletion
- PLEASE put the docs in a documentation site. The API and Guide docs are way too long! HOT 5
- Extra space breaks clipboard expected behaviour of the Clipboard #v2 HOT 2
- Permissions > Request Input Monitoring Access doesn't do anything
- [Feature] Provide a global `css` tagged template literal function for better IDE DX
- "Focus Window" script doesn't work HOT 2
- Pass metadata breaks when input starts with a hyphen
- -login- already exists. Try again: HOT 4
- Recording clipboard history not working on Linux?
- Fresh install has high idle CPU on Windows 11 HOT 15
- Cannot use powershell for scripts HOT 3
- focusTab always opens a new tab HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kit.