Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ abstract class JvmMacOSPlatformSettings : AbstractMacOSPlatformSettings() {
var dockName: String? = null
var setDockNameSameAsPackageName: Boolean = true
var appStore: Boolean = false
var entitlementsFile: RegularFileProperty = objects.fileProperty()
var runtimeEntitlementsFile: RegularFileProperty = objects.fileProperty()
val entitlementsFile: RegularFileProperty = objects.fileProperty()
val runtimeEntitlementsFile: RegularFileProperty = objects.fileProperty()
var pkgPackageVersion: String? = null
var pkgPackageBuildVersion: String? = null

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ compose.desktop {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)

packageVersion = "1.0.0"

val resourcesRoot = project.layout.projectDirectory.dir("resources")
macOS {
iconFile = resourcesRoot.file("icons/macos.icns")
entitlementsFile = resourcesRoot.file("entitlements.plist")
runtimeEntitlementsFile = resourcesRoot.file("entitlements.plist")
}

windows {
iconFile = resourcesRoot.file("icons/windows.ico")
}

linux {
iconFile = resourcesRoot.file("icons/linux.png")
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.assets.movies.read-only</key>
<true/>
<key>com.apple.security.assets.music.read-only</key>
<true/>
<key>com.apple.security.assets.pictures.read-only</key>
<true/>
<key>com.apple.security.files.downloads.read-only</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
</dict>
</plist>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading