mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
et-user-app - Upgraded to version 1.0.2 to support centering via an x11 backend. Added support for starting et-user-app on first login
This commit is contained in:
+5
-1
@@ -1,8 +1,12 @@
|
||||
# ETC Regression Tests
|
||||
# EmComm Tools Regression Tests
|
||||
|
||||
- **Build**: ETC R7 Build 15
|
||||
- **Date**: 8 August 2026
|
||||
|
||||
## First Login
|
||||
|
||||
* [ ] User configuration presented
|
||||
|
||||
## Desktop/Launcher Icons
|
||||
|
||||
* [ ] EmComm Tools icon (et-user-app)
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=EmComm Tools User Configuration
|
||||
Comment=EmComm Tools user configuration
|
||||
Exec=/opt/emcomm-tools/bin/et-user-first-login
|
||||
Terminal=false
|
||||
NoDisplay=true
|
||||
X-GNOME-Autostart-enabled=true
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
#!/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
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 8 August 2026
|
||||
# Updated : 9 August 2026
|
||||
# Purpose : Builds and installs et-user-app
|
||||
set -e
|
||||
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
||||
@@ -10,7 +11,7 @@ trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
|
||||
. ../overlay/opt/emcomm-tools/bin/et-common
|
||||
|
||||
APP="et-user-app"
|
||||
VERSION="1.0.1"
|
||||
VERSION="1.0.2"
|
||||
APP_AND_VERSION="${APP}-${VERSION}"
|
||||
GIT_TAG="${VERSION}"
|
||||
GIT_URL="https://github.com/thetechprepper/et-user-app.git"
|
||||
@@ -49,3 +50,5 @@ stow -v -d /opt ${APP} -t /usr/local
|
||||
cd ${CWD_DIR}
|
||||
|
||||
cp -v ../overlay/usr/share/applications/et-user.desktop /usr/share/applications
|
||||
cp -v ../overlay/etc/xdg/autostart/et-user-first-login.desktop \
|
||||
/etc/xdg/autostart
|
||||
|
||||
Reference in New Issue
Block a user