diff --git a/build.py b/build.py
index 73ea8186d..42dc8d6de 100755
--- a/build.py
+++ b/build.py
@@ -545,13 +545,6 @@ def main():
'cp libsciter.dylib target/release/bundle/osx/RustDesk.app/Contents/MacOS/')
# https://github.com/sindresorhus/create-dmg
system2('/bin/rm -rf *.dmg')
- plist = "target/release/bundle/osx/RustDesk.app/Contents/Info.plist"
- txt = open(plist).read()
- with open(plist, "wt") as fh:
- fh.write(txt.replace("", """
- LSUIElement
- 1
- """))
pa = os.environ.get('P')
if pa:
system2('''
diff --git a/flutter/macos/Runner/Info.plist b/flutter/macos/Runner/Info.plist
index 96616e8c4..ff9322417 100644
--- a/flutter/macos/Runner/Info.plist
+++ b/flutter/macos/Runner/Info.plist
@@ -37,8 +37,6 @@
$(FLUTTER_BUILD_NUMBER)
LSMinimumSystemVersion
$(MACOSX_DEPLOYMENT_TARGET)
- LSUIElement
- 1
NSHumanReadableCopyright
$(PRODUCT_COPYRIGHT)
NSMainNibFile