Code Monkey home page Code Monkey logo

electron-active-window's Introduction

electron-active-window's People

Contributors

braaar avatar nullxx avatar yvesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

electron-active-window's Issues

MacOS < 10.15 support

Hi Nullxx! Thanks for the great library. Do you think it is possible to support MacOS versions below 10.15?

Thanks!

Keycodes incorrect

The type definitions for keys have a few incorrect entries on my machine (windows 10).

  // Enter: 28,
  Enter: 3612,
  // Backquote: 41,
  Backquote: 125,

Above you'll find the expected code's, versus the actual output when I log the event.

I can't see where the types are actually defined, otherwise I would open a PR.

Comparison with `active-win` lib

Really appreciate your open source work @nullxx ๐Ÿ™. This is a question rather than an issue.

I'm trying to understand why to consider this module over the active-win library? It seems more popular and supports some extra fields like browser URL. It's great that both exist but are there instances when this library makes more sense than active-win.

[AppImage] Linux Bundled App error & package installation failing on Linux

Issues:

  1. Couldn't install package on Linux machine getting following error:
make: Entering directory '/home/ahmadgoraya/Documents/taskick-electron/node_modules/electron-active-window/build'
  CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
  AR(target) Release/obj.target/../node-addon-api/src/nothing.a
  COPY Release/nothing.a
  CXX(target) Release/obj.target/wm/cppsrc/main.o
  CXX(target) Release/obj.target/wm/cppsrc/linux/windowlinux.o
../cppsrc/linux/windowlinux.cpp:6:10: fatal error: X11/extensions/scrnsaver.h: No such file or directory
    6 | #include <X11/extensions/scrnsaver.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [wm.target.mk:125: Release/obj.target/wm/cppsrc/linux/windowlinux.o] Error 1
make: Leaving directory '/home/ahmadgoraya/Documents/taskick-electron/node_modules/electron-active-window/build'

  1. Made a build from Mac-OS but getting following error when running the .AppImage file
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /tmp/.mount_TasKicJJznfd/resources/app.asar.unpacked/node_modules/electron-active-window/build/Release/wm.node: invalid ELF header
    at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1203:18)
    at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)
    at Module.load (internal/modules/cjs/loader.js:992:32)
    at Module._load (internal/modules/cjs/loader.js:885:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
    at Module.require (internal/modules/cjs/loader.js:1032:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/tmp/.mount_TasKicJJznfd/resources/app.asar/node_modules/electron-active-window/index.js:1:23)
    at Module._compile (internal/modules/cjs/loader.js:1152:30)

Environment:

  • Linux build-essentials and GCC are installed
  • OS: Linux
  • Electron active window version: 0.06
  • Node-Sass: 4.14.1 || 5.0.0
  • Node-gyp: 7.1.2 || 8.0.2

Screenshots are also attached for reference:
image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.