Merge pull request #370 from Heasn/master

Fix some macOS new services issues
This commit is contained in:
RustDesk
2022-01-14 23:22:08 +08:00
committed by GitHub
8 changed files with 22 additions and 10 deletions

View File

@@ -342,6 +342,7 @@ div.trust-me > div:nth-child(1) {
}
div.trust-me > div:nth-child(2) {
text-align: center;
font-size: 0.9em;
margin-bottom: 1em;
}

View File

@@ -543,7 +543,7 @@ class ModifyDefaultLogin: Reactor.Component {
function watch_trust() {
// not use TrustMe::update, because it is buggy
var trusted = handler.is_process_trusted(false);
var trusted = handler.is_process_trusted(false) && handler.is_installed_daemon(false);
var el = $(div.trust-me);
if (el) {
el.style.set {