File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 26.03
1+ 26.03.1
Original file line number Diff line number Diff line change 11@ echo off
2- setlocal
32cd /d " %~dp0 "
43
5- rem First launch: run Octave post-install to rebuild font cache and register packages
6- if not exist " .pidscope-initialized" (
7- echo Initializing PIDscope - please wait...
8- call octave\post-install.bat > nul 2 >& 1
9- echo . > .pidscope-initialized
10- echo Done. Launching PIDscope...
4+ set " OCT_HOME = %~dp0 octave\mingw64\"
5+ for %%I in (" %OCT_HOME% " ) do set " OCT_HOME = %%~sI "
6+
7+ set " PATH = %OCT_HOME% bin;%OCT_HOME% qt6\bin;%PATH% "
8+ set " QT_PLUGIN_PATH = %OCT_HOME% qt6\plugins"
9+ if not exist " %OCT_HOME% qt6\bin\" (
10+ set " QT_PLUGIN_PATH = %OCT_HOME% qt5\plugins"
11+ set " PATH = %OCT_HOME% qt5\bin;%PATH% "
1112)
1213
13- rem Launch PIDscope in Octave GUI
14- start " " " octave\mingw64\bin\octave-gui.exe" --gui --persist --eval " cd('%~dp0 app'); PIDscope"
14+ set " HOME = %USERPROFILE% "
15+ for %%I in (" %HOME% " ) do set " HOME = %%~sI "
16+
17+ set " OCTAVE_EXE = %OCT_HOME% bin\octave-gui.exe"
18+ if not exist " %OCTAVE_EXE% " (
19+ echo ERROR: Octave not found at: %OCTAVE_EXE%
20+ pause
21+ exit /b 1
22+ )
23+
24+ set " APP_PATH = %~dp0 app"
25+ for %%I in (" %APP_PATH% " ) do set " APP_PATH = %%~sI "
26+
27+ start " " " %OCTAVE_EXE% " --gui --persist --path " %APP_PATH% " --eval " PIDscope"
You can’t perform that action at this time.
0 commit comments