Coder Social home page Coder Social logo

persianyagami90xs / launchd-package-creator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryangball/launchd-package-creator

0.0 1.0 0.0 1.65 MB

A utility that allows you to easily create a .pkg containing a LaunchDaemon or LaunchAgent, and a target script of your choosing.

Swift 100.00%

launchd-package-creator's Introduction

launchd Package Creator Icon

A utility that allows you to easily create a .pkg containing a LaunchDaemon or LaunchAgent, and a target script of your choosing. The target script can also be packaged, so nothing else is required on the Mac the package is installed on.

Alternatively, you can create a .pkg with only the launchd files included, which can be installed on a Mac where the target script/app already exists.

You may also export a configured launchd plist which you can use in any way you see fit.

Main Window

Usage

  1. Install the latest release
  2. Select the launchd type (daemon/agent)
  3. Input an indentifier (reverse domain name notation is typical)
  4. Input a version
  5. Select a Target script/app
  6. Choose to package the Target (or not)
  7. Select your options (more to come)
  8. Click the "Create PKG" button to create a package of the launchd item and target script/app
  9. TEST

Notes

  • When creating a LaunchAgent (which runs as the user) and selecting the StandardOutPath and StandardErrorPath options, you should be mindful as to whether or not the user has access to write to the chosen path/file. Daemons might not have this limitation, as they are run as root (when using this utility).
  • When targeting a GUI application (.app) it is recommended to use a LaunchAgent with LimitLoadToSessionType: Aqua. This will run as the user once they are logged in.

Issues and Feature Requests

Please create an issue for both issues encountered and for feature requests (like additional options that might be useful) or create a PR.

launchd-package-creator's People

Contributors

persianyagami90xs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.