This package is a backup for the AppDMG
package, whose main function is to parse and modify the undocumented .DS_Store
files in the Mac operating system.
let package = Package(
...
dependencies: [
.package(url: "https://github.com/chocoford/DSStoreKit.git", branch: "main")
],
targets: [
.target(
...
dependencies: [
...
"DSStoreKit"
],
...
)
]
)
Menubar
- File
- Add Package Dependencies...
- type and search https://github.com/chocoford/DSStoreKit.git
import DSStoreKit
var dsStore = DSStore.create()
// make changes
// ...
try dsStore.save(to: ...)
let dsStore = try DSStore(url: ...)
// or
// let dsStore = try DSStore(path: ...)
print(dsStore)
- AppDMG - A swift package that enables creating DMG files programmatically.