mirror of
https://github.com/facefusion/facefusion-pinokio.git
synced 2026-07-28 04:20:49 +02:00
Prepare 2.5.0 using conda only
This commit is contained in:
+3
-4
@@ -41,7 +41,7 @@ module.exports = async kernel =>
|
||||
],
|
||||
conda:
|
||||
{
|
||||
name: '{{ gpu === "nvidia" ? "cu118" : "base" }}'
|
||||
name: 'facefusion-pinokio'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -49,7 +49,7 @@ module.exports = async kernel =>
|
||||
method: 'shell.run',
|
||||
params:
|
||||
{
|
||||
message: 'git clone https://github.com/facefusion/facefusion --branch 2.4.1 --single-branch'
|
||||
message: 'git clone https://github.com/facefusion/facefusion --branch 2.5.0 --single-branch'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -58,14 +58,13 @@ module.exports = async kernel =>
|
||||
{
|
||||
message: install(kernel),
|
||||
path: 'facefusion',
|
||||
venv: 'env',
|
||||
env:
|
||||
{
|
||||
PYTHONNOUSERSITE: 'True'
|
||||
},
|
||||
conda:
|
||||
{
|
||||
name: '{{ gpu === "nvidia" ? "cu118" : "base" }}'
|
||||
name: 'facefusion-pinokio'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -2,12 +2,11 @@ const path = require('path');
|
||||
|
||||
module.exports = async kernel =>
|
||||
{
|
||||
const hasEnv = await kernel.exists(__dirname, 'facefusion', 'env');
|
||||
const hasRepo = await kernel.exists(__dirname, 'facefusion');
|
||||
|
||||
let menu = [];
|
||||
|
||||
if (hasEnv && hasRepo)
|
||||
if (hasRepo)
|
||||
{
|
||||
if (kernel.running(__dirname, 'start.js'))
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "facefusion-pinokio",
|
||||
"description": "Next generation face swapper and enhancer",
|
||||
"version": "2.4.1",
|
||||
"version": "2.5.0",
|
||||
"license": "MIT",
|
||||
"devDependencies":
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
module.exports =
|
||||
{
|
||||
version: '1.4',
|
||||
title: 'FaceFusion 2.4.1',
|
||||
title: 'FaceFusion 2.5.0',
|
||||
description: 'Next generation face swapper and enhancer',
|
||||
icon: 'icon.png',
|
||||
menu: require(__dirname + '/menu.js')
|
||||
|
||||
@@ -24,10 +24,9 @@ module.exports = () =>
|
||||
{
|
||||
message: '{{ self.cmd[local.mode] }}',
|
||||
path: 'facefusion',
|
||||
venv: 'env',
|
||||
conda:
|
||||
{
|
||||
name: '{{ gpu === "nvidia" ? "cu118" : "base" }}'
|
||||
name: 'facefusion-pinokio'
|
||||
},
|
||||
on:
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user