Skip to content

Commit

Permalink
types management
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyeed committed Apr 8, 2018
1 parent f1fac9c commit 8cbdaf0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion data/Build.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off

%1 %2 %~dp2
%1 %2 "%~dp2\" -clear -include=%APPDATA%\AddonBuilderContextualMenu\types_included.txt
2 changes: 1 addition & 1 deletion data/BuildWithArgs.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off

%1 %2 %~dp2 %3
%1 %2 "%~dp2\" %3 -clear -include=%APPDATA%\AddonBuilderContextualMenu\types_included.txt
1 change: 1 addition & 0 deletions data/types_included.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*pac;*.paa;*.rtm;*.sqf;*.sqm;*.sqs;*.bikb;*.fsm;*.wss;*.ogg;*.wav;*.html;*.txt;*.wrp;*.bisurf;*.rvmat;*.hpp;*.ext;*.jpg;*.fxy;*.h;

0 comments on commit 8cbdaf0

Please sign in to comment.