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 ...
Environment: currently our project uses a SPA project of react+antd, ts ...
Can C declare dynamic arrays? As far as I know, it doesn t work. You must specify size . For example, the following will report an error . string name[]; then the parameters of, command line implement the declaration of dynamic array in the following ...
<x-input title="" placeholder="" class="weui-vcode"> <x-button class="identifyCode-btn" slot="right" type="primary" @click="getCode()" mini&g...
enter webpack runoob1.js bundle.js Packaging Command prompt E: Smallcase>webpack runoob1.js bundle.js command: The input provided did not match any known commands or existing files: runoob1.js bundle.js how should I modify it? dir...
the previous command is as follows: mongod --logpath C: mydatabase logs.txt --logappend --dbpath C: mydatabase --serviceName MongoDB --install however, there is no prompt on the command line after entering the carriage enter, and the service has ...