Skip to content

matthewlyons/Electron-Batch-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron Batch File Manager

This project is meant to allow users to run batch files from their taskbar.

The batchFiles folder contains all batch files that will be loaded into the taskbar and updates the list each time it runs.

async function loadFiles() {
  await fs.readdir(batchFolder, (err, files) => {
    let actionList = files.map((file) => {
      return {
        program: app.getAppPath() + './batchFiles/' + file,
        title: file.substring(0, file.indexOf('.'))
      };
    });

    app.setUserTasks(actionList);
  });
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors