Closed kirbystudy closed 1 year ago
Can you please describe the issue more? What icon are you talking abt?
My Question:
According to the video demonstration, my system is running on Windows 10 64-bit, when I input the URL, I click on the "attach" button, wait for 5 seconds, and then click on the "show" button. The wallpaper will be applied, but the desktop icons will become invisible.
Second picture, At this particular location, an inexplicable additional window unexpectedly appears, causing confusion.
are you saying you have issue with the app not the library? in that case i only built the app to demonstrate the funcalty its not ready for use by any user it doesn't has many features.
you may want to build ur own app using electron and nodejs.
Yes, I am currently using your library and based on the demo example you provided, I have found that the issue is the same as the application.
can you show me your code plz
Sorry, the code for the main process was written according to your example code, which has the same issue as the application you published. My computer is on a Win 64 bit system, and the desktop icons have become invisible.
let wallpaper;
app.on("ready", async () => {
wallpaper = new BrowserWindow({
enableLargerThanScreen: true,
autoHideMenuBar: true,
fullscreen: true,
frame: false,
show: false,
webPreferences: {
backgroundThrottling: false,
webSecurity: false,
nodeIntegration: true,
contextIsolation: false,
webviewTag: true
}
})
});
await wallpaper.loadURL(path.resolve(
__dirname,
'../../renderer/pages/wallpaper/wallWindow.html'
))
attach(wallpaper)
wallpaper.show()
refresh()
});
let wallpaper;
app.on("ready", async () => {
wallpaper = new BrowserWindow({
enableLargerThanScreen: true,
autoHideMenuBar: true,
fullscreen: true,
frame: false,
show: false,
skipTaskbar: true, // ADD THIS
webPreferences: {
backgroundThrottling: false,
webSecurity: false,
nodeIntegration: true,
contextIsolation: false,
webviewTag: true
}
})
});
await wallpaper.loadURL(path.resolve(
__dirname,
'../../renderer/pages/wallpaper/wallWindow.html'
))
attach(wallpaper)
wallpaper.show()
refresh()
});
its not an issue with my library its just leck of skills on electron side
https://github.com/meslzy/electron-as-wallpaper/assets/63231787/f9d8d13c-c867-4fe1-89b6-fd50abb19e47