I am using Electron as a desktop application and sqlite as a local database. When I install it with a new installation package, I will overwrite the previously stored database files. How can I prohibit overwriting? ...
for example, when I use mainWindow.minimize () to minimize the window, then click the dock bar to restore the window. At this time, the window seems to be frozen, and js is not running ....
purely according to the example of the official website, there has always been a magnifying effect. (I have changed initial-scale, and set zoomFactor, but the setting of initial-scale is 1.0 (ZoomFactor) has also been reset) index.js (copy the officia...
I want to develop a desktop version of Electron chat application through the integration of cloud-based IM desktop application solutions. 1. After initializing the electron-vue project, introduce fused cloud WebIMSDK (RongIMLib-2.3.2.js) 2 into index...
OKAY take it away electron-builder electron-builder version=19.56.2 loaded configuration file=package.json ( "build " field) writing effective config file=build electron-builder.yaml rebuilding native production dependencies platform=linux arch=x...
use the electron-vue template, and then package the application with electron-builder. The volume of exe has 66050KB, the project does not have many things, and the volume of the package feels larger. After checking, I see that some articles say that the...
electron-vue project, and then package it with electron-builder. The system is win32, and only win packages are packaged by electron-builder. If you have seen electron-builder s cli, using electron-builder-- mwl, you will report Build for macOS is sup...
the electron-vue framework, install "@ ffmpeg-installer ffmpeg ": "^ 1.0.15 ", contains packages for ffmpeg of different platforms. For example, if I am a windows platform, it is in exe format. Everything is normal in the development environment. When...
if the project is built using vue+element, there will be a lot of pop-up boxes on the page that need to enter content, as shown in figure for example, if I close the pop-up window in the middle of the input, and then open it, how can I simply and q...
electron loadURL website, which has js-controlled printing, prints a blank page under windows, but sees the generated pdf file under the folder, how to deal with it? prints normally on mac os. ...
1, use electron to make a gadget, want to press a specific key to trigger the behavior of the gadget in a full-screen game; 2. In practice, it is found that in the game, shortcut keys are all blocked, keys do not respond, and it is normal to use other ...
...
rendering process: <span class="test">< span> <script> const ipc = require( electron ).ipcRenderer; document.querySelector(".test").onclick = () => { ipc.send( test , (e, v) => { ...
electron, under win7 system I use app.getPath ( pepperFlashSystemPlugin ) development environment to run flash, package to generate asar or flash load failure in production environment, what may be the problem? The second question is that I use relati...
I used vue-electron to make a desktop application and an offline map, but the map has too many tiles and more than 100,000 pictures. When build is packed into an installation package, it is impossible to pack because there are too many tiles. Is there a...
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? ...
requirements are PDF resources on a dynamic given network. Electron implements preview printing and direct printing without preview. At present, the two methods are basically the same except that the display window is not displayed and the show property...
function to be implemented: click the button on the page 1 (rendering process 1) to send the event to the main process. After the main process successfully receives the event, it sends the event event through mainWindow.webContents.send. Listen to the ...
in the electron project that has already been done, download a word document. How can electron have a prompt after the download is successful? ...
I loaded this listener in the created hook of the vue component: ($electron points to require ( electron ), which is a function of the vue-electron package) created () { this.$electron.remote.getCurrentWindow.on( close , (e) => { e...
use vue to do such a page under Jinri Toutiao, how to divide the components? The tab at the top of is a non-routing component, and there is no problem if it is placed in the components folder. The navigation tab at the bottom of is the same as the top...
such a navigation jumps through koarouter, but when you jump like this, give him a style or class name router.get( contantus , async ctx => { console.log(ctx.response) await ctx.render( contantus , {title: ""}) }) router.get( ...
I have changed my domain name, but the previous domain name can continue to visit the website. what is wrong with this? ...
problem description: there is a pop-up box when the iPhone Wechat browser gets the address. After clicking cancel twice, exit the official account or exit Wechat reentry can not call the pop-up box to obtain the address again. Is there anything I can do...
learn to see a table corresponding to a model but if I have a lot of tables make the corresponding multi-model, of course, also OK but I basically do the same thing on every model can I use one model for multiple tables? is it possible to comm...