Skip to content

Commit

Permalink
Revert "Remove embedded plist"
Browse files Browse the repository at this point in the history
This reverts commit 64a4580.
  • Loading branch information
dominicletz committed Oct 14, 2024
1 parent 64a4580 commit 979d850
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 18 deletions.
3 changes: 3 additions & 0 deletions erts/emulator/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ VOID_EMULATOR =
endif

OPSYS=@OPSYS@
ifeq ($(OPSYS),darwin)
LDFLAGS += -sectcreate __TEXT __info_plist "$(ERL_TOP)/erts/etc/darwin/Info.plist"
endif

sol2CFLAGS=
linuxCFLAGS=
Expand Down
63 changes: 45 additions & 18 deletions erts/etc/darwin/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,54 @@
<plist version="1.0">
<dict>
<key>CFBundleName</key>
<string>Erlang</string>
<key>CFBundleDisplayname</key>
<string>Erlang</string>
<string>dDrive</string>
<key>CFBundleDisplayName</key>
<string>dDrive</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<string>en</string>
<key>CFBundleExecutable</key>
<string>run</string>
<key>CFBundleIconFile</key>
<string>icons.icns</string>
<key>CFBundleIdentifier</key>
<string>org.erlang.beam</string>
<!-- <key>NSUserNotificationAlertStyle</key>
<string>alert</string> -->
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<string>io.diode.ddrive</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.13.4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.13.4</string>
<key>LSMinimumSystemVersion</key>
<string>10.12.0</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSUIElement</key>
<true/>
<key>LSMultipleInstancesProhibited</key>
<true/>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>LSArchitecturePriority</key>
<array>
<string>x86_64</string>
</array>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>CFBundleTypeName</key>
<string>All Files</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>public.data</string>
<string>public.content</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>

0 comments on commit 979d850

Please sign in to comment.