...
In order to connect to the license server you have have to create this file in the current users home directory:
~/.das-element/license.conf
The file content is:5053@license-server
You can also set an environment variable (DASELEMENT_LICENSE). Depending on the MacOS version it might always work differently. It’s recommended to use the file based approach since it’s way easier to setup.
Use this command to set the variable (will only work until the workstation reboots):
Code Block |
---|
launchctl setenv DASELEMENT_LICENSE 5053@license-server |
...
Create a new properties file in this location: ~/Library/LaunchAgents/
Call the file: das-element.license.plist
and add this content … (edit license-server
to your license server - line 11)
Code Block |
---|
<?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>Label</key>
<string>das-element.license</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-c</string>
<string>launchctl setenv DASELEMENT_LICENSE 5053@license-server</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist> |
...
Environment variables
Each MacOS version has it’s own way of adding permanent environment variables. Often it works fine for the command line but not if you launch a GUI application. To make everything as easy as possible it is recommended to use the environment file.
In the Users home directory there is a file called: variables.env
This file will be read before the software start. Add all the environment variables you need in that file.
Code Block |
---|
~/.das-element/variables.env |
Example content:
Code Block |
---|
#### point to the license server
DASELEMENT_LICENSE=5053@your-license-server
#### path to the config file (.conf)
DASELEMENT_CONFIG_PATH=/mnt/server/das-element.conf
#### path to the resources folder, for presets, hooks, etc.
DASELEMENT_RESOURCES=/mnt/server/shared_folder/das-element_resources |
Uninstall
Go to the Applications folder in the Finder. Right click the das element version and select Move to Bin.