mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-27 02:40:51 +01:00
Debug bat file info
- Java version - C++ Redistributable - Hosts file - System type - G-Earth info & error (separate file)
This commit is contained in:
parent
b96000148f
commit
8357c5ac79
22
Debug/debug_info.bat
Normal file
22
Debug/debug_info.bat
Normal file
@ -0,0 +1,22 @@
|
||||
@echo off
|
||||
|
||||
echo --- Java > debug_info.txt
|
||||
echo [*] Getting Java version
|
||||
java -version 2>> debug_info.txt
|
||||
|
||||
echo --- C++ >> debug_info.txt
|
||||
echo [*] Getting C++ info
|
||||
wmic product get name | findstr Redistributable >> debug_info.txt
|
||||
|
||||
echo --- Hosts >> debug_info.txt
|
||||
echo [*] Getting Hosts info
|
||||
type C:\Windows\System32\Drivers\etc\hosts | findstr /v "^#" | findstr . >> debug_info.txt || echo File empty. >> debug_info.txt
|
||||
|
||||
echo --- System type >> debug_info.txt
|
||||
echo [*] Getting System info
|
||||
echo %PROCESSOR_ARCHITECTURE% >> debug_info.txt
|
||||
|
||||
echo --- G-Earth >> debug_info.txt
|
||||
echo [*] Opening G-Earth
|
||||
echo [!] Close the G-Earth window when your problem occur
|
||||
java -jar ../G-Earth.jar >> debug_info.txt 2> debug_error.txt
|
Loading…
Reference in New Issue
Block a user