Skip to content

Conversation

@anaszgh
Copy link

@anaszgh anaszgh commented Dec 10, 2017

  • Target Platform: Windows
  • Unable to make the application run on startup for all users
  • Could it break any existing functionality for users? Nope

Copy link
Contributor

@adam-lynch adam-lynch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for this! I've just reviewed it. You should update the README too by the way.

I can't test it right now but I will later.



# appName - {String}
# onlyMe - (Optional) {Boolean}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment for mac is missing

Copy link
Contributor

@Oxalin Oxalin Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, use a name that is more representative of what's the purpose of the parameter. We usually talk about a user-wide or a system-wide installation (something like "systemWideInstall").

# :useLaunchAgent - (Optional) {Boolean}. If `true`, use filed-based Launch Agent. Otherwise use AppleScript
# to add Login Item
# :name - {String}
# :path - (Optional) {String}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add a new comment for the new option

isHiddenOnLaunch: if isHidden? then isHidden else false
mac: mac ? {}
mac: mac ? {},
onlyMe:onlyMe?true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add some spaces here please?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for a few other areas actually

@Oxalin
Copy link
Contributor

Oxalin commented Dec 7, 2023

As stated under #47, maybe we should regroup additional parameters under an array of options so the constructor's parameter list doesn't get longer than needed.

@Oxalin
Copy link
Contributor

Oxalin commented Dec 7, 2023

Is it possible to offer the same functionality for macOS and Linux? Yes/No, document the state please.

I think I saw something under Chromium/Chrome that could allow us to also do it for Linux.

@Oxalin Oxalin changed the title #62 Unable to make the application run on startup for all users Add the option to make the application run on startup for all users Dec 7, 2023
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

Successfully merging this pull request may close these issues.

3 participants