summarylogtreecommitdiffstats
path: root/upwork
diff options
context:
space:
mode:
Diffstat (limited to 'upwork')
-rw-r--r--upwork10
1 files changed, 10 insertions, 0 deletions
diff --git a/upwork b/upwork
new file mode 100644
index 000000000000..4875462de381
--- /dev/null
+++ b/upwork
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+IS_UNITY_FAMILY=`echo $XDG_CURRENT_DESKTOP | awk -F: "{print $1}"`
+
+if [ "$IS_UNITY_FAMILY" == "Unity" ]; then
+ export XDG_CURRENT_DESKTOP=Unity
+fi
+
+cd "/opt/upwork"
+exec "./upwork" "$@"