<commit_before>@echo off
echo "Installing OpenFlex Board View"


echo "Configuration setup"
set OD=%APPDATA%\openboardview
IF exist "%OD%" (
		echo "Config install path already exists"
) else (
		echo "Creating config installation path %OD%..."
		mkdir "%OD%"
)
set ODC=%OD%\obv.conf
IF exist "%ODC%" (
	echo "Configuration file already exists, not overwriting"
) else (
	echo "Copying configuration file..."
	copy sample-obv.conf "%ODC%"
)



set PD=%HOMEPATH%\openboardview
IF exist "%PD%" (
		echo "Binary install path already exists"
) else (
		echo "Creating binary installation path %PD%..."
		mkdir "%PD%"
)
echo "Copying binary...
copy openboardview.exe "%PD%"



set LNK=%HOMEDRIVE%%HOMEPATH%\Desktop\openboardview.lnk
if exist "%LNK%" (
		echo "Desktop link already exists"
		) else (

echo Set oWS = WScript.CreateObject("WScript.Shell") > CreateShortcut.vbs
echo sLinkFile = "%LNK%" >> CreateShortcut.vbs
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> CreateShortcut.vbs
echo oLink.TargetPath = "%PD%" >> CreateShortcut.vbs
echo oLink.Save >> CreateShortcut.vbs

echo "Creating desktop link..."
cscript CreateShortcut.vbs
;;del CreateShortcut.vbs
)


echo "Install finished."
echo "You can now run the binary at %PD%"

echo

<commit_msg>Simple windows batch installer finished (for now)<commit_after>@echo off
echo Installing OpenFlex Board View


echo Configuration setup
set OD=%APPDATA%\openboardview
IF exist "%OD%" (
		echo Config install path already exists
) else (
		echo Creating config installation path %OD%...
		mkdir "%OD%"
)
set ODC=%OD%\obv.conf
IF exist "%ODC%" (
	echo Configuration file already exists, not overwriting
) else (
	echo Copying configuration file...
	copy sample-obv.conf "%ODC%"
)



set PD=%HOMEDRIVE%%HOMEPATH%\openboardview
IF exist "%PD%" (
		echo Binary install path already exists
) else (
		echo Creating binary installation path %PD%...
		mkdir "%PD%"
)
echo Copying binary...
copy openboardview.exe "%PD%"


set LNK=%HOMEDRIVE%%HOMEPATH%\Desktop\openboardview.lnk

echo Set oWS = WScript.CreateObject("WScript.Shell") > CreateShortcut.vbs
echo sLinkFile = "%LNK%" >> CreateShortcut.vbs
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> CreateShortcut.vbs
echo oLink.TargetPath = "%PD%\openboardview.exe" >> CreateShortcut.vbs
echo oLink.Save >> CreateShortcut.vbs

if exist "%LNK%" (
	echo Desktop link already exists
) else (
	echo Creating desktop link...
	cscript CreateShortcut.vbs
)

echo .
echo .
echo Install finished.
echo You can now run the binary at %PD%\openboardview.exe
echo Check for a link on the desktop too.
echo .
echo .
@echo on


{'fraction_non_alphanumeric': 0.12121212121212122, 'fraction_numerical': 0.0, 'mean_word_length': 4.467505241090147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '2424613', 'n_tokens_mistral': 905, 'n_tokens_neox': 836, 'n_words': 276}