Skip to content

Commit

Permalink
(macOS) UI: Extended description for "Error connecting to daemon" err…
Browse files Browse the repository at this point in the history
…or: guide the user to check background item configuration in system settings

ivpn/desktop-app-shadow#169
#354
  • Loading branch information
stenya committed Jan 31, 2024
1 parent 1cc05b3 commit fbfaba4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ui/src/components/Component-Init.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@
Not connected to daemon. Please, ensure IVPN daemon is running and
try to reconnect.
</div>
<div v-if="isMacOS" class="small_text">
Ensure that the <span>'IVPN'</span> background item is enabled in
your system settings. If it's not enabled, please turn it on and
then reboot your system. (<span
>General -> Login Items -> Allow in the Background</span
>)
</div>
<div class="small_text">
The latest version of the IVPN software can be downloaded from the
<button
Expand All @@ -57,6 +64,7 @@

<script>
import spinner from "@/components/controls/control-spinner.vue";
import { Platform, PlatformEnum } from "@/platform/platform";
import { DaemonConnectionType } from "@/store/types";
const sender = window.ipcSender;
import config from "@/config";
Expand Down Expand Up @@ -121,6 +129,9 @@ export default {
daemonIsOldVersionError: function () {
return this.$store.state.daemonIsOldVersionError;
},
isMacOS: function () {
return Platform() === PlatformEnum.macOS;
},
},
watch: {
isConnecting() {
Expand Down

0 comments on commit fbfaba4

Please sign in to comment.