Comments (5)
Wild guessing:
Could it be that the unwanted second comes from auto-start you configured while running a non-packages version of the app?
At least for me it looks like if i run my project unpackaged, and create a .desktop file using auto-launch (on linux) for handling the auto-start - it results in an electron.desktop file and not in appname.desktop file
Consider checking your stored launchd files, remove them both, and re-create the auto-launch entry using a packaged version of your app.
from node-auto-launch.
did any one find solution for this issue ?
I have same problem and could not resolve yet after reading @yafp comment.
from node-auto-launch.
if we run our app in our local system, in Linux it creates an electron.desktop file and if we uninstall the app this file remains there. so after running app build we see two windows one is our app and another is an electron default window. For Linux go to this path ~/.config/autostart/ and windows - \HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run this and remove that electron file (which got created after running the app locally because its getting consider as an individual app which has an auto-launch feature)
from node-auto-launch.
Any solution to this?
from node-auto-launch.
Related Issues (20)
- Windows cannot auto launch after application's install path changed. HOT 3
- There is no option to enable auto launch for all users HOT 1
- Auto-launch with electron-winstaller
- ProcessUncleanExitError appearing in console HOT 1
- Be more flexible on path value: must be absolute if not Windows Store target HOT 19
- IsHidden don't work on Linux?
- background app permission
- Share your code
- If i append args to autostart.opts.appPath the finally generate command is incorrect HOT 1
- Remove Login Item from settings on application uninstall (Mac)
- How to use `opts`? HOT 2
- AppImage : Default path detection doesn't work properly because it uses mount path HOT 5
- Linux desktop entry file is named based on `path`, not `name` HOT 2
- Why the name I pass to AutoLaunch constructor is not be used? HOT 4
- Check if app launched as hidden at login or manually by the user HOT 13
- Error with Electron-Webpack 4.28.4 HOT 2
- AppleScript security issues on macOS Mojave HOT 3
- Add Ethereum name or address to package.json
- Invalid .desktop file is created if path contains spaces on Linux HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-auto-launch.