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

Autostart by Default #4

Closed
12 tasks done
tresf opened this issue Mar 15, 2016 · 7 comments
Closed
12 tasks done

Autostart by Default #4

tresf opened this issue Mar 15, 2016 · 7 comments
Assignees
Milestone

Comments

@tresf
Copy link
Contributor

tresf commented Mar 15, 2016

A placeholder to make QZ Tray auto-start by default, configurable at install time.

  • Windows (done via tresf@e7bbf05)
    • Determine permanent home for autostart (registry, etc)
    • Add option to NSIS
    • Provide mechanism for disabling via GUI
  • Linux (done via tresf/tray@9d75d13)
    • Determine permanent home for autostart
    • Add option to makeself scripts
    • Provide mechanism for disabling via GUI
  • Mac
    • Determine permanent home for autostart (AppleScript, etc)
    • Add option to pkgbuild scripts
    • Provide mechanism for disabling via GUI

Migrated from qzind/qz-print#32

@tresf tresf added this to the 2.1 milestone Apr 29, 2016
@tresf tresf self-assigned this Jun 1, 2016
@tresf
Copy link
Contributor Author

tresf commented Sep 14, 2016

Windows is implemented on my own copy of the 2.1 branch via tresf@e7bbf05. Will create PR when Linux and Mac are completed.

@tresf
Copy link
Contributor Author

tresf commented Sep 15, 2016

Linux is implemented via tresf@9d75d13

@tresf
Copy link
Contributor Author

tresf commented Sep 16, 2016

Mac done. PR opened #107.

@tresf
Copy link
Contributor Author

tresf commented Sep 21, 2016

Squashed and merged #107. Closing as resolved. This feature will be available in 2.1.0.

@tresf tresf closed this as completed Sep 21, 2016
@tresf tresf reopened this Jun 25, 2018
@tresf
Copy link
Contributor Author

tresf commented Jun 25, 2018

Reopening so that @Vzor- can take a look at improving the Windows logic and take advantage of the shared folders that we'll be using once file-io is merged.

@klabarge
Copy link
Member

Ran PR #349 and tested on Windows 10, macOS Sierra, Ubuntu 16.4. This worked as expected and i did not encounter any bugs.

Here's the unit test I used:

  1. Install 2.1 with auto start logic
  2. Uncheck "Automatically Start"
  3. Reboot, login as User A, verify QZ Tray did not start
  4. Check "Automatically Start"
  5. Reboot, login as User A, verify QZ Tray started
  6. Uncheck "Automatically Start"
  7. Logout, Log in with User B
  8. Check "Automatically Start" for User B
  9. Reboot, login with each user, verify QZ Tray:
    • Auto-started for User B
    • Did not start for User A

@tresf
Copy link
Contributor Author

tresf commented Sep 11, 2018

Closed via 64ce08f

@tresf tresf closed this as completed Sep 11, 2018
tresf added a commit that referenced this issue Apr 3, 2021
* Adds JLink helper class, CLI support
* Refactor main(); untangles TrayManager and PrintSocketServer
* Force openjdk@11 on Travis + macOS
* Mimic javapackager structure for macOS
* Temporarily disable clean between builds
* Temporarily allow running Mac version from out

Co-authored-by: Berenz <[email protected]>
Co-authored-by: Vzor- <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants