How to launch Electron JS build on Linux? - electron

I am trying to launch my ElectronJS app on Linux but impossible to get there.
This is my build process :
On Windows, I building the app for Linux with electron-packager, for amd64 arch.
I copy the folder generated on my Ubuntu machine and I create a .deb with electron-installer-debian package.
I install the application with dpkg -i my-app.deb.
In Ubuntu navigation, i found my application. But when I click on it for launch, nothing is happening...
Ideas ?

Related

Problem with buildozer How can I correct this?

I have a problem with buildozer.
Every time I use the comand "buildozer android debug" and installing the apk file on my smartphone, it just shows the start screen of the app and than it crashes.
buildozer.spec file:
Link to buildozer.spec file
If I run the application on my Computer, it works.
On my Computer I run Ubuntu 20.04.4 LTS 64 Bit.
I downgraded buildozer from dev version to 1.3.0.
Thanks for helping.
Here is my log file: https://github.com/tct123/example-buildozer.spec/blob/main/my_log.txt

Electron - build an installer for Windows x64 on Mac

I am new to electron and trying to build a windows installer for the electron app using my mac. I am using electron-packager to package the app and then electron-wix-msi to build the installer. When the build installer steps are executed, the error Unable to read file info from exe. Falling back to packaging description. Error: spawn Unknown system error -86 is thrown. please see the full error message in the attached screenshot.
I would like to highlight that when I build an installer for macOS, it works. Should I understand that I can not build a windows installer using mac?
build_installer64.ts file:
You can't do that, you have to do this on the Windows platform.
I use GitHub Actions to build my app for each platform, code for Windows:
https://code.korbsstudio.com/KorbsStudio/electron-builder-sample/-/blob/main/.github/workflows/build.yml#L52-71
Optionally, you can also use a Windows virtual machine and repeat the same process in there.
Update, for those interested in doing this on Linux, building a EXE setup file seems to be possible. You'll need to have wine installed and use:
npx electron-builder build --win

Is there any windows command for display the path of files that were installed via pip command?

I installed OpenCV program via pip install opencv_contrib_python in Windows 10 terminal, but the terminal only showed me the progress and where it downloaded the files from. I had a hard time to figure out where the files were installed. Is there any Windows command to display where the downloaded files will be stored? I am not asking for the path of downloaded files directly from the internet browsers, but asking for the path of downloaded files from windows command like pip.
pip show --files opencv_contrib_python

How to install appium in elemantary os

I am new to appium. How can I install appium in elemantory os. I downloaded the appium from official site. A dmg file is downloaded. But dont know how to move further.
.dmg file is OS X package. You don`t need it.
According to this page on Appium`s official web site: http://appium.io/downloads.html
Appium Desktop app is available only on Windows and OS platforms.
On Linux you need to install it as Node package.
Appium won't run if node/npm are install as a privileged (sudo) user. So you`ll have to use another way to install them. You can use Linux version of Homebrew( https://github.com/Linuxbrew/linuxbrew ) or download node binaries ( https://nodejs.org/en/download/ ) and place them in your home folder.
You may add an environmental variable for appium. To do it open ~/.bashrc file and add this string to the end:
export PATH=$PATH:/bin
And then reread that file:
source ~/.bashrc
Install Appium:
npm install -g appium
Run appium:
appium&
Elementary OS is very similar to Ubuntu. You may found a lot of information how to install Appium on Ubuntu. For example check this link:
How to setup Appium in Ubuntu for android

Installing Dart Editor in Debian

How to exactly install dart editor in debian? Tried to build dart from the source on this site Building Dart on Debian up to the gclient runhooks and ran
$ cd dart
$ ./tools/build.py -m release -a x64
which they say will build ALL (including the dart editor w/c I prefer). But unluckily, the build fails after waiting a thousand years. Any ideas on how to properly install ALL the dart components on debian?
I tried a while ago and failed building Dartium on Debian.
It might make sense to build the Dart runtime you use for the production server yourself but IMHO building DartEditor and Dartium is not worth the effort on Debian.
To install the development environment I just download the Linux package and unpack it.

Resources