Skip to content

Improve MacOS packaging #14

@serafdev

Description

@serafdev
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>EnvironmentVariables</key>
    <dict>
        <key></key>
        <string></string>
    </dict>
    <key>Label</key>
    <string>org.masjidsrobot.darsrec</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/bin/darsrec</string>
    </array>
    <key>KeepAlive</key>
    <true/>
    <key>StandardOutPath</key>
    <string>/tmp/darsrec.out</string>
    <key>StandardErrorPath</key>
    <string>/tmp/darsrec.err</string>
</dict>
</plist>

Currently hardcoded the above in ~/Library/LaunchAgents/org.masjidsrobot.darsrec.plist

Should find a better way with an install.sh script to do this automatically

This ticket includes signing the binary with Apple's Developpers - not sure about the process for non-mac users, got to investigate inchaAllah

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions