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

Cho phép chạy nền khi khởi động #111

Open
ansidev opened this issue Oct 14, 2023 · 1 comment
Open

Cho phép chạy nền khi khởi động #111

ansidev opened this issue Oct 14, 2023 · 1 comment

Comments

@ansidev
Copy link

ansidev commented Oct 14, 2023

Cho phép ứng dụng chạy nền khi khởi động (không hiện bảng điều khiển)

@khanhicetea
Copy link

@huytd theo mình research thì thêm flag này vào Info.plist là app có thể chạy ngầm (không hiện Dock & Force Quit)

<key>LSUIElement</key>
<true/>
image

Tool cargo bundle hình như chưa hỗ trợ cấu hình custom flags cho Info.plist nên có khi phải dùng script để Inject vào trước khi Signing

https://github.com/burtonageo/cargo-bundle/blob/fd94ab531b4d7b0c9a8f029dd649156f0e733157/src/bundle/osx_bundle.rs#L78

Hope this help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants