Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e480141e89 |
@@ -15,19 +15,19 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- os: windows
|
||||
arch: amd64
|
||||
ext: .exe
|
||||
- os: linux
|
||||
arch: amd64
|
||||
ext: ""
|
||||
#- os: windows
|
||||
# arch: amd64
|
||||
# ext: .exe
|
||||
#- os: linux
|
||||
# arch: amd64
|
||||
# ext: ""
|
||||
- os: linux
|
||||
arch: arm64
|
||||
ext: ""
|
||||
- os: linux
|
||||
arch: arm
|
||||
arm_version: 7
|
||||
ext: ""
|
||||
#- os: linux
|
||||
# arch: arm
|
||||
# arm_version: 7
|
||||
# ext: ""
|
||||
|
||||
steps:
|
||||
|
||||
@@ -98,6 +98,7 @@ jobs:
|
||||
# 2. Create Directory Structure
|
||||
mkdir -p $BUILD_DIR/usr/bin
|
||||
mkdir -p $BUILD_DIR/usr/share/$PKG_NAME
|
||||
mkdir -p $BUILD_DIR/etc/systemd/system
|
||||
mkdir -p $BUILD_DIR/DEBIAN
|
||||
|
||||
# 3. Copy Files
|
||||
@@ -116,10 +117,12 @@ jobs:
|
||||
cat <<EOF > $BUILD_DIR/etc/systemd/system/$PKG_NAME.service
|
||||
[Unit]
|
||||
Description=Slideshow Application Service
|
||||
After=network.target
|
||||
After=graphical.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=DISPLAY=:0
|
||||
Environment=XAUTHORITY=/home/youruser/.Xauthority
|
||||
ExecStart=/usr/bin/$PKG_NAME
|
||||
WorkingDirectory=/usr/share/$PKG_NAME
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user