<commit_before>#!/bin/bash

cd ../../..

cd "Oxygen XML Author.app/Contents/"
plutil -replace CFBundleURLTypes -xml '<array><dict><key>CFBundleTypeRole</key><string>Viewer</string><key>CFBundleURLName</key><string>Webdav URL</string><key>CFBundleURLSchemes</key><array><string>webdav</string><string>webdavs</string></array></dict></array>' Info.plist

cd "../../Oxygen XML Editor.app/Contents/"
plutil -replace CFBundleURLTypes -xml '<array><dict><key>CFBundleTypeRole</key><string>Viewer</string><key>CFBundleURLName</key><string>Webdav URL</string><key>CFBundleURLSchemes</key><array><string>webdav</string><string>webdavs</string></array></dict></array>' Info.plist<commit_msg>make copy of "Oxygen XML Author.app" and "Oxygen XML Editor.app"<commit_after>#!/bin/bash

cd ../../..

#make copy
cp -nR "Oxygen XML Author.app/" "Oxygen XML Author backup.app/"
cp -nR "Oxygen XML Editor.app/" "Oxygen XML Editor backup.app/"

cd "Oxygen XML Author.app/Contents/"
plutil -replace CFBundleURLTypes -xml '<array><dict><key>CFBundleTypeRole</key><string>Viewer</string><key>CFBundleURLName</key><string>Webdav URL</string><key>CFBundleURLSchemes</key><array><string>webdav</string><string>webdavs</string></array></dict></array>' Info.plist

cd "../../Oxygen XML Editor.app/Contents/"
plutil -replace CFBundleURLTypes -xml '<array><dict><key>CFBundleTypeRole</key><string>Viewer</string><key>CFBundleURLName</key><string>Webdav URL</string><key>CFBundleURLSchemes</key><array><string>webdav</string><string>webdavs</string></array></dict></array>' Info.plist
{'fraction_non_alphanumeric': 0.19768190598840954, 'fraction_numerical': 0.0, 'mean_word_length': 7.051813471502591, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3706807', 'n_tokens_mistral': 519, 'n_tokens_neox': 502, 'n_words': 76}