ScarletDME on Macbook M1

25 views
Skip to first unread message

Nivethan T

unread,
Dec 3, 2023, 3:34:42 PM12/3/23
to ScarletDME
Hi All,

I've gotten ScarletDME set up on my macbook now.

I've split the install script so there is now install.sh for Linux and install-mac.sh for mac specifically.


The core difference is the different commands used to create users and groups:

    dscl . create /Groups/qmusers
    dscl . create /Groups/qmusers RealName qmusers
    dscl . create /Groups/qmusers gid $NextGroupID

    dscl . create /Users/qmsys
    dscl . create /Users/qmsys RealName qmsys
    dscl . create /Users/qmsys UniqueID $NextID
    dscl . create /Users/qmsys PrimaryGroupID $GroupID


This script will create the user qmsys and the group qmusers under macos.

I also changed the default installation location from /usr/qmsys to /usr/local/qmsys. This means that you need to change the /etc/scarlet.conf file as well to point to the right path for QMSYS.

To update your user to be able to launch qm:

sudo dseditgroup -o edit -a {username} -t user qmusers

The code itself compiles fine and everything looks to be working. These are more administrative changes.


Reply all
Reply to author
Forward
0 new messages