Fix last littole bugs, i hope

parent 9e168860
No preview for this file type
......@@ -105,6 +105,12 @@ setup_mesa_software() {
export MESA_GLSL_CACHE_DISABLE=0 # Enable GLSL caching
export MESA_SHADER_CACHE_DISABLE=0 # Enable shader caching
export MESA_NO_VULKAN=1 # Disable Vulkan in Mesa
# MESA TRANSPARENCY FIXES - Critical for overlay transparency
export MESA_GLX_FORCE_ALPHA=1 # Force alpha channel support
export MESA_GLX_FORCE_TRANSPARENT=1 # Force transparency support
export QT_XCB_GL_INTEGRATION=xcb_egl # Better transparency with Mesa
export QT_QPA_PLATFORM=xcb # Ensure XCB platform for transparency
# Qt WebEngine configuration for software rendering
export QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox --disable-gpu --disable-gpu-sandbox --disable-dev-shm-usage --disable-software-rasterizer --disable-accelerated-video-decode --disable-accelerated-video-encode --disable-gpu-compositing --disable-gpu-rasterization --disable-vulkan --disable-vulkan-surface --disable-features=Vulkan --user-data-dir=$USER_TEMP --enable-transparent-visuals --disable-background-timer-throttling --disable-renderer-backgrounding --disable-vulkan-fallback"
......@@ -185,7 +191,7 @@ echo "Temp Directory: $USER_TEMP"
echo ""
# Verify binary exists
if [ ! -f "./MbetterClient" ]; then
if [ ! -f "/usr/local/bin/MbetterClient" ]; then
echo "ERROR: MbetterClient binary not found in current directory"
echo "Please run this script from the directory containing MbetterClient"
exit 1
......
......@@ -562,6 +562,8 @@ configure_target_system() {
mount -o bind /dev "$TARGET_MOUNT/dev"
mount -t devpts devpts "$TARGET_MOUNT/dev/pts"
chroot "$TARGET_MOUNT" apt-get remove --force-yes live-config live-config-sysvinit live-boot-doc live-boot-initramfs-tools live-config-doc live-tools user-setup
# Set root password from preseed, live system, or use default
ROOT_PASS=$(get_preseed_value "passwd/root-password")
if [ -n "$ROOT_PASS" ]; then
......@@ -653,7 +655,7 @@ exec openbox-session &
sleep 1
# Launch MBetterClient in a terminal
xterm -e /usr/local/bin/MbetterClient_wrapper.sh --ssl --web-host 0.0.0.0 &
xterm -e '/usr/local/bin/MbetterClient_wrapper.sh --ssl --web-host 0.0.0.0'
EOF
chmod +x "$TARGET_MOUNT/home/mbetterclient/.xinitrc"
......@@ -975,4 +977,4 @@ main() {
trap 'umount "$TARGET_MOUNT"/{dev/pts,dev,sys,proc,} 2>/dev/null || true' EXIT
# Run main function
main "$@"
\ No newline at end of file
main "$@"
......@@ -94,9 +94,7 @@ wpasupplicant
dhcpcd5
# NTP for clock synchronization
ntp
ntpdate
systemd-timesyncd
ntpsec-ntpdate
# Multimedia tools
ffmpeg
......
......@@ -17,7 +17,7 @@ d-i netcfg/choose_interface select auto
# d-i netcfg/wireless_key string
# User accounts - predefined (root password set by set_root_password.sh)
d-i passwd/root-password-crypted password $1$m8IxPTKQ$ss2Mu6p6xVkCwIufJhcUX/
d-i passwd/root-password-crypted password $1$LJNULrI/$maA4BNa.FGkBDlQa4dX4o0
d-i passwd/make-user boolean false
# Time configuration - predefined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment