FVDI 2018 FVDI Abrites Commander FVDI Full Diagnostic Tool with 18 Software. What’s the difference among FVDI 2018, FVDI 2015 and FVDI 2014. Version 2018 has 2 features in addition to 2015 or 2016 and will not be blocked by 2015. It also has the VVDI2 function for the VAG and BMW range. Sh: 1: eslint: not found npm ERR! File sh npm ERR! Code ELIFECYCLE npm ERR! Errno ENOENT npm ERR! Syscall spawn npm ERR! Things-gateway@0.4.0 lint: eslint. Spawn ENOENT npm ERR! Failed at the things-gateway@0.4.0 lint script. This is probably not a problem with npm. There is likely additional logging output above.
FVDI 2018 FVDI Abrites Commander FVDI Full Diagnostic Tool with 18 Software. What’s the difference among FVDI 2018, FVDI 2015 and FVDI 2014. Version 2018 has 2 features in addition to 2015 or 2016 and will not be blocked by 2015. It also has the VVDI2 function for the VAG and BMW range.
Goal
Create lightweight desktop application that can open custom protocol links(similar to iTunes itmss://
or Slack slack://
application links).
Note that it is simple to register an Electron application to handle internalcustom protocol links which are in the page an Electron application isrendering. It is harder to register an Electron application to handlecustom protocol links clicked in other applications. For this we will need tocreate an installer.
Start
I took the Electron quick startapplication from theQuick startguide as the base. I placed the changed application inbahmutov/todomvc-electron-test.
If you want to try the application, clone the repository, install itsdependencies and run the start script
Here is a screenshot of the application in action.
Note that the loaded Electron application has almost NO logic. Instead itloads https://todomvc-express.bahmutov.com/,which is server side rendering TODO MVC application (available atbahmutov/todomvc-express).
For the demo purposes, the application opens the DevTools panel on startup.I also added a small log function that sends the messages to the panel.This comes very handy when the application will be packaged to run withoutterminal and need to debug the events.
Internal custom protocol links
The external website bahmutov/todomvc-expressincludes two links with custom protocol.
When this page is opened in our Electron application, and the user clickson a link <a href='todo2://completed'>completed</a>
, we wantto catch this click and open the actual pagehttps://todomvc-express.bahmutov.com/completed
. We can achieve this byregistering custom protocol handler inside the Electron main.js
rightafter the main window has been created
You can see the results right away by clicking on active
and completed
links which lead to same pages as https://todomvc-express.bahmutov.com/active
and https://todomvc-express.bahmutov.com/completed
.
External custom protocol links
In order to register our new Electron application as the handler for customprotocol links, we need to make an installer that would register it.I will use the project electron-builderto package the Electron app. First, let us create 'DMG' installer. Thesettings will be in the 'build' config object inside the package.json
file.
Notice the 'protocols' object that registers both 'todo2://' and 'todos2://'custom protocols. While unnecessary, this shows how to register multiplecustom protocols for one application.
Fvdi 2018 Spawn App Failed 13.3
Create the 'DMG' file using npm run dist
command. This createstodo-<version>.dmg
file, that you can execute. Once you drag the applicationinto 'Applications' folder, it will become the handler for the custom protocol.Opening the custom link todo2://
, either by clicking inside a browser,or by simply open todo2://...
from the terminal opens the Todo application.
Clicking on the custom link the browser brings a dialog prompting the userto 'Launch the application'.
Making a Windows installer
I want to build a Windows 64bit installer on a MacOSX laptop. See specificinstructions.Directions for Linux systems areslightly different.
To build a Windows installer, let us add a new script command 'win' andWindows build settings. In order to install custom protocols, I had to useNSIS installer with perMachine: true
option.
I also added protocol registration as a separate installer scriptin build/installer.nsh
file
Running the command downloads the Windows Electron application, but complainsbecause Wine is not found. Install Wineand open the Wine terminal. Then run npm run win
command again and it builta 'Setup-
Making installers on CI
I tried making installers on CI using GitLab docker build. Here my sample.gitlab-ci.yml
file. First it runs the tests (mostly just a JS linter),then it tries to build an installer. There are some dependencies thatneed to be installed for Linux environment, seewiki.Instead of installing dependencies in each test job, I recommend usinga special Docker image with all necessary dependencies pre-installed.
Unfortunately building signed DMG installer for Mac OS requires a Mac machineaccording to this.
Common problems
- If you get 'spawn icns2png ENOENT' ... - install Linux dependencies
- If you get 'spawn gtar ENOENT' on Mac, you will need to install
gnu-tar
- If you get 'missing WINE' error, open WINE shell and run the build command.
- If you see Error: spawn mono ENOENTthen you need to install Mono,for example using
homebrew
.