diff --git a/menu.js b/menu.js index 76cf394..318bf89 100644 --- a/menu.js +++ b/menu.js @@ -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')) {