fix: use new install script url

Signed-off-by: Frost Ming <me@frostming.com>
This commit is contained in:
Frost Ming 2023-06-19 18:24:28 +08:00
parent a70a002bdd
commit f637ad9fac
No known key found for this signature in database
GPG Key ID: 5BFA9CB4DDA943BF
2 changed files with 2 additions and 2 deletions

2
dist/setup-pdm.js vendored
View File

@ -77501,7 +77501,7 @@ function handleMatchResult(matchedKey, primaryKey) {
}
// src/setup-pdm.ts
var INSTALL_SCRIPT_URL = "https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py";
var INSTALL_SCRIPT_URL = "https://pdm.fming.dev/dev/install-pdm.py";
function getPep582Path(installDir, pythonVersion) {
const parsedVersion = (0, import_parse.default)(pythonVersion);
if (IS_WINDOWS) {

View File

@ -8,7 +8,7 @@ import semParse from 'semver/functions/parse';
import * as utils from './utils';
import { cacheDependencies } from './caches';
const INSTALL_SCRIPT_URL = 'https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py';
const INSTALL_SCRIPT_URL = 'https://pdm.fming.dev/dev/install-pdm.py';
interface InstallOutput {
pdm_version: string;
pdm_bin: string;