Skip to content

Commit

Permalink
Merge pull request waylybaye#11 from Kyle-Ye/optimus/kyle/open_panel
Browse files Browse the repository at this point in the history
Update openPanel’s default location
  • Loading branch information
waylybaye authored Oct 31, 2022
2 parents c0288c6 + dde6e77 commit 4815364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utils/FileHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class FileHelper {
openPanel.canChooseDirectories = true
openPanel.canCreateDirectories = false
openPanel.canChooseFiles = false
// openPanel.title = CHOOSE_DEVELOPER_DIR
openPanel.directoryURL = URL(fileURLWithPath: FileHelper.standard.getDefaultXcodePath())
openPanel.message = "\(CHOOSE_DEVELOPER_DIR)\n\(CHOOSE_DEVELOPER_DIR_TIP)"
openPanel.showsHiddenFiles = true
openPanel.begin { (result) -> Void in
Expand Down

0 comments on commit 4815364

Please sign in to comment.