mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Can start on Windows but not on Linux?! #236
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thamathar on GitHub (Nov 26, 2018).
Hello everyone.
I'm new to Electron so bare this in mind :D
I did all in Windows using Visual Studio 2017 and works without any problem on Windows, but when I pass the project into Linux (Ubuntu 18.04) I can't get this to start.
I did
But when I do
owdasy@Antonio-VirtualBox:~/Electron/ElectronSecondApp/ElectronSecondApp$ dotnet electronize start Start Electron Desktop Application... Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core Copyright (C) Microsoft Corporation. All rights reserved. Restore completed in 71.24 ms for /home/owdasy/Electron/ElectronSecondApp/ElectronSecondApp/ElectronSecondApp.csproj. Restore completed in 3.37 ms for /home/owdasy/Electron/ElectronSecondApp/ElectronSecondApp/ElectronSecondApp.csproj. ElectronSecondApp -> /home/owdasy/Electron/ElectronSecondApp/ElectronSecondApp/bin/Debug/netcoreapp2.0/linux-x64/ElectronSecondApp.dll ElectronSecondApp -> /home/owdasy/Electron/ElectronSecondApp/ElectronSecondApp/obj/Host/bin/ Skip npm install, because node_modules directory exists in: /home/owdasy/Electron/ElectronSecondApp/ElectronSecondApp/obj/Host/node_modules Invoke electron - in dir: /home/owdasy/Electron/ElectronSecondApp/ElectronSecondApp/obj/Host/node_modules/.bin /home/owdasy/Electron/ElectronSecondApp/ElectronSecondApp/obj/Host/node_modules/electron/dist/electron.exe: 1: /home/owdasy/Electron/ElectronSecondApp/ElectronSecondApp/obj/Host/node_modules/electron/dist/electron.exe: MZ����@H��: not found /home/owdasy/Electron/ElectronSecondApp/ElectronSecondApp/obj/Host/node_modules/electron/dist/electron.exe: 2: /home/owdasy/Electron/ElectronSecondApp/ElectronSecondApp/obj/Host/node_modules/electron/dist/electron.exe: Syntax error: Unterminated quoted string owdasy@Antonio-VirtualBox:~/Electron/ElectronSecondApp/ElectronSecondApp$@thamathar commented on GitHub (Nov 26, 2018):
It seams that there where missing some libs on linux, after running
sudo apt-get install build-essential clang libdbus-1-dev libgtk-3-dev \ libnotify-dev libgnome-keyring-dev libgconf2-dev \ libasound2-dev libcap-dev libcups2-dev libxtst-dev \ libxss1 libnss3-dev gcc-multilib g++-multilib curl \ gperf bison python-dbusmockI could do dotnet electronize start without any problems