Skip to content

Commit

Permalink
Merge pull request #5 from jamf/fix-adminfile-issue
Browse files Browse the repository at this point in the history
Fixed issue with creating profiles using admin files policy (Github i…
  • Loading branch information
cyrusingraham authored Oct 3, 2018
2 parents 6d66715 + 3a4a2c5 commit 159344d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<string>1.0.1</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>2</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
Expand Down
2 changes: 1 addition & 1 deletion Source/Model/Model.swift
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ extension Model {

if let policy = policyFromString(executable: executable, value: executable.adminFilesPolicyString) {
services.adminFiles = services.adminFiles ?? []
services.postEvent?.append(policy)
services.adminFiles?.append(policy)
}

if let policy = policyFromString(executable: executable, value: executable.allFilesPolicyString) {
Expand Down

0 comments on commit 159344d

Please sign in to comment.