mirror of
https://github.com/facefusion/facefusion-pinokio.git
synced 2026-08-16 20:50:19 +02:00
Early version for 3.0.0 part5
This commit is contained in:
@@ -2,27 +2,25 @@ const path = require('path');
|
||||
|
||||
module.exports = async kernel =>
|
||||
{
|
||||
const menu = [];
|
||||
|
||||
if (!await kernel.exists(__dirname, 'facefusion', '.git'))
|
||||
{
|
||||
const menu =
|
||||
[
|
||||
menu.push(
|
||||
{
|
||||
icon: 'fa-solid fa-plug',
|
||||
text: 'Install',
|
||||
href: 'install.js',
|
||||
params:
|
||||
{
|
||||
icon: 'fa-solid fa-plug',
|
||||
text: 'Install',
|
||||
href: 'install.js',
|
||||
params:
|
||||
{
|
||||
run: true,
|
||||
fullscreen: true
|
||||
}
|
||||
run: true,
|
||||
fullscreen: true
|
||||
}
|
||||
];
|
||||
});
|
||||
|
||||
return menu;
|
||||
}
|
||||
|
||||
const menu = [];
|
||||
|
||||
if (await kernel.running(__dirname, 'run.js'))
|
||||
{
|
||||
const memory = await kernel.memory.local[path.resolve(__dirname, 'run.js')];
|
||||
|
||||
Reference in New Issue
Block a user