INNER CODE UNIT · JavaScript

removeRecentProject

frangoteam/FUXA · app/electron/main.js:169

async function removeRecentProject(projectPath) {
    try {
        const config = await loadConfig();
        config.recentProjects = (config.recentProjects || []).filter(p => p.path !== projectPath);
        await saveConfig(config);
    } catch (error) {
        console.error('Failed to remove recent project:', error.message);
    }
}

// Open existing project
async function openProject(parentWin) {
    try {
        const { canceled, filePaths } = await dialog.showOpenDialog(parentWin, {
            properties: ['openDirectory'],
            title: 'Open Project Folder',
            defaultPath: os.homedir()
        });

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…