JD2022-TU1/data/EngineData/Photoshop/photoshop.justdancetool/Installer.bat

28 lines
No EOL
752 B
Batchfile

@ECHO OFF
echo **********************
echo Checking if the linking is done and if not then linking the tool
echo **********************
SET TARGETPATH=%~dp0
SET LINKPATH="%appdata%/Adobe/CEP/extensions/jdtools"
mkdir "%appdata%/Adobe/CEP/extensions
REM Check if the SYM Link exists if not then create one
fsutil reparsepoint query "%LINKPATH%" | find "Symbolic Link" > nul && rd /s /q %LINKPATH%
MKLINK /D %LINKPATH% %TARGETPATH%
echo **********************
echo Setting the Photoshop env
echo **********************
REG ADD HKCU\Software\Adobe\CSXS.5 /v PlayerDebugMode /t REG_SZ /d 1 /f
REG ADD HKCU\Software\Adobe\CSXS.6 /v PlayerDebugMode /t REG_SZ /d 1 /f
echo **********************
echo Done Setting up
echo **********************
PAUSE