-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathStreamDeckPortFifine.bat
More file actions
27 lines (25 loc) · 1.03 KB
/
StreamDeckPortFifine.bat
File metadata and controls
27 lines (25 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@ECHO OFF
color f0
ECHO =============================
ECHO Running Admin shell
ECHO =============================
:checkPrivileges
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' ( goto gotPrivileges ) else ( goto getPrivileges )
:getPrivileges
:Not elevated, so re-run with elevation
powershell -Command "Start-Process cmd -ArgumentList '/c %~s0 %*' -Verb RunAs"
exit /b
)
:gotPrivileges
cls
ECHO Copying plugins from ElMeow to Fifine
xcopy "%AppData%\Elgato\StreamDeck\Plugins\" "%AppData%\HotSpot\StreamDock\plugins\" /d /e /c /i /k /o /y /r >nul 2>&1
ECHO Copying Icon Packs from ElMeow to Fifine
xcopy "%AppData%\Elgato\StreamDeck\IconPacks\" "%AppData%\HotSpot\StreamDock\icons\" /d /e /c /i /k /o /y /r >nul 2>&1
ECHO Clearing the Fifine store plugins cache
del /S /Q /F "%AppData%\HotSpot\StreamDock\storecache\storecache.json
ECHO Restarting the Fifine Control Deck Software
taskkill /f /IM "fifine control deck.EXE" >nul 2>&1
cd "C:\Program Files (x86)\fifine Control Deck"
"fifine Control Deck.exe"