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 ...
Hello, great gods. The problem I have encountered is very strange. Look at it carefully. First, the figure pay attention to the red words and boxes. The question is: there are 10 members in the josn character, the largest ID is 10, and the browser ...
js file updated, want to reload the page (non-restart application), weex how to reload the page, use WXSDKInstance.reloadPage (true), no matter how to reload the page ...
se= se.strip (u "[u4e00-u9fa5] + ") "my Love 3453454 good composition " se.strip (u "[u4e00-u9fa5] + ") "my Love 3453454 good composition " se=u "my Love 3453454 good composition " se.strip (u "[u4e00-u9fa5] + ") "my Love 3453454 good com...
see here: https: www.jb51.net article . I change the engine mysql> alter table num type = MyISAM; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax t...
when I use mobx with react, I modify the data directly as this.props.store.a = hello . This is also possible, but the tutorial says it is recommended to use action to modify it. What are the benefits of using action? If you want to write an action to ...