<commit_before>#!/bin/bash
# This file must be saved in UTF-8


################################
# Uninstallations Methodes
################################
function remove5 {
	echo "Removing Jamoma";
	doRemove;
}

function doRemove {
	echo -ne "- Jamoma Installer Receipt"
	sudo rm -Rf "/Library/Receipts/Jamoma.pkg" && echo -ne "... done.\n"
	
	if [ -e "$C74Folder" ] ; then
		echo -ne "- Jamoma Modular Folder ($C74Folder/Jamoma/)"
		sudo rm -Rf "$C74Folder/Jamoma" && echo -ne "... done.\n"
		
		echo -ne "- Default Settings Files ($C74Folder/default-settings/)"
		sudo rm -f "$C74Folder/default-settings/"Jamoma* && echo -ne "... done.\n"
		
		echo -ne "- Default Definitions Files ($C74Folder/default-definitions/)"
		sudo rm -f "$C74Folder/default-definitions/"jcom* && echo -ne "... done.\n"
		
		echo -ne "- Extension File ($C74Folder/extensions/)"
		sudo rm -Rf "$C74Folder/extensions/"jcom* && echo -ne "... done.\n"    
		
#		echo -ne "- Java Class Files ($C74Folder/java/classes/cueManager)"
#		rm -Rf "$C74Folder/java/classes/cueManager" && echo -ne "... done.\n"
	
	else
		echo -ne "Sorry, $C74Folder doen't exist. can't uninstall Jamoma files.\n"
	fi
	

	if [ -e "$maxAppFolder" ] ; then
		
		echo -ne "- Extra Files ($maxAppFolder/patches/extras/)"
		sudo rm -f "$maxAppFolder/patches/extras/"jamoma* && echo -ne "... done.\n"
		
		echo -ne "- Template Files ($maxAppFolder/patches/templates/)"
		sudo rm -f "$maxAppFolder/patches/templates/"jmod* && echo -ne "... done.\n"
		sudo rm -f "$maxAppFolder/patches/templates/"jalg* && echo -ne "... done.\n"
		sudo rm -f "$maxAppFolder/patches/templates/"_Jamoma_Patcher_.maxpat && echo -ne "... done.\n"
		sudo rm -f "$maxAppFolder/patches/templates/"layout.xml && echo -ne "... done.\n"
		
	else
		echo -ne "Sorry, $maxAppFolder doesn't exist. Extra files can't be uninstalled.\n"
	fi

   if [ -e "$FrameworkFolder" ] ; then
		echo -ne "- Modular Framework ($FrameworkFolder/JamomaModular.framework)"
		sudo rm -Rf "$FrameworkFolder/JamomaModular.framework" && echo -ne "... done.\n" 
		echo -ne "- Graphics Framework ($FrameworkFolder/JamomaGraphics.framework)"
		sudo rm -Rf "$FrameworkFolder/JamomaGraphics.framework" && echo -ne "... done.\n"      
		echo -ne "- Multicore Framework ($FrameworkFolder/JamomaMulticore.framework)"
		sudo rm -Rf "$FrameworkFolder/JamomaMulticore.framework" && echo -ne "... done.\n"
	   
		if [ -e "$TapTools" ]; then
			echo -ne "It seems that Tap.Tools is installed. Therfore the files that are shared between Jamoma and Tap.Tools will remain.\n"<commit_msg>added Jamoma Graph framework to Uninstall script<commit_after>#!/bin/bash
# This file must be saved in UTF-8


################################
# Uninstallations Methodes
################################
function remove5 {
	echo "Removing Jamoma";
	doRemove;
}

function doRemove {
	echo -ne "- Jamoma Installer Receipt"
	sudo rm -Rf "/Library/Receipts/Jamoma.pkg" && echo -ne "... done.\n"
	
	if [ -e "$C74Folder" ] ; then
		echo -ne "- Jamoma Modular Folder ($C74Folder/Jamoma/)"
		sudo rm -Rf "$C74Folder/Jamoma" && echo -ne "... done.\n"
		
		echo -ne "- Default Settings Files ($C74Folder/default-settings/)"
		sudo rm -f "$C74Folder/default-settings/"Jamoma* && echo -ne "... done.\n"
		
		echo -ne "- Default Definitions Files ($C74Folder/default-definitions/)"
		sudo rm -f "$C74Folder/default-definitions/"jcom* && echo -ne "... done.\n"
		
		echo -ne "- Extension File ($C74Folder/extensions/)"
		sudo rm -Rf "$C74Folder/extensions/"jcom* && echo -ne "... done.\n"    
		
#		echo -ne "- Java Class Files ($C74Folder/java/classes/cueManager)"
#		rm -Rf "$C74Folder/java/classes/cueManager" && echo -ne "... done.\n"
	
	else
		echo -ne "Sorry, $C74Folder doen't exist. can't uninstall Jamoma files.\n"
	fi
	

	if [ -e "$maxAppFolder" ] ; then
		
		echo -ne "- Extra Files ($maxAppFolder/patches/extras/)"
		sudo rm -f "$maxAppFolder/patches/extras/"jamoma* && echo -ne "... done.\n"
		
		echo -ne "- Template Files ($maxAppFolder/patches/templates/)"
		sudo rm -f "$maxAppFolder/patches/templates/"jmod* && echo -ne "... done.\n"
		sudo rm -f "$maxAppFolder/patches/templates/"jalg* && echo -ne "... done.\n"
		sudo rm -f "$maxAppFolder/patches/templates/"_Jamoma_Patcher_.maxpat && echo -ne "... done.\n"
		sudo rm -f "$maxAppFolder/patches/templates/"layout.xml && echo -ne "... done.\n"
		
	else
		echo -ne "Sorry, $maxAppFolder doesn't exist. Extra files can't be uninstalled.\n"
	fi

   if [ -e "$FrameworkFolder" ] ; then
		echo -ne "- Modular Framework ($FrameworkFolder/JamomaModular.framework)"
		sudo rm -Rf "$FrameworkFolder/JamomaModular.framework" && echo -ne "... done.\n"
		echo -ne "- Graph Framework ($FrameworkFolder/JamomaGraph.framework)"
		sudo rm -Rf "$FrameworkFolder/JamomaGraph.framework" && echo -ne "... done.\n" 
		echo -ne "- Graphics Framework ($FrameworkFolder/JamomaGraphics.framework)"
		sudo rm -Rf "$FrameworkFolder/JamomaGraphics.framework" && echo -ne "... done.\n"      
		echo -ne "- Multicore Framework ($FrameworkFolder/JamomaMulticore.framework)"
		sudo rm -Rf "$FrameworkFolder/JamomaMulticore.framework" && echo -ne "... done.\n"
	   
		if [ -e "$TapTools" ]; then
			echo -ne "It seems that Tap.Tools is installed. Therfore the files that are shared between Jamoma and Tap.Tools will remain.\n"
{'fraction_non_alphanumeric': 0.18488503580851867, 'fraction_numerical': 0.00980022615906521, 'mean_word_length': 3.201900237529691, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4808166', 'n_tokens_mistral': 1962, 'n_tokens_neox': 1702, 'n_words': 487}