Electron.js application that allows users to schedule their computer to shut down, restart, or sleep after a specified number of minutes. The application provides an easy-to-use interface for scheduling actions and canceling them if needed.
You can download the Shutdown Scheduler application from the following link: Download Shutdown Scheduler
- Schedule shutdown, restart, or sleep actions.
- Cancel any scheduled action at any time.
- User-friendly interface with a countdown timer.
- Electron.js - Framework for building cross-platform desktop applications.
- Node.js - JavaScript runtime for building server-side applications.
-
Clone the repository:
git clone https://github.com/YourUsername/YourRepositoryName.git
-
Navigate to the project directory:
cd YourRepositoryName
-
Install the required dependencies:
npm install
-
Start the application:
Open your terminal and run the following command:
npm start
-
Enter the number of minutes you want to schedule the action in the input field.
-
Click on the desired action button (Schedule Shutdown, Schedule Restart, or Schedule Sleep).
-
If you change your mind, you can click the "Cancel Shutdown/Restart/Sleep" button to cancel any scheduled action.
If you would like to create the package yourself, follow these steps:
-
Install Electron Packager:
Run the following command to install Electron Packager as a development dependency:
npm install --save-dev electron-packager
-
Package the Application:
Use the following command to package your application. Replace
your_application_name
with the desired name for your packaged app:npx electron-packager . your_application_name
-
Locate the Packaged App:
After the build process is complete, you can find the packaged app in the output directory specified by Electron Packager.