From 13d686b6f8cffab1510019231d80a4025926564f Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 22 Jul 2018 03:16:33 -0700 Subject: [PATCH] Rename output binary to moonlight --- app/Info.plist | 2 +- app/app.pro | 8 +++++++- .../linux/com.moonlight_stream.Moonlight.appdata.xml | 6 +++--- app/deploy/linux/com.moonlight_stream.Moonlight.desktop | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/app/Info.plist b/app/Info.plist index 3704d9e0..66e4048d 100644 --- a/app/Info.plist +++ b/app/Info.plist @@ -3,7 +3,7 @@ CFBundleExecutable - moonlight-qt + Moonlight CFBundleGetInfoString Created by Qt/QMake CFBundleIconFile diff --git a/app/app.pro b/app/app.pro index acef7907..6a317d17 100644 --- a/app/app.pro +++ b/app/app.pro @@ -1,7 +1,13 @@ QT += core quick network quickcontrols2 CONFIG += c++11 -TARGET = moonlight-qt +unix:!macx { + TARGET = moonlight +} else { + # On macOS, this is the name displayed in the global menu bar + TARGET = Moonlight +} + TEMPLATE = app # The following define makes your compiler emit warnings if you use diff --git a/app/deploy/linux/com.moonlight_stream.Moonlight.appdata.xml b/app/deploy/linux/com.moonlight_stream.Moonlight.appdata.xml index 20f78740..936cef19 100644 --- a/app/deploy/linux/com.moonlight_stream.Moonlight.appdata.xml +++ b/app/deploy/linux/com.moonlight_stream.Moonlight.appdata.xml @@ -26,10 +26,10 @@ com.moonlight_stream.Moonlight.desktop - moonlight-qt + moonlight - + none none none @@ -58,4 +58,4 @@ none none - \ No newline at end of file + diff --git a/app/deploy/linux/com.moonlight_stream.Moonlight.desktop b/app/deploy/linux/com.moonlight_stream.Moonlight.desktop index 5cd8d19b..4a4f2e24 100644 --- a/app/deploy/linux/com.moonlight_stream.Moonlight.desktop +++ b/app/deploy/linux/com.moonlight_stream.Moonlight.desktop @@ -1,8 +1,8 @@ [Desktop Entry] Name=Moonlight Comment=Stream games from your NVIDIA GameStream-enabled PC -Exec=moonlight-qt -Icon=moonlight-qt +Exec=moonlight +Icon=moonlight Terminal=false Type=Application Categories=Qt;Game;