cp test.desktop $ RPM_BUILD_ROOT / usr / share / applications / desktop display
cp test.desktop $ RPM_BUILD_ROOT / etc / xdg / autostart / boot from the start
[Desktop Entry] Name=系统 Name[zh_CN]=系统 Comment=Client Exec=/opt/test.exec Icon=/opt/res/tray.png Terminal=false Type=Application Categories=System Encoding=UTF-8 StartupNotify=true