view installer-files/fc_update.bat @ 6622:1f6d83d95f96

Update octave-launch file version info for octave version (Bug #63740) * binary-dist-rules.mk: add rule to generate octave-launch.rc and use in launcher * installer-files/octave-launch.rc: rename to installer-files/octave-launch.rc.in
author John Donoghue <john.donoghue@ieee.org>
date Mon, 06 Feb 2023 12:52:34 -0500
parents e3fe651408f9
children
line wrap: on
line source

@echo off

REM Remove contents of cache directory including tmp and lock files (bug #45458)
del /Q /S %LOCALAPPDATA%\fontconfig\cache\ >nul 2>&1

set ROOT_DIR=%~dp0
if EXIST %ROOT_DIR%\mingw32\bin\octave-cli.exe set ROOT_DIR=%ROOT_DIR%\mingw32
if EXIST %ROOT_DIR%\mingw64\bin\octave-cli.exe set ROOT_DIR=%ROOT_DIR%\mingw64
echo "Updating fc-cache (may take a while) ..."
%ROOT_DIR%\bin\fc-cache.exe -v
echo "Done."