fix: Solve ladybug problem on running npm install all on windows (#576)
* fix: Solve ladybug problem on running npm install all on windows * pushed package
This commit is contained in:
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "auto-claude-ui",
|
"name": "auto-claude-ui",
|
||||||
"version": "2.7.2-beta.12",
|
"version": "2.7.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "auto-claude-ui",
|
"name": "auto-claude-ui",
|
||||||
"version": "2.7.2-beta.12",
|
"version": "2.7.2",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -27,10 +27,11 @@ function run(cmd, options = {}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Find Python 3.12+
|
// Find Python 3.12+
|
||||||
|
// Prefer 3.12 first since it has the most stable wheel support for native packages
|
||||||
function findPython() {
|
function findPython() {
|
||||||
const candidates = isWindows
|
const candidates = isWindows
|
||||||
? ['py -3.14', 'py -3.13', 'py -3.12', 'python3.14', 'python3.13', 'python3.12', 'python3', 'python']
|
? ['py -3.12', 'py -3.13', 'py -3.14', 'python3.12', 'python3.13', 'python3.14', 'python3', 'python']
|
||||||
: ['python3.14', 'python3.13', 'python3.12', 'python3', 'python'];
|
: ['python3.12', 'python3.13', 'python3.14', 'python3', 'python'];
|
||||||
|
|
||||||
for (const cmd of candidates) {
|
for (const cmd of candidates) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user