Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] Doesn't Tauri need the system's permission when running background? #9802

Closed
gusxodnjs opened this issue May 17, 2024 · 1 comment

Comments

@gusxodnjs
Copy link

Describe the problem

I understand that when I run the app in the background on Tauri, I just run api.prevent_exit() to work. (https://tauri.app/v1/guides/features/system-tray#preventing-the-app-from-closing)

I thought there would be a pop-up for permission while implementing this guide, but it wasn't.

Ordinary apps get pop-up windows that acquire the system's authority to operate in the background, how are we working through this?
image

Thank you.

Describe the solution you'd like

Alternatives considered

No response

Additional context

No response

@FabianLars
Copy link
Member

FabianLars commented May 18, 2024

I didn't research this yet but my assumption is that either this permission is only relevant when you use some specific background apis while we're simply not exiting the app, or it's similar to other apis (like screen recording) where the permissions don't actually prevent anything and rely on the app devs to adhere to them, at least if distributed outside the app store.

Edit: Yeah, the screenshot really sound like separate background items/services and not just keeping the main app running but idk

@amrbashir amrbashir closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants