[tor-commits] [tor-messenger-build/master] Rename start-tor-messenger.desktop file

sukhbir at torproject.org sukhbir at torproject.org
Tue Oct 13 21:35:59 UTC 2015


commit 3eeb00ea4f74c9678ac79dc7d8d4d82697423cd3
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Tue Oct 13 17:35:53 2015 -0400

    Rename start-tor-messenger.desktop file
---
 projects/tor-messenger/start-tor-messenger.desktop |   34 --------------------
 .../tor-messenger/start-unnamed-messenger.desktop  |   34 ++++++++++++++++++++
 2 files changed, 34 insertions(+), 34 deletions(-)

diff --git a/projects/tor-messenger/start-tor-messenger.desktop b/projects/tor-messenger/start-tor-messenger.desktop
deleted file mode 100644
index 3c5f92f..0000000
--- a/projects/tor-messenger/start-tor-messenger.desktop
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env ./Messenger/execdesktop
-#
-# This file is a self-modifying .desktop file that can be run from the shell.
-# It preserves arguments and environment for the start-unnamed-messenger script.
-#
-# Run './start-unnamed-messenger.desktop --help' to display the full set of options.
-#
-# When invoked from the shell, this file must always be in a Unnamed Messenger
-# root directory. When run from the file manager or desktop GUI, it is
-# relocatable.
-#
-# After first invocation, it will update itself with the absolute path to the
-# current TBB location, to support relocation of this .desktop file for GUI
-# invocation. You can also add Unnamed Messenger to your desktop's application
-# menu by running './start-unnamed-messenger.desktop --register-app'
-#
-# If you use --register-app, and then relocate your TBB directory, Unnamed
-# Messenger will no longer launch from your desktop's app launcher/dock.
-# However, if you re-run --register-app from inside that new directory, the
-# script will correct the absolute paths and re-register itself.
-#
-# This file will also still function if the path changes when TBB is used as a
-# portable app, so long as it is run directly from that new directory, either
-# via the shell or via the file manager.
-
-[Desktop Entry]
-Type=Application
-Name=Unnamed Messenger Setup
-GenericName=Instant Messenger
-Comment=Unnamed Messenger is +1 for privacy and -1 for mass surveillance
-Categories=Network;Chat;Security;
-Exec=sh -c '"$(dirname "$*")"/Messenger/start-unnamed-messenger --detach || ([ ! -x "$(dirname "$*")"/Messenger/start-unnamed-messenger ] && "$(dirname "$*")"/start-unnamed-messenger --detach)' dummy %k
-X-TorMessenger-ExecShell=./Messenger/start-unnamed-messenger --detach
-Icon=instant-messenger
diff --git a/projects/tor-messenger/start-unnamed-messenger.desktop b/projects/tor-messenger/start-unnamed-messenger.desktop
new file mode 100644
index 0000000..3c5f92f
--- /dev/null
+++ b/projects/tor-messenger/start-unnamed-messenger.desktop
@@ -0,0 +1,34 @@
+#!/usr/bin/env ./Messenger/execdesktop
+#
+# This file is a self-modifying .desktop file that can be run from the shell.
+# It preserves arguments and environment for the start-unnamed-messenger script.
+#
+# Run './start-unnamed-messenger.desktop --help' to display the full set of options.
+#
+# When invoked from the shell, this file must always be in a Unnamed Messenger
+# root directory. When run from the file manager or desktop GUI, it is
+# relocatable.
+#
+# After first invocation, it will update itself with the absolute path to the
+# current TBB location, to support relocation of this .desktop file for GUI
+# invocation. You can also add Unnamed Messenger to your desktop's application
+# menu by running './start-unnamed-messenger.desktop --register-app'
+#
+# If you use --register-app, and then relocate your TBB directory, Unnamed
+# Messenger will no longer launch from your desktop's app launcher/dock.
+# However, if you re-run --register-app from inside that new directory, the
+# script will correct the absolute paths and re-register itself.
+#
+# This file will also still function if the path changes when TBB is used as a
+# portable app, so long as it is run directly from that new directory, either
+# via the shell or via the file manager.
+
+[Desktop Entry]
+Type=Application
+Name=Unnamed Messenger Setup
+GenericName=Instant Messenger
+Comment=Unnamed Messenger is +1 for privacy and -1 for mass surveillance
+Categories=Network;Chat;Security;
+Exec=sh -c '"$(dirname "$*")"/Messenger/start-unnamed-messenger --detach || ([ ! -x "$(dirname "$*")"/Messenger/start-unnamed-messenger ] && "$(dirname "$*")"/start-unnamed-messenger --detach)' dummy %k
+X-TorMessenger-ExecShell=./Messenger/start-unnamed-messenger --detach
+Icon=instant-messenger



More information about the tor-commits mailing list