修改 debian 版本为 12 bookworm

This commit is contained in:
whyour
2025-12-11 01:53:50 +08:00
parent 9ab3d9367e
commit fd340806b1
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -235,13 +235,13 @@ export default class DependenceService {
const isPythonDependence = dependency.type === DependenceTypes.python3;
const osType = await detectOS();
let linuxCommand = {} as typeof LINUX_DEPENDENCE_COMMAND.Alpine;
taskLimit.removeQueuedDependency(dependency);
if (isLinuxDependence) {
if (!osType) {
return resolve(null);
}
linuxCommand = LINUX_DEPENDENCE_COMMAND[osType];
}
taskLimit.removeQueuedDependency(dependency);
const depIds = [dependency.id!];
const status = isInstall