the company needs, through the web page to evoke the electron application, it is now possible to click the hyperlink to evoke the application, but how to obtain the parameters in the url that the application needs to evoke?
the company needs, through the web page to evoke the electron application, it is now possible to click the hyperlink to evoke the application, but how to obtain the parameters in the url that the application needs to evoke?
ask the boss to give me some advice. no, no, no. Process.argv, what about the command line arguments I got? Why can't I get the parameters in url?
answer your own questions.
electron's pit is really hard to step on.
about getting the parameters that evoke the application url, my idea is to get the whole url first and then extract the parameters
then how does url get it? You can get many parameters passed by the runtime
https://github.com/oikonomopo.
through the process.argv provided by node.
Previous: How to reduce onmousemove events reasonably?
Next: Webstorm's questions about the launch of the command line
electron-vue for the project create a transparent form Code: iconWindow = new BrowserWindow({ height: 100, width: 100, frame: false, resizable: false, x: -1000, y: 50, transparent: true, }) iconWindow.loadU...
use electron, to package projects into offline applications. Use the file protocol to read static resources locally. However, if the ajax request uses a relative path, after packaging, it will go directly to the root directory. main.js const winUR...
how to force electron to run on computers that do not support webGL I have read a lot of information on the Internet that if you run this line of code on the main process, you can force it to run . app.commandLine.appendSwitch( ignore-gpu-blackli...
problem description an application developed by electron+vue. There are only a few pages. Running on ubuntu14.04, 2-core 4G ran for seven or eight days and found 81% of CPU114%, memory. top -H -p CPU when you first started running, the cpu and me...
use electron as a client. To be able to choose a printer to print, node-printer is currently used, but files in other formats except txt cannot be printed ....
problem description develop Electron applications that want to pop up a full-screen page (which fills the entire screen and covers the Windows taskbar) when you click a button, but can only create a "maximized " effect, that is, you can t overwrite ...
use filePath = clipboard.read ( public.file-url ). Replace ( file: , ) on mac; the file path obtained by is problematic. The result obtained is: .file id=6571367.37028235 what is the reason for this ...
< H2 > question < H2 > The program runs normally. After executing app.quit () or pressing < kbd > quit < kbd > + < kbd > Q < kbd >, the program is always prompted to exit unexpectedly, with a probability of 101% (whether it s dev or packaged ...
now try to make a small desktop crawler with vue+electron. Hope to show the crawler s progress in the software interface, similar to the function of console.log, and print the text to the electron page . tried the global variables and functions of VUE...
problem description I used electron to package the front end into an exe application; but anything with a http request can t be displayed. Have any bosses ever used electron? ask for answers the environmental background of the problems and what met...
electron-vue runs after being packaged successfully, indicating missing module use cnpm run build to package into exe, run time what result do you expect? What is the error message actually seen? ...