Skip to content

Commit

Permalink
Detect install
Browse files Browse the repository at this point in the history
  • Loading branch information
henryruhs committed Apr 9, 2024
1 parent 1743574 commit c43fdeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
{
Expand Down

0 comments on commit c43fdeb

Please sign in to comment.