forked from leadweedy/Firefox-Proton-Square
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.cmd
More file actions
38 lines (25 loc) · 763 Bytes
/
Copy pathdeploy.cmd
File metadata and controls
38 lines (25 loc) · 763 Bytes
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
28
29
30
31
32
33
34
35
36
37
38
@echo off
cd /d %~dp0
SET FIREFOXPROFILE=%~1\chrome
IF NOT EXIST %FIREFOXPROFILE% (
echo Profile directory does not exist
exit /b 1
)
IF EXIST %FIREFOXPROFILE%\userChrome.css (
del %FIREFOXPROFILE%\userChrome.css
)
copy userChrome.css %FIREFOXPROFILE%\userChrome.css 1>nul
IF EXIST %FIREFOXPROFILE%\userContent.css (
del %FIREFOXPROFILE%\userContent.css
)
copy userContent.css %FIREFOXPROFILE%\userContent.css 1>nul
IF EXIST %FIREFOXPROFILE%\userVariables.css (
del %FIREFOXPROFILE%\userVariables.css
)
copy userVariables.css %FIREFOXPROFILE%\userVariables.css 1>nul
IF EXIST %FIREFOXPROFILE%\include (
rmdir /s /q %FIREFOXPROFILE%\include
)
xcopy include %FIREFOXPROFILE%\include /s /i /y 1>nul
echo CSS files copied to %FIREFOXPROFILE%
pause