linux: Install correct desktop file for nightlies
This commit is contained in:
parent
446b38ba30
commit
21e20afc05
|
@ -33,9 +33,12 @@ install_data(sources: 'SparkleShare.Autostart.desktop', install_dir: apps_dir)
|
|||
install_data(sources: 'org.sparkleshare.SparkleShare.appdata.xml', install_dir: join_paths(get_option('prefix'), 'share', 'appdata'))
|
||||
|
||||
if get_option('nightly')
|
||||
install_data(sources: 'org.sparkleshare.SparkleShare.Nightly.desktop', install_dir: apps_dir)
|
||||
install_data(sources: 'org.sparkleshare.SparkleShare.Nightly.desktop',
|
||||
install_dir: apps_dir,
|
||||
rename: 'org.sparkleshare.SparkleShare.desktop')
|
||||
else
|
||||
install_data(sources: 'org.sparkleshare.SparkleShare.desktop', install_dir: apps_dir)
|
||||
install_data(sources: 'org.sparkleshare.SparkleShare.desktop',
|
||||
install_dir: apps_dir)
|
||||
endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue