hacker-menu
hacker-menu copied to clipboard
Porting to Windows/Linux
What would be required to port this to Windows/Linux?
I'm on Windows and it didn't build on it due to nslog package. When I removed the nslog package and it's related code, I built it and it worked.
Yeah I'm seeing the same thing, let me try removing nslog.
I did get it working, although it spans multiple monitors unless I add a few icons. This works great nonetheless!
Spans multiple monitors??
Yeah, half is on one and half is on the other. Adding more icons to the right of the hacker menu icon temporarily fixed this.
Alright!
I confirmed that nslog is causing issues when compiling on Windows. We'd need to a find an alternative of it. However, the menu doesn't pop up on Windows 10 when clicked, will need to investigate more:
Showed up fine for me, maybe you need to use the official Windows 10?
I am currently writing a packaging script for Windows (and Linux) in #25. It builds for me on Windows 10 without issues.
Care to test for me?
> [email protected] build c:\Users\Paul\hacker-menu
> babel src -D -d dist --compact true
src\client\main.js -> dist\client\main.js
src\client\menu.js -> dist\client\menu.js
src\client\spinner.js -> dist\client\spinner.js
src\client\story.js -> dist\client\story.js
src\client\story_box.js -> dist\client\story_box.js
src\client\story_list.js -> dist\client\story_list.js
src\index.js -> dist\index.js
src\logger.js -> dist\logger.js
src\model\read_cache.js -> dist\model\read_cache.js
src\model\story_manager_status.js -> dist\model\story_manager_status.js
src\model\story_type.js -> dist\model\story_type.js
src\server\auto_update_manager.js -> dist\server\auto_update_manager.js
src\server\story_manager.js -> dist\server\story_manager.js
src\server\tray_manager.js -> dist\server\tray_manager.js
'.' is not recognized as an internal or external command,
operable program or batch file.
If we're porting to Windows, creating an installer with https://github.com/atom/grunt-electron-installer would be great.
You can now run script/package --all to build for all platforms. But somehow the menu didn't pop up for Windows 10. I created an issue: https://github.com/maxogden/menubar/issues/67.
The menu pops up on Windows 10, but when I click outside the menu in order to close it, it just goes blank. In order to make it work again, I have to right click on a process in my task bar called Electron and click "Close Window".