mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
17 lines
360 B
Bash
Executable File
17 lines
360 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Author : Gaston Gonzalez
|
|
# Date : 8 Agust 2026
|
|
# Purpose: Wrapper for running et-user-app on first login.
|
|
|
|
FIRST_LOGIN_FILE="${HOME}/.config/emcomm-tools/first-login-complete"
|
|
|
|
if [[ ! -e "${FIRST_LOGIN_FILE}" ]]; then
|
|
|
|
GDK_BACKEND=x11 /opt/et-user-app/bin/et-user-app
|
|
|
|
if [[ $? -eq 0 ]]; then
|
|
touch "${FIRST_LOGIN_FILE}"
|
|
fi
|
|
fi
|