I want to display a web page in the app of electron, but I only want to show one of the canvas. I don t need the whole html page. If possible, I also want to insert my own div in it to implement a button that closes windows. What should I do? ...
problem description I integrated antd and react and added eletron. use in main.js urlloadWindow,,bs. The picture above shows me trying to call the notification api of the system (system). It is impossible to build at all when webpack is packaged...
Hello everyone, I would like to ask a question, I use electron in the process of program execution using the template engine to create different html files, and use BrowserWindow.loadURL to load, there is no problem when debugging under Ubuntu, but after...
problem description there is no problem with refreshing the page in the development environment F5, but after packaging, the shortcut keys are invalid. I want to add a right-click refresh function to electron-vue the environmental background of the ...
1, question 1: a 7za.exe file is placed in the static folder in electron-vue. You want to use childprocess.exec to call it in electron, and you can access it in npm run dev using path.join (_ _ static, "7za.exe "). But after packaging, where will the 7...
electron reported an error when running the unit test, but the specific cause of the error was not seen. What is the solution? karma configuration: use strict const path = require( path ) const merge = require( webpack-merge ) const webpack ...
electron reported an error when running the unit test, but the specific cause of the error was not seen. What is the solution? karma configuration: use strict const path = require( path ) const merge = require( webpack-merge ) const webpack ...
index.js : but this makes it impossible for node to call directly. if export is used in node, the rendering process will not work. how to maintain the current usage in the rendering process, and how to use global properties in the main proces...
I am a rookie. Our teacher Bishu asked me to do a host computer to control the camera to take photos, monitor and so on, and then send data to the cloud. can you recommend some relevant information to me if possible? can you use electron and webrtc to i...
after setting the element to a draggable state using css s -webkit-app-region: drag in electron, it is found that double-clicking on the element triggers the maximization method of the system, try to use js to disable double-click and click events o...
want to cancel electron this picture is implemented by html . ...
how to get past the disk space, is there a method in api in electron or in node? or is there any other solution ...
problem description there is no reaction when you want to create a project, npm start with electron-quick-start. I didn t see helloworld s window. But the background process has jumped out. the platform version of the problem and what methods you ...
problem description there is no reaction when you want to create a project, npm start with electron-quick-start. I didn t see helloworld s window. But the background process has jumped out. the platform version of the problem and what methods you ...
electron can watch videos in dev mode using video.js rtmp, but cannot play videos in product mode as shown in the figure, it is the effect in development mode electron-build clicking the play button has no effect ...
question: is not sure whether to layout through a child window or a main window. Child windows are implemented indirectly using html s iframe. Do not use child = new BrowserWindow (options) remarks: 1, still looking at the official API. 2...
The result seen by top and the code of src main index.js are as follows. Where on earth is the CPU being consumed? top - 15:03:51 up 9 days, 21:30, 6 users, load average: 1.75, 1.62, 1.62 Threads: 19 total, 1 running, 18 sleeping, 0 stopped, ...
error debugging electron-quick-start program according to electron document: launch.js: : Please help me, thank you very much! ...
Clone https: github.com electron e. and start the application. You will find that the system has started three processes. It is guessed that these three processes are the main process, the main process auxiliary process, and the rendering process. S...
< 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 ...
Scrapy installation failure indicates that twisted cannot establish a connection, and then after checking on the Internet, it is found that the corresponding whl for twisted needs to be installed, but it still prompts the same error after successful inst...
when I use BayesianOptimization to find the optimal parameter of xgboost in the python environment, IndexError: too many indices for array error occurs Code: def xgboostcv( max_depth, learning_rate, n_estima...
window.location.href= "test: com.bhkj.imk "; this is the protocol that opens an app setTimeout (function () { window.location.href="https: www.baidu.com"; }, 1000); the above code is executed on the mobile. If the APP is not installed...
Today, it suddenly occurred to me that in the past, each process only called socket, once to get a scokfd, and then divided into client server,. Is it feasible for the same process to call multiple socket, one of which is used as a listening socket, and ...
I have a table exchange CREATE TABLE `exchange` ( `id` int(11) NOT NULL AUTO_INCREMENT, `rank` int(11) NOT NULL, `name` varchar(255) NOT NULL, `volume` varchar(255) NOT NULL, `timestamp` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB...