Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tools/build-swiftly-release/BuildSwiftlyRelease.swift
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ struct BuildSwiftlyRelease: AsyncParsableCommand {
try runProgram("productbuild", "--synthesize", "--package", pkgFile.path, distFile.path)

var distFileContents = try String(contentsOf: distFile, encoding: .utf8)
distFileContents = distFileContents.replacingOccurrences(of: "<choices-outline>", with: "<domains enable_anywhere=\"false\" enable_currentUserHome=\"true\" enable_localSystem=\"false\"/><choices-outline>")
distFileContents = distFileContents.replacingOccurrences(of: "<choices-outline>", with: "<title>Swiftly</title><domains enable_anywhere=\"false\" enable_currentUserHome=\"true\" enable_localSystem=\"false\"/><choices-outline>")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Change this to swiftly with the lower-case 's' letter to match the convention used in documentation.

try distFileContents.write(to: distFile, atomically: true, encoding: .utf8)

if let cert = cert {
Expand Down