mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 14:41:29 +08:00

* implement MacOS openFile/openFiles events * wip: windows file association * fix macro import * add file icon copy * try copy icon * keep only required part of scripts * update config schema * fix json * set fileAssociation for mac via config * proper iconName handling * add fileAssociation icon generator * fix file association icons bundle * don't break compatibility * remove mimeType as not supported linux for now * add documentation * adjust config schema * restore formatting * try implement single instance lock with params passing * fix focusing * fix focusing * formatting * use channel buffer for second instance events * handle errors * add comment * remove unused option in file association * wip: linux single instance lock * wip: linux single instance * some experiments with making window active * try to use unminimise * remove unused * try present for window * try present for window * fix build * cleanup * cleanup * implement single instance lock on mac os * implement proper show for windows * proper unmimimise * get rid of openFiles mac os. change configuration structure * remove unused channel * remove unused function * add documentation for single instance lock * add PR link * wip mac os deeplinks * put custom url listner on top to catch link on app opening * put custom url listner on top to catch link on app opening * try add custom url windows * adjust custom url * add docs * merge master * update documentation * add comment for darwin * add PR link * change naming * change naming * change naming * change naming * fix formatting * fix naming * Fix typo --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
69 lines
2.3 KiB
Plaintext
69 lines
2.3 KiB
Plaintext
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundlePackageType</key>
|
|
<string>APPL</string>
|
|
<key>CFBundleName</key>
|
|
<string>{{.Info.ProductName}}</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>{{.Name}}</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>com.wails.{{.Name}}</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>{{.Info.ProductVersion}}</string>
|
|
<key>CFBundleGetInfoString</key>
|
|
<string>{{.Info.Comments}}</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>{{.Info.ProductVersion}}</string>
|
|
<key>CFBundleIconFile</key>
|
|
<string>iconfile</string>
|
|
<key>LSMinimumSystemVersion</key>
|
|
<string>10.13.0</string>
|
|
<key>NSHighResolutionCapable</key>
|
|
<string>true</string>
|
|
<key>NSHumanReadableCopyright</key>
|
|
<string>{{.Info.Copyright}}</string>
|
|
{{if .Info.FileAssociations}}
|
|
<key>CFBundleDocumentTypes</key>
|
|
<array>
|
|
{{range .Info.FileAssociations}}
|
|
<dict>
|
|
<key>CFBundleTypeExtensions</key>
|
|
<array>
|
|
<string>{{.Ext}}</string>
|
|
</array>
|
|
<key>CFBundleTypeName</key>
|
|
<string>{{.Name}}</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>{{.Role}}</string>
|
|
<key>CFBundleTypeIconFile</key>
|
|
<string>{{.IconName}}</string>
|
|
</dict>
|
|
{{end}}
|
|
</array>
|
|
{{end}}
|
|
{{if .Info.Protocols}}
|
|
<key>CFBundleURLTypes</key>
|
|
<array>
|
|
{{range .Info.Protocols}}
|
|
<dict>
|
|
<key>CFBundleURLName</key>
|
|
<string>com.wails.{{.Scheme}}</string>
|
|
<key>CFBundleURLSchemes</key>
|
|
<array>
|
|
<string>{{.Scheme}}</string>
|
|
</array>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>{{.Role}}</string>
|
|
</dict>
|
|
{{end}}
|
|
</array>
|
|
{{end}}
|
|
<key>NSAppTransportSecurity</key>
|
|
<dict>
|
|
<key>NSAllowsLocalNetworking</key>
|
|
<true/>
|
|
</dict>
|
|
</dict>
|
|
</plist>
|