Detect install

This commit is contained in:
henryruhs
2024-04-09 19:17:11 +02:00
parent 1743574eb1
commit c43fdeb6c0
+2 -2
View File
@@ -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'))
{