2 Commits

Author SHA1 Message Date
Adrian Zürcher
8165b2d843 fix workflow take 3
All checks were successful
Build Slideshow App / build (amd64, , linux) (push) Successful in 1m24s
Build Slideshow App / build (amd64, .exe, windows) (push) Successful in 1m20s
Build Slideshow App / build (arm, 7, , linux) (push) Successful in 1m23s
Build Slideshow App / build (arm64, , linux) (push) Successful in 1m26s
2026-01-18 17:06:59 +01:00
Adrian Zürcher
e480141e89 fix workflow take 2 only linux
All checks were successful
Build Slideshow App / build (arm64, , linux) (push) Successful in 1m23s
2026-01-18 17:04:52 +01:00

View File

@@ -98,6 +98,7 @@ jobs:
# 2. Create Directory Structure # 2. Create Directory Structure
mkdir -p $BUILD_DIR/usr/bin mkdir -p $BUILD_DIR/usr/bin
mkdir -p $BUILD_DIR/usr/share/$PKG_NAME mkdir -p $BUILD_DIR/usr/share/$PKG_NAME
mkdir -p $BUILD_DIR/etc/systemd/system
mkdir -p $BUILD_DIR/DEBIAN mkdir -p $BUILD_DIR/DEBIAN
# 3. Copy Files # 3. Copy Files
@@ -116,10 +117,12 @@ jobs:
cat <<EOF > $BUILD_DIR/etc/systemd/system/$PKG_NAME.service cat <<EOF > $BUILD_DIR/etc/systemd/system/$PKG_NAME.service
[Unit] [Unit]
Description=Slideshow Application Service Description=Slideshow Application Service
After=network.target After=graphical.target
[Service] [Service]
Type=simple Type=simple
Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/youruser/.Xauthority
ExecStart=/usr/bin/$PKG_NAME ExecStart=/usr/bin/$PKG_NAME
WorkingDirectory=/usr/share/$PKG_NAME WorkingDirectory=/usr/share/$PKG_NAME
Restart=always Restart=always