mirror of
https://github.com/facefusion/facefusion-pinokio.git
synced 2026-06-04 01:17:59 +02:00
Detect install
This commit is contained in:
@@ -2,11 +2,11 @@ const path = require('path');
|
||||
|
||||
module.exports = async kernel =>
|
||||
{
|
||||
const hasRepo = await kernel.exists(__dirname, 'facefusion');
|
||||
const hasInstall = await kernel.exists(__dirname, 'facefusion', '.assets');
|
||||
|
||||
let menu = [];
|
||||
|
||||
if (hasRepo)
|
||||
if (hasInstall)
|
||||
{
|
||||
if (kernel.running(__dirname, 'start.js'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user