DEV Community

Cover image for Need help testing Electron App on macOS and Ubuntu

Need help testing Electron App on macOS and Ubuntu

Sai Sandeep Vaddi on August 19, 2020

Hello folks, I've been working on https://github.com/saisandeepvaddi/ten-hands, a free, open-source electron app for more than a year now. It help...
Collapse
 
bchhun profile image
Bernard Chhun • Edited

Hey Sai.

Tried it out in MacOS and here's two bug report :

first bug:

  1. Click on the "new project button"
  2. Try to upload a package.json file using the "upload project file" button
  3. The "Save project" button won't work.

The package.json drag & drop works though !

second bug:

Trying to quit the app closes the window but the app is somewhat still running; I had to force quit to completely stop it.

I hope you have fun building this tool :)

Collapse
 
saisandeepvaddi profile image
Sai Sandeep Vaddi

The closing has to do with Ten Hands come with exiting disabled by default if any tasks are running in background to prevent accidentally closing.

In config.json file, could you please try adding
{ hideToTrayOnClose: false}

The config file is available at ~.ten-hands\config.json or in the Configuration option in the edit menu also will open it in default editor.

Collapse
 
bchhun profile image
Bernard Chhun

Ok I see :) I'm really more used in using the terminal so I'm not your target user but I wish you success nonetheless !

Thread Thread
 
saisandeepvaddi profile image
Sai Sandeep Vaddi

Thank you :)

Collapse
 
stereoplegic profile image
Mike Bybee

Did you try closing it either from the app name menu in the top bar, or by right-clicking the app icon on the dock? This is standard behavior in Electron MacOS apps (and many MacOS apps in general), where clicking the red X only closes that window.

Collapse
 
bchhun profile image
Bernard Chhun

I'm always using keyboard shortcuts. So CMD+Q

Collapse
 
saisandeepvaddi profile image
Sai Sandeep Vaddi

Thanks for testing & reporting it.

Collapse
 
stereoplegic profile image
Mike Bybee

This is just one of many reasons Linux is my daily driver. MacOS and Windows virtualization are easy in Virtualbox, QEMU/KVM (my preference, much closer to bare metal), and others.

Collapse
 
saisandeepvaddi profile image
Sai Sandeep Vaddi

I have to use Windows for work and games.

In my case turned out its Hyper-V issue on Windows. If I disable it WSL2 and docker won't work. If I keep it on VirtualBox won't work 😂.

MacOS seemed to work on VBox (although super slow) before Hyper-V.

Trying Ubuntu in Hyper-V now. Seems to work ok.

Collapse
 
stereoplegic profile image
Mike Bybee

I don't think they've made much progress with MacOS on Hyper-V. Yeah, VBox is less than ideal on non-Linux hosts, especially with the Hyper-V issue.

Collapse
 
amlana24 profile image
amlan

For Ubuntu, cant you spin up an Azure compute instanc and test? If its just a small test you should be able to do it within free limits.

Collapse
 
saisandeepvaddi profile image
Sai Sandeep Vaddi

I've exhausted my limits on Azure and AWS though over the past years. I'll try creating new accounts and see I can get again.

Thanks for the tip.

Collapse
 
bmoser05 profile image
bmoser05

hello, check out my post that has instructions on that. link: dev.to/bmoser05/easier-way-to-make... Please Read! Thanks, bmoser05