tofuness/Toshocat

View on GitHub
main/ToshocatWindow.js

Summary

Maintainability
A
0 mins
Test Coverage
class ToshocatWindow {
  restore() {
    this.window.show();
    this.window.restore();
    this.window.focus();
    this.window.setSkipTaskbar(false);
  }
  show() {
    this.window.focus();
    this.window.show();
  }
  hide() {
    this.window.hide();
  }
  close() {
    this.window.close();
  }
}

module.exports = ToshocatWindow;