Skip to content

martinpham97/time2sleep-react

Repository files navigation

time2sleep-react

A cross-platform shutdown timer

Known Vulnerabilities

Compatibility

Command/OS Windows MacOS Linux
Shutdown ✔️ ✔️ ✔️
Reboot ✔️ ✔️ ✔️
Hibernate* ✔️
Log-off ✔️
Sleep ✔️

* Hibernate command will be triggered instead of Sleep for Windows 8/10 if Hibernate is turned off

Releases/Download

Check out the releases here

Requirements

Install

# Clone the repository
$ git clone https://github.com/martinpham97/time2sleep-react

# Go into the repository
$ cd time2sleep-react

# Install dependencies
$ npm install

Run

$ npm start

Build

# Windows
$ npm run dist-win

# MacOS
$ npm run dist-mac

# Linux
$ npm run dist-linux

License

FOSSA Status

Changelog

2.0.0 (04/10/2018)

  • Updated react to version 16.5.2
  • Updated babel to version 8
  • Used javascript's ES2017 padStart() instead of util function for countdown input
  • Added version number in window title
  • Added environment variables
  • Removed lru-cache
  • Minor code refractor

1.0.1 (14/07/2018)

  • Added lru-cache for better startup time
  • Changed OS info events for better component load time
  • Changed to solid background instead of transparent
  • Added App ID for electron-builder
  • Removed Squirrel for Windows builds