在 RPM 中使用桌面文件安装
Using desktop-file-install in RPM
使用桌面文件安装时,我应该在哪里放置 .desktop 文件?我已经阅读了文档,但没有提及路径。
desktop-file-install
man page 似乎表明不传递目录,所有默认值都会执行您想要的操作。
RPM_BUILD_ROOT
This variable is set when building RPM packages. If the --dir
option and the DESKTOP_FILE_INSTALL_DIR environment variable are
not used, it will automatically be prepended to the default
install directory to install the desktop files appropriately
when building packages.
使用桌面文件安装时,我应该在哪里放置 .desktop 文件?我已经阅读了文档,但没有提及路径。
desktop-file-install
man page 似乎表明不传递目录,所有默认值都会执行您想要的操作。
RPM_BUILD_ROOT
This variable is set when building RPM packages. If the
--dir
option and the DESKTOP_FILE_INSTALL_DIR environment variable are not used, it will automatically be prepended to the default install directory to install the desktop files appropriately when building packages.