summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorkali <kali@leap.se>2021-02-19 12:20:55 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-02-26 22:40:44 +0100
commit4a4b6b46f84c28640c711655f4f3c339ccf8fbba (patch)
treefd17ca92a5366251133b400866e8a5e97891712f /gui
parent51308ecd42d4c8d7724a8eaf517294fd9d369cf0 (diff)
[pkg] improve osx installer
- install into global /Applications - document how to troubleshoot helper - uninstall app is visible on top-level folder - improve detection of running processes for old and new binaries - Closes: #441 - Closes: #445 - Closes: #435
Diffstat (limited to 'gui')
-rwxr-xr-xgui/build.sh2
-rw-r--r--gui/qml/main.qml4
2 files changed, 4 insertions, 2 deletions
diff --git a/gui/build.sh b/gui/build.sh
index 9dfcbda..0a6e681 100755
--- a/gui/build.sh
+++ b/gui/build.sh
@@ -111,7 +111,6 @@ function buildDefault {
echo "[+] Done."
}
-
echo "[build.sh] VENDOR_PATH =" ${VENDOR_PATH}
for i in "$@"
do
@@ -136,4 +135,3 @@ then
else
buildDefault
fi
-
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index 14f0776..e4cf956 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -9,6 +9,8 @@ ApplicationWindow {
id: app
visible: false
+ flags: Qt.FramelessWindowWint | Qt.WindowsStaysOnTopHint | Qt.Popup
+
property var ctx
property var loginDone
property var allowEmptyPass
@@ -308,6 +310,8 @@ ApplicationWindow {
text: qsTr("About…")
onTriggered: {
about.visible = true
+ app.focus = true
+ requestActivate()
}
}