Welcome to mirror list, hosted at ThFree Co, Russian Federation.

icons.cmd « windows « build_files - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d51b27d895380937e4cc52a77a84db9f0a19ef46 (plain)
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
39
40
41
42
if EXIST "%PYTHON%" (
    goto detect_python_done
)

set PYTHON=%BLENDER_DIR%\..\lib\win64_vc15\python\39\bin\python.exe
if EXIST %PYTHON% (
    goto detect_python_done
)

echo python not found at %PYTHON%
exit /b 1

:detect_python_done
echo found python (%PYTHON%)

call "%~dp0\find_inkscape.cmd"

if EXIST "%INKSCAPE_BIN%" (
    goto detect_inkscape_done
)

echo unable to locate inkscape, run "set inkscape_BIN=full_path_to_inkscape.exe"
exit /b 1

:detect_inkscape_done

call "%~dp0\find_blender.cmd"

if EXIST "%BLENDER_BIN%" (
    goto detect_blender_done
)

echo unable to locate blender, run "set BLENDER_BIN=full_path_to_blender.exe"
exit /b 1

:detect_blender_done

%PYTHON% -B %BLENDER_DIR%\release\datafiles\blender_icons_update.py
%PYTHON% -B %BLENDER_DIR%\release\datafiles\prvicons_update.py
%PYTHON% -B %BLENDER_DIR%\release\datafiles\alert_icons_update.py

:EOF