From 8cbdaf000580a429e75bbd9c3321395ad59c3255 Mon Sep 17 00:00:00 2001 From: LyeedoO Date: Sun, 8 Apr 2018 13:17:37 +0300 Subject: [PATCH] types management --- Install.bat | 2 +- data/Build.bat | 2 +- data/BuildWithArgs.bat | 2 +- data/types_included.txt | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100755 data/types_included.txt diff --git a/Install.bat b/Install.bat index adc6d67..c856e02 100755 --- a/Install.bat +++ b/Install.bat @@ -5,7 +5,7 @@ rem Your AddonBuilder Path set "AddonBuilder=C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Tools\AddonBuilder\AddonBuilder.exe" rem ########################### -xcopy "%~dp0data\*.bat" "%appdata%\AddonBuilderContextualMenu" /Y /S /I /Q +xcopy "%~dp0data\*" "%appdata%\AddonBuilderContextualMenu" /Y /S /I /Q reg add "HKCU\Software\Classes\Directory\shell\AddonBuilderContextual" /VE /D "Build with AddonBuilder" /F reg add "HKCU\Software\Classes\Directory\shell\AddonBuilderContextual" /v "Icon" /D "%AddonBuilder%,0" /F diff --git a/data/Build.bat b/data/Build.bat index d3f2e89..0eb6834 100755 --- a/data/Build.bat +++ b/data/Build.bat @@ -1,3 +1,3 @@ @echo off -%1 %2 %~dp2 +%1 %2 "%~dp2\" -clear -include=%APPDATA%\AddonBuilderContextualMenu\types_included.txt diff --git a/data/BuildWithArgs.bat b/data/BuildWithArgs.bat index c81c55a..54608dc 100755 --- a/data/BuildWithArgs.bat +++ b/data/BuildWithArgs.bat @@ -1,3 +1,3 @@ @echo off -%1 %2 %~dp2 %3 +%1 %2 "%~dp2\" %3 -clear -include=%APPDATA%\AddonBuilderContextualMenu\types_included.txt diff --git a/data/types_included.txt b/data/types_included.txt new file mode 100755 index 0000000..60749f7 --- /dev/null +++ b/data/types_included.txt @@ -0,0 +1 @@ +*pac;*.paa;*.rtm;*.sqf;*.sqm;*.sqs;*.bikb;*.fsm;*.wss;*.ogg;*.wav;*.html;*.txt;*.wrp;*.bisurf;*.rvmat;*.hpp;*.ext;*.jpg;*.fxy;*.h;