Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalissaac committed Oct 16, 2022
1 parent 7865285 commit 2388188
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/bundle/osx_bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,22 +122,22 @@ fn create_info_plist(bundle_dir: &Path, bundle_icon_file: Option<PathBuf>,
if !settings.osx_url_schemes().is_empty() {
write!(file,
" <key>CFBundleURLTypes</key>\n \
<array>\n \
<dict>\n \
<key>CFBundleURLName</key>\n \
<string>{}</string>\n \
<key>CFBundleTypeRole</key>\n \
<string>Viewer</string>\n \
<key>CFBundleURLSchemes</key>\n \
<array>\n", settings.bundle_name())?;

<array>\n \
<dict>\n \
<key>CFBundleURLName</key>\n \
<string>{}</string>\n \
<key>CFBundleTypeRole</key>\n \
<string>Viewer</string>\n \
<key>CFBundleURLSchemes</key>\n \
<array>\n",
settings.bundle_name())?;
for scheme in settings.osx_url_schemes() {
write!(file, " <string>{}</string>\n", scheme)?;
}
write!(file,
" </array>\n \
</dict>\n \
</array>\n")?;
</array>\n")?;
}
write!(file,
" <key>CFBundleVersion</key>\n <string>{}</string>\n",
Expand Down

0 comments on commit 2388188

Please sign in to comment.