Skip to content

Commit ce6c46e

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/dev_4.2.0'
2 parents 90270b3 + da95c68 commit ce6c46e

File tree

2 files changed

+50
-1
lines changed

2 files changed

+50
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"__preferencedomain": "io.macadmins.Outset",
3+
"options": {
4+
"remove_empty_properties": true
5+
},
6+
"title": "Outset (io.macadmins.Outset)",
7+
"description": "Outset automatically processes packages and scripts during the boot sequence, user logins, or on demand.",
8+
"properties": {
9+
"ignored_users": {
10+
"title": "Ignored Users",
11+
"description": "Exclude certain users from scripts that run in the login context (I.e. a local admin account or a static kiosk user).",
12+
"type": "array",
13+
"items": {
14+
"type": "string"
15+
}
16+
},
17+
"network_timeout": {
18+
"title": "Network Timeout",
19+
"description": "By default, during boot-once runs, Outset will wait for an active network connection before continuing. If that directory is populated, it would check every ten seconds for a valid network connection, timing out after a total of 180 seconds (three minutes) and skipping those items if no connection is successfully detected.",
20+
"type": "integer",
21+
"default": "180",
22+
"options": {
23+
"inputAttributes": {
24+
"placeholder": "180"
25+
}
26+
}
27+
},
28+
"wait_for_network": {
29+
"title": "Wait for Network",
30+
"description": "If you don't want Outset to wait for a valid network connection at all (and you don't want it to suppress the loginwindow process while running scripts) you can deliver a readable preference file with the wait_for_network value set to boolean false.",
31+
"type": "boolean",
32+
"default": true
33+
},
34+
"sha256sum": {
35+
"title": "Checksums",
36+
"description": "Enforce script integrity and ensure that only script that you want to run gets run. When used, every file to be processed must have a matching hash value. Absence of a hash value or value mismatch will prevent Outset from processing that file.",
37+
"type": "object",
38+
"additionalProperties": {
39+
"type": "string"
40+
}
41+
},
42+
"verbose_logging": {
43+
"title": "Verbose Logging",
44+
"description": "Enable verbose logging",
45+
"type": "boolean",
46+
"default": false
47+
}
48+
}
49+
}

Outset/Utils/FileUtils/Checksum.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func checksumAllFiles() {
7373
for case let fileURL as URL in enumerator {
7474
do {
7575
let fileAttributes = try fileURL.resourceValues(forKeys: [.isRegularFileKey])
76-
if fileAttributes.isRegularFile! && fileURL.pathExtension != "plist" && fileURL.lastPathComponent != "outset" {
76+
if fileAttributes.isRegularFile! && fileURL.pathExtension != "plist" && fileURL.lastPathComponent != "outset" && !fileURL.relativePath.contains(logFilePath) {
7777
if let shasum = sha256(for: fileURL) {
7878
printStdOut("\(fileURL.relativePath) : \(shasum)")
7979
shasumPlist.sha256sum[fileURL.relativePath] = shasum

0 commit comments

Comments
 (0)