-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_visualizer.bat
More file actions
51 lines (45 loc) · 1000 Bytes
/
run_visualizer.bat
File metadata and controls
51 lines (45 loc) · 1000 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
39
40
41
42
43
44
45
46
47
48
49
50
51
<<<<<<< HEAD
@echo off
rem Simple launcher for Green Disk Visualizer (Alpha v0.1.1)
cd /d "%~dp0"
rem Prefer pythonw (no console window) over python
where pythonw >nul 2>nul
if %errorlevel%==0 (
start "" pythonw main.py
exit
)
where pyw >nul 2>nul
if %errorlevel%==0 (
start "" pyw main.py
exit
)
rem Fallback: use python (console may briefly appear, hidden by the app)
where python >nul 2>nul
if %errorlevel%==0 (
python main.py
) else (
py main.py
)
=======
@echo off
rem Simple launcher for Green Disk Visualizer (Alpha v0.1.1)
cd /d "%~dp0"
rem Prefer pythonw (no console window) over python
where pythonw >nul 2>nul
if %errorlevel%==0 (
start "" pythonw main.py
exit
)
where pyw >nul 2>nul
if %errorlevel%==0 (
start "" pyw main.py
exit
)
rem Fallback: use python (console may briefly appear, hidden by the app)
where python >nul 2>nul
if %errorlevel%==0 (
python main.py
) else (
py main.py
)
>>>>>>> b2ad4da (test)