From 34a7804c55f8cf3331e190a2ed4e82ff3999172b Mon Sep 17 00:00:00 2001 From: voidvon Date: Fri, 3 Apr 2026 18:51:43 +0800 Subject: [PATCH] chore(build): add macOS packaging files --- build/darwin/Info.plist | 63 +++++++++++++++++++++++++++ frontend/src/wailsjs/go/main/App.d.ts | 0 frontend/src/wailsjs/go/main/App.js | 0 frontend/src/wailsjs/go/models.ts | 0 4 files changed, 63 insertions(+) create mode 100644 build/darwin/Info.plist mode change 100644 => 100755 frontend/src/wailsjs/go/main/App.d.ts mode change 100644 => 100755 frontend/src/wailsjs/go/main/App.js mode change 100644 => 100755 frontend/src/wailsjs/go/models.ts diff --git a/build/darwin/Info.plist b/build/darwin/Info.plist new file mode 100644 index 00000000..d17a7475 --- /dev/null +++ b/build/darwin/Info.plist @@ -0,0 +1,63 @@ + + + + CFBundlePackageType + APPL + CFBundleName + {{.Info.ProductName}} + CFBundleExecutable + {{.OutputFilename}} + CFBundleIdentifier + com.wails.{{.Name}} + CFBundleVersion + {{.Info.ProductVersion}} + CFBundleGetInfoString + {{.Info.Comments}} + CFBundleShortVersionString + {{.Info.ProductVersion}} + CFBundleIconFile + iconfile + LSMinimumSystemVersion + 10.13.0 + NSHighResolutionCapable + true + NSHumanReadableCopyright + {{.Info.Copyright}} + {{if .Info.FileAssociations}} + CFBundleDocumentTypes + + {{range .Info.FileAssociations}} + + CFBundleTypeExtensions + + {{.Ext}} + + CFBundleTypeName + {{.Name}} + CFBundleTypeRole + {{.Role}} + CFBundleTypeIconFile + {{.IconName}} + + {{end}} + + {{end}} + {{if .Info.Protocols}} + CFBundleURLTypes + + {{range .Info.Protocols}} + + CFBundleURLName + com.wails.{{.Scheme}} + CFBundleURLSchemes + + {{.Scheme}} + + CFBundleTypeRole + {{.Role}} + + {{end}} + + {{end}} + + diff --git a/frontend/src/wailsjs/go/main/App.d.ts b/frontend/src/wailsjs/go/main/App.d.ts old mode 100644 new mode 100755 diff --git a/frontend/src/wailsjs/go/main/App.js b/frontend/src/wailsjs/go/main/App.js old mode 100644 new mode 100755 diff --git a/frontend/src/wailsjs/go/models.ts b/frontend/src/wailsjs/go/models.ts old mode 100644 new mode 100755