Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup path is not there #164

Open
ajinzrathod opened this issue May 16, 2021 · 0 comments
Open

Startup path is not there #164

ajinzrathod opened this issue May 16, 2021 · 0 comments

Comments

@ajinzrathod
Copy link

I have made a script where the user has 2 options.

  1. They can start the script automatically when the system starts
  2. They can start it manually.

So, to start automatically, I need to add programs in startup
And the directory for startup is different for all OS.

Right now I have done like this.

if platform == "linux":
    # linux
elif platform == "darwin":
    # OS X
elif platform == "win32" or platform == "cygwin":
    # Windows...

But it would be more helpful, if I had a function in appdirs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant