├── .gitattributes ├── .gitignore ├── README.md ├── Readme ├── title.png └── wspring.png ├── deprecated ├── build │ ├── build_boost.bat │ ├── build_dlib.bat │ ├── build_nana.bat │ ├── build_opencv3_mingw64_world_static.bat │ ├── build_opencv4_msvc14_world_static.bat │ ├── build_tesseract.bat │ └── deprecated_build_script │ │ ├── build_openblas_MSVC14.bat │ │ ├── build_openblas_MinGW64.bat │ │ ├── build_opencv_MSVC14_2.4.13.5_shared.bat │ │ ├── build_opencv_MSVC14_contrib_shared.bat │ │ ├── build_opencv_MSVC14_contrib_static.bat │ │ ├── build_opencv_MSVC14_contrib_static_nogpu.bat │ │ ├── build_opencv_MSVC14_world_shared.bat │ │ └── build_opencv_MinGW64_2.4.13.5_shared.bat ├── install_MinGW32.bat ├── install_bandizip_old.bat ├── install_cuda10.0.bat ├── install_cuda8.0.bat ├── install_cuda9.0.bat ├── install_cuda9.1.bat ├── install_cudnn7.1.bat ├── install_firefox56.bat ├── install_glog.bat ├── install_hdf5.bat ├── install_leveldb.bat ├── install_openBLAS.bat ├── install_opencv-latest(legacy).bat ├── install_opencv.bat ├── install_opencv_old.bat ├── install_python2.7.14.bat ├── install_tinyxml2.bat ├── install_vmware.bat ├── install_zlib.bat └── tests │ ├── OpenBLAS_Tests │ ├── OpenBLAS_Tests.sln │ ├── OpenBLAS_Tests.vcxproj │ ├── OpenBLAS_Tests.vcxproj.filters │ └── openblas_test.c │ ├── OpenCV_Tests │ ├── .vs │ │ └── OpenCV_Tests │ │ │ └── v14 │ │ │ └── .suo │ ├── OpenCV_Tests.sln │ ├── OpenCV_Tests.vcxproj │ ├── OpenCV_Tests.vcxproj.filters │ ├── opencv_test.cpp │ └── x64 │ │ └── Debug │ │ ├── OpenCV_Tests.exe │ │ ├── OpenCV_Tests.ilk │ │ ├── OpenCV_Tests.log │ │ ├── OpenCV_Tests.pdb │ │ ├── OpenCV_Tests.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── OpenCV_Tests.lastbuildstate │ │ ├── link.command.1.tlog │ │ ├── link.read.1.tlog │ │ └── link.write.1.tlog │ │ ├── opencv_test.obj │ │ ├── vc140.idb │ │ └── vc140.pdb │ ├── glog_Example │ ├── .vs │ │ └── glog_Example │ │ │ └── v14 │ │ │ └── .suo │ ├── glog_Example.sln │ ├── glog_Example.vcxproj │ ├── glog_Example.vcxproj.filters │ └── glog_example.cpp │ ├── opencv_test.c │ └── tinyxml2_test.cpp ├── enable_remote_desktop.bat ├── enable_wsl2.bat ├── git_fork_update.bat ├── git_pull.bat ├── git_upload.bat ├── img ├── B.png ├── HxD.png ├── atom.png ├── bandizip.png ├── bar_icon.ai ├── bomi.png ├── chrome-canary.png ├── chrome.png ├── chromium.png ├── circle_icon-uninstall.ai ├── circle_icon.ai ├── clion.png ├── clion_ver.png ├── clover.png ├── clover_ver.png ├── cmake.png ├── cmake_ver.png ├── cmd-onehalfdark.png ├── cmd-onehalflight.png ├── cmd-solarized-dark.png ├── cmd-solarized-light.png ├── cmd.png ├── cuda.png ├── cuda10.0_ver.png ├── cuda8.0_ver.png ├── cuda9.0_ver.png ├── cuda9.1_ver.png ├── cudnn7.1_ver.png ├── cudnn7.3.1_ver.png ├── depends.png ├── ditto.png ├── filezilla.png ├── firefox.png ├── firefox_ver.png ├── foxit-phantom.png ├── foxit.png ├── foxit_ver.png ├── git.png ├── git_ver.png ├── google.png ├── haroopad.png ├── haroopad_ver.png ├── hddb.png ├── hddb_ver.png ├── hdf5.png ├── honeycam.png ├── honeyview.png ├── java.png ├── java_ver.png ├── kakaotalk.png ├── mercurial.png ├── mingw64.png ├── mingw64_ver.png ├── notepad++.png ├── notepad++_ver.png ├── nvidia_ver2.png ├── office365.png ├── openblas.png ├── opencv.png ├── opencv2_ver.png ├── opencv3_ver.png ├── opera.png ├── pathcopycopy.png ├── perl.png ├── perl_ver.png ├── potplayer.png ├── python2.png ├── python2_ver.png ├── python3.png ├── python3_ver.png ├── rdp.png ├── rgb.txt ├── sharex.png ├── sharex_ver.png ├── speccy.png ├── teamviewer.png ├── tinyxml2.png ├── ubuntu.png ├── uninstall_onedrive.png ├── ver_latest.png ├── ver_manually_latest.png ├── vim.png ├── vmware.png ├── vs2015.png ├── vs2015_ver.png ├── vscode.png ├── waterfox.png ├── waterfox_ver.png ├── windows10.png ├── wsl.png └── zlib.png ├── install_HxD.bat ├── install_MinGW64.bat ├── install_atom.bat ├── install_bandizip.bat ├── install_bomi.bat ├── install_chrome.bat ├── install_chrome_canary.bat ├── install_chromium.bat ├── install_clion.bat ├── install_clover.bat ├── install_cmake.bat ├── install_cuda ├── install_cuda.bat ├── install_cudnn.bat ├── install_nvidia_driver.bat └── install_tensorrt.bat ├── install_dependency_walker.bat ├── install_ditto.bat ├── install_du.bat ├── install_filezilla.bat ├── install_foxit.bat ├── install_git.bat ├── install_haroopad.bat ├── install_hddb.bat ├── install_honeycam.bat ├── install_honeyview.bat ├── install_java.bat ├── install_kakaotalk.bat ├── install_mercurial.bat ├── install_notepad++.bat ├── install_office365.bat ├── install_opera.bat ├── install_pathcopycopy.bat ├── install_perl.bat ├── install_potplayer.bat ├── install_python3.bat ├── install_shareX.bat ├── install_speccy.bat ├── install_teamviewer.bat ├── install_terminal_theme.bat ├── install_vim.bat ├── install_visual_studio_2015_community.bat ├── install_visual_studio_code.bat ├── install_waterfox.bat ├── install_windows_terminal.bat ├── install_wsl.bat ├── setting ├── Notepad++Solarized (Dark).xml ├── Notepad++Solarized (Light).xml ├── ShareX-12.4.1-backup.sxb ├── ShareX-13.0.1-backup.sxb ├── VSI_bundle.exe ├── atom-synchronization.md ├── vs2015_solarized_dark.vssettings ├── vs2015_solarized_light.vssettings └── 산돌미생체(SDMiSaeng).ttf ├── src ├── CMake.md ├── L2W │ ├── getopt.c │ ├── getopt.h │ └── unistd.h ├── imw.c └── setw.cpp ├── uninstall_onedrive.bat ├── visual studio 2017 ├── Binggrae-Bold.ttf ├── Binggrae.ttf ├── ColorThemeEditor.vsix ├── Readme.md ├── vs2017-material-theme.vssettings ├── vs2017-material-theme.vstheme ├── vs2017-solarized-light-theme.vssettings └── vs_community__1772482806.1549290918.exe └── visual studio 2019 └── VSColorThemes.vsix /.gitattributes: -------------------------------------------------------------------------------- 1 | # Windows Batch File 2 | *.bat eol=crlf 3 | *.txt eol=crlf 4 | *.cpp eol=crlf 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | aipsb/ -------------------------------------------------------------------------------- /Readme/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/Readme/title.png -------------------------------------------------------------------------------- /Readme/wspring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/Readme/wspring.png -------------------------------------------------------------------------------- /deprecated/build/build_opencv3_mingw64_world_static.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: OpenCV3/MinGW64/World/Static 3 | :: WSpring 4 | :: 5 | :: Created by kimbom on 2018. 10. 28... 6 | :: Copyright 2017 kimbom. All rights reserved. 7 | :: 8 | @echo off 9 | call :AbsoluteDownloadCurl 10 | set name=build_opencv3_mingw64_world_static 11 | set opencv_version=3.4.0 12 | call :SafeRMDIR %name% 13 | mkdir %name% 14 | cd %name% 15 | curlw -L "https://github.com/opencv/opencv/archive/%opencv_version%.zip" -o "opencv-%opencv_version%.zip" 16 | powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('opencv-%opencv_version%.zip', '.'); }" 17 | mkdir build 18 | cd build 19 | cmake ../opencv-%opencv_version%^ 20 | -G "MinGW Makefiles"^ 21 | -DCMAKE_BUILD_TYPE=RELEASE^ 22 | -DCMAKE_INSTALL_PREFIX=build^ 23 | -DBUILD_DOCS=OFF^ 24 | -DBUILD_TESTS=OFF^ 25 | -DBUILD_PERF_TESTS=OFF^ 26 | -DBUILD_PACKAGE=OFF^ 27 | -DBUILD_IPP_IW=OFF^ 28 | -DBUILD_opencv_world=ON^ 29 | -DWITH_OPENMP=OFF^ 30 | -DWITH_CUDA=OFF^ 31 | -DWITH_OPENCL=OFF^ 32 | -DBUILD_SHARED_LIBS=OFF^ 33 | -DENABLE_PRECOMPILED_HEADERS=OFF^ 34 | -DWITH_OPENEXR=OFF^ 35 | -DBUILD_OPENEXR=OFF^ 36 | ; 37 | 38 | cmake --build . --config Release 39 | cmake --build . --target install 40 | pause 41 | exit /b 42 | 43 | ::https://stackoverflow.com/questions/46298845/building-opencv-3-3-using-mingw-make-gives-error-2-at-47 44 | :SafeRMDIR 45 | IF EXIST "%~1" ( 46 | RMDIR /S /Q "%~1" 47 | ) 48 | exit /b 49 | ::Download CURL 50 | :GetFileSize 51 | if exist %~1 set FILESIZE=%~z1 52 | if not exist %~1 set FILESIZE=-1 53 | exit /b 54 | :AbsoluteDownloadCurl 55 | :loop_adc1 56 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 57 | if %FILESIZE% neq 2070016 ( 58 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 59 | goto :loop_adc1 60 | ) 61 | :loop_adc2 62 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 63 | if %FILESIZE% neq 261889 ( 64 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 65 | goto :loop_adc2 66 | ) 67 | exit /b -------------------------------------------------------------------------------- /deprecated/build/build_opencv4_msvc14_world_static.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: OpenCV3/MinGW64/World/Static 3 | :: WSpring 4 | :: 5 | :: Created by kimbom on 2018. 10. 28... 6 | :: Copyright 2017 kimbom. All rights reserved. 7 | :: 8 | @echo off 9 | call :AbsoluteDownloadCurl 10 | set name=build_opencv4_msvc14_world_static 11 | set opencv_version=4.0.0 12 | call :SafeRMDIR %name% 13 | mkdir %name% 14 | cd %name% 15 | curlw -L "https://github.com/opencv/opencv/archive/%opencv_version%.zip" -o "opencv-%opencv_version%.zip" 16 | powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('opencv-%opencv_version%.zip', '.'); }" 17 | mkdir build 18 | cd build 19 | cmake ../opencv-%opencv_version%^ 20 | -G "Visual Studio 14 2015 Win64"^ 21 | -DCMAKE_BUILD_TYPE=RELEASE^ 22 | -DCMAKE_INSTALL_PREFIX=build^ 23 | -DBUILD_DOCS=OFF^ 24 | -DBUILD_TESTS=OFF^ 25 | -DBUILD_PERF_TESTS=OFF^ 26 | -DBUILD_PACKAGE=OFF^ 27 | -DBUILD_IPP_IW=OFF^ 28 | -DBUILD_opencv_world=ON^ 29 | -DWITH_OPENMP=OFF^ 30 | -DWITH_CUDA=OFF^ 31 | -DWITH_OPENCL=OFF^ 32 | -DBUILD_SHARED_LIBS=OFF^ 33 | -DENABLE_PRECOMPILED_HEADERS=OFF^ 34 | -DWITH_OPENEXR=OFF^ 35 | -DBUILD_OPENEXR=OFF^ 36 | ; 37 | 38 | cmake --build . --config Release --target ALL_BUILD 39 | cmake --build . --config Release --target INSTALL 40 | cmake --build . --config Debug --target ALL_BUILD 41 | cmake --build . --config Debug --target INSTALL 42 | pause 43 | exit /b 44 | 45 | ::https://stackoverflow.com/questions/46298845/building-opencv-3-3-using-mingw-make-gives-error-2-at-47 46 | :SafeRMDIR 47 | IF EXIST "%~1" ( 48 | RMDIR /S /Q "%~1" 49 | ) 50 | exit /b 51 | ::Download CURL 52 | :GetFileSize 53 | if exist %~1 set FILESIZE=%~z1 54 | if not exist %~1 set FILESIZE=-1 55 | exit /b 56 | :AbsoluteDownloadCurl 57 | :loop_adc1 58 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 59 | if %FILESIZE% neq 2070016 ( 60 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 61 | goto :loop_adc1 62 | ) 63 | :loop_adc2 64 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 65 | if %FILESIZE% neq 261889 ( 66 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 67 | goto :loop_adc2 68 | ) 69 | exit /b -------------------------------------------------------------------------------- /deprecated/build/build_tesseract.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | git clone --recursive https://github.com/peirick/VS2015_Tesseract 3 | cd VS2015_Tesseract 4 | powershell "(Get-Content build_tesseract.bat).replace('Platform=x86', 'Platform=x64') | Set-Content build_tesseract.bat" 5 | 6 | pushd %CD% 7 | cd tesseract_3.05\ccmain 8 | iconv -c -f UTF-8 -t UTF-16LE equationdetect.cpp > equationdetect.cpp.temp 9 | move /Y equationdetect.cpp.temp equationdetect.cpp 2>&1 >NUL 10 | popd 11 | 12 | call build_jbig2enc.bat 13 | call build_tesseract.bat 14 | 15 | 16 | 17 | 18 | pause 19 | exit /b 20 | 21 | 22 | ::https://github.com/DanBloomberg/leptonica/releases 23 | 24 | ::https://github.com/tesseract-ocr/tesseract 25 | 26 | 27 | 28 | ::http://copynull.tistory.com/160 29 | 30 | 31 | ::::::::::::::::::::::::::::::FUNCTION:::::::::::::::::::::::::::::: 32 | :DownloadIConv 33 | ::Do not use [where] command for search iconv. Because Strawberry has also iconv. 34 | if not exist "%WINDIR%\system32\iconv.exe" ( 35 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/iconv.exe" -o "%WINDIR%\system32\iconv.exe" 36 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libcharset1.dll" -o "%WINDIR%\SysWOW64\libcharset1.dll" 37 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libiconv2.dll" -o "%WINDIR%\SysWOW64\libiconv2.dll" 38 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libintl3.dll" -o "%WINDIR%\SysWOW64\libintl3.dll" 39 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/enca.exe" -o "%WINDIR%\system32\enca.exe" 40 | ) 41 | exit /b 42 | ::::::::::::::::::::::::::::::FUNCTION:::::::::::::::::::::::::::::: 43 | :ChangeEncoding 44 | set dst="include" 45 | set ascii=ASCII 46 | set utf8=UTF-8 47 | set unknown=unkno 48 | SETLOCAL EnableDelayedExpansion 49 | for /f "delims=" %%f in ('dir %dst% /a-d /s /b') do ( 50 | call enca -L none -e "%%f" > tmp.txt 51 | set /p encoding= "%%f.txt" 55 | move /Y "%%f.txt" "%%f" >nul 56 | ) 57 | if !encoding! EQU %utf8% ( 58 | 59 | ) 60 | if !encoding! EQU %unknown% ( 61 | iconv -c -f UTF-8 -t UTF-16LE "%%f" > "%%f.txt" 62 | move /Y "%%f.txt" "%%f" >nul 63 | ) 64 | del tmp.txt 65 | ) 66 | endlocal 67 | exit /b -------------------------------------------------------------------------------- /deprecated/build/deprecated_build_script/build_openblas_MSVC14.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: MSVC/build_openblas.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 01. 22... 6 | :: Copyright 2017 kimbomm. All rights reserved. 7 | :: 8 | mkdir build_openblas_MSVC14 9 | cd build_openblas_MSVC14 10 | git clone https://github.com/xianyi/OpenBLAS 11 | mkdir build 12 | cd build 13 | cmake ..\OpenBLAS^ 14 | -G "Visual Studio 14 2015 Win64"^ 15 | -DCMAKE_BUILD_TYPE=RELEASE^ 16 | -DCMAKE_INSTALL_PREFIX=build^ 17 | -DUSE_THREAD=0 18 | cmake --build . --config Release --target ALL_BUILD 19 | cmake --build . --config Release --target INSTALL 20 | pause 21 | exit /b 22 | -------------------------------------------------------------------------------- /deprecated/build/deprecated_build_script/build_openblas_MinGW64.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: MinGW64/build_openblas.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 01. 22... 6 | :: Copyright 2017 kimbomm. All rights reserved. 7 | :: 8 | mkdir build_openblas_MinGW64 9 | cd build_openblas_MinGW64 10 | git clone https://github.com/xianyi/OpenBLAS 11 | mkdir build 12 | cd build 13 | cmake ..\OpenBLAS^ 14 | -G "MinGW Makefiles"^ 15 | -DCMAKE_BUILD_TYPE=RELEASE^ 16 | -DCMAKE_INSTALL_PREFIX=build 17 | cmake --build . --config Release 18 | cmake --install . 19 | pause 20 | exit /b -------------------------------------------------------------------------------- /deprecated/build/deprecated_build_script/build_opencv_MSVC14_2.4.13.5_shared.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: MSVC14/build_opencv_MSVC14_2.4.13.5_shared.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbom on 2018. 01. 21... 6 | :: Copyright 2017 kimbom. All rights reserved. 7 | :: 8 | mkdir build_opencv_MSVC14_2.4.13.6_static2 9 | cd build_opencv_MSVC14_2.4.13.6_static2 10 | 11 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/opencv/opencv/archive/2.4.13.6.zip','opencv.zip')" 12 | 13 | powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('opencv.zip', '.'); }" 14 | DEL "opencv.zip" 15 | mkdir build 16 | cd build 17 | cmake ../opencv2.4.13.6^ 18 | -G "Visual Studio 14 2015 Win64"^ 19 | -DCMAKE_BUILD_TYPE=RELEASE^ 20 | -DCMAKE_INSTALL_PREFIX=build^ 21 | -DBUILD_DOCS=OFF^ 22 | -DBUILD_TESTS=OFF^ 23 | -DBUILD_PERF_TESTS=OFF^ 24 | -DBUILD_PACKAGE=OFF^ 25 | -DBUILD_IPP_IW=OFF^ 26 | -DBUILD_opencv_world=OFF^ 27 | -DWITH_OPENMP=OFF^ 28 | -DWITH_CUDA=OFF^ 29 | -DWITH_OPENCL=OFF^ 30 | -DBUILD_SHARED_LIBS=OFF^ 31 | -DENABLE_PRECOMPILED_HEADERS=OFF^ 32 | -DBUILD_opencv_python=OFF 33 | ; 34 | 35 | cmake --build . --config Release --target ALL_BUILD 36 | cmake --build . --config Release --target INSTALL 37 | cmake --build . --config Debug --target ALL_BUILD 38 | cmake --build . --config Debug --target INSTALL 39 | pause 40 | exit /b -------------------------------------------------------------------------------- /deprecated/build/deprecated_build_script/build_opencv_MSVC14_contrib_shared.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/build/deprecated_build_script/build_opencv_MSVC14_contrib_shared.bat -------------------------------------------------------------------------------- /deprecated/build/deprecated_build_script/build_opencv_MSVC14_contrib_static.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/build/deprecated_build_script/build_opencv_MSVC14_contrib_static.bat -------------------------------------------------------------------------------- /deprecated/build/deprecated_build_script/build_opencv_MSVC14_contrib_static_nogpu.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/build/deprecated_build_script/build_opencv_MSVC14_contrib_static_nogpu.bat -------------------------------------------------------------------------------- /deprecated/build/deprecated_build_script/build_opencv_MSVC14_world_shared.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: MSVC14/build_opencv_MSVC14_world_shared.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbom on 2018. 01. 21... 6 | :: Copyright 2017 kimbom. All rights reserved. 7 | :: 8 | mkdir build_opencv_MSVC14_world_shared 9 | cd build_opencv_MSVC14_world_shared 10 | git clone https://github.com/opencv/opencv 11 | git clone https://github.com/RLovelett/eigen 12 | mkdir build 13 | cd build 14 | cmake ../opencv^ 15 | -G "Visual Studio 14 2015 Win64"^ 16 | -DCMAKE_BUILD_TYPE=RELEASE^ 17 | -DCMAKE_INSTALL_PREFIX=build^ 18 | -DBUILD_DOCS=OFF^ 19 | -DBUILD_TESTS=OFF^ 20 | -DBUILD_PERF_TESTS=OFF^ 21 | -DBUILD_PACKAGE=OFF^ 22 | -DBUILD_IPP_IW=OFF^ 23 | -DBUILD_opencv_world=ON^ 24 | -DEIGEN_INCLUDE_PATH=../eigen^ 25 | -DWITH_OPENMP=OFF^ 26 | -DWITH_CUDA=OFF^ 27 | -DWITH_OPENCL=OFF^ 28 | -DBUILD_SHARED_LIBS=ON^ 29 | -DENABLE_PRECOMPILED_HEADERS=ON^ 30 | -DBUILD_opencv_python2=OFF^ 31 | -DBUILD_opencv_python3=ON^ 32 | -DPYTHON3_EXECUTABLE=C:/Python36/python3.exe^ 33 | -DPYTHON3_INCLUDE_DIR=C:/Python36/include^ 34 | -DPYTHON_LIBRARY=C:/Python36/libs/python36.lib^ 35 | -DPYTHON_NUMPY_INCLUDE_DIRS=C:/Python36/Lib/site-packages/numpy/core/include^ 36 | -DPYTHON_PACKAGES_PATH=C:/Python36/Lib/site-packages^ 37 | ; 38 | cmake --build . --config Release --target ALL_BUILD 39 | cmake --build . --config Release --target INSTALL 40 | cmake --build . --config Debug --target ALL_BUILD 41 | cmake --build . --config Debug --target INSTALL 42 | 43 | pause 44 | exit /b 45 | 46 | ::https://stackoverflow.com/questions/46298845/building-opencv-3-3-using-mingw-make-gives-error-2-at-47 -------------------------------------------------------------------------------- /deprecated/build/deprecated_build_script/build_opencv_MinGW64_2.4.13.5_shared.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: MinGW64/build_opencv_MinGW64_2.4.13.5_shared.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbom on 2018. 01. 05... 6 | :: Copyright 2017 kimbom. All rights reserved. 7 | :: 8 | mkdir build_opencv_MinGW64_2.4.13.5_shared 9 | cd build_opencv_MinGW64_2.4.13.5_shared 10 | 11 | powershell "(New-Object System.Net.WebClient).DownloadFile('https://www.dropbox.com/s/tcrapcv1epp8azv/opencv2.4.13.5.zip?dl=1','opencv.zip')" 12 | powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('opencv.zip', 'opencv'); }" 13 | DEL "opencv.zip" 14 | git clone https://github.com/RLovelett/eigen 15 | mkdir build 16 | cd build 17 | cmake ../opencv^ 18 | -G "MinGW Makefiles"^ 19 | -DCMAKE_BUILD_TYPE=RELEASE^ 20 | -DCMAKE_INSTALL_PREFIX=build^ 21 | -DBUILD_DOCS=OFF^ 22 | -DBUILD_TESTS=OFF^ 23 | -DBUILD_PERF_TESTS=OFF^ 24 | -DBUILD_PACKAGE=OFF^ 25 | -DBUILD_IPP_IW=OFF^ 26 | -DBUILD_opencv_world=OFF^ 27 | -DEIGEN_INCLUDE_PATH=../eigen^ 28 | -DWITH_OPENMP=OFF^ 29 | -DWITH_CUDA=OFF^ 30 | -DWITH_OPENCL=OFF^ 31 | -DBUILD_SHARED_LIBS=ON^ 32 | -DENABLE_PRECOMPILED_HEADERS=OFF^ 33 | -DBUILD_opencv_python=OFF 34 | ; 35 | 36 | cmake --build . --config Release 37 | cmake --build . --target install 38 | pause 39 | exit /b 40 | 41 | ::https://stackoverflow.com/questions/46298845/building-opencv-3-3-using-mingw-make-gives-error-2-at-47 -------------------------------------------------------------------------------- /deprecated/install_MinGW32.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_MinGW.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbom on 2017. 12. 16... 6 | :: Copyright 2017 kimbom. All rights reserved. 7 | :: 8 | 9 | @echo off 10 | 11 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 12 | 13 | if '%errorlevel%' NEQ '0' ( 14 | 15 | echo Get admin permission... 16 | 17 | goto UACPrompt 18 | 19 | ) else ( goto gotAdmin ) 20 | 21 | :UACPrompt 22 | 23 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 24 | 25 | set params = %*:"="" 26 | 27 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 28 | 29 | 30 | "%temp%\getadmin.vbs" 31 | 32 | rem del "%temp%\getadmin.vbs" 33 | 34 | exit /B 35 | 36 | 37 | :gotAdmin 38 | 39 | pushd "%CD%" 40 | 41 | CD /D "%~dp0" 42 | 43 | 44 | ::start 45 | echo Download MinGW 46 | powershell "(New-Object System.Net.WebClient).DownloadFile('https://www.dropbox.com/s/1gw4m5vb4i1nvay/MinGW.zip?dl=1','MinGW.zip')" 47 | echo "Unzip & Install MinGW" 48 | powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('MinGW.zip', 'C:\MinGW'); }" 49 | 50 | SETX PATH "%PATH%;C:\MinGW\bin\" /m 51 | ::SET PATH=%PATH%;C:\MinGW\bin\ 52 | 53 | DEL "MinGW.zip" 54 | echo Finish!! 55 | pause 56 | exit /b -------------------------------------------------------------------------------- /deprecated/install_bandizip_old.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/install_bandizip_old.bat -------------------------------------------------------------------------------- /deprecated/install_cuda10.0.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_cuda10.0.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 10. 26... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | pushd "%CD%" 27 | title install cuda10.0 28 | echo Downloading... 29 | 30 | curlw -L "https://github.com/springkim/WSpring/releases/download/cuda/cuda_10.0.130_411.31_win10.7z" -o "%TEMP%\cuda10.0.7z" 31 | 7z x "%TEMP%\cuda10.0.7z" -y -o"%TEMP%\cuda10_wsp" 32 | cd "%TEMP%\cuda10_wsp" 33 | move cuda_10.0* cuda10.0.exe 34 | echo Installing... 35 | 36 | call cuda10.0.exe -s -noreboot 37 | 38 | popd 39 | ::Encoding convert 40 | call :DownloadIConv 41 | ::ASCII -> Unicode 42 | set dst="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" 43 | set ascii=ASCII 44 | set utf8=UTF-8 45 | set unknown=unkno 46 | SETLOCAL EnableDelayedExpansion 47 | for /f "delims=" %%f in ('dir %dst% /a-d /s /b') do ( 48 | call enca -L none -e "%%f" > tmp.txt 49 | set /p encoding= "%%f.txt" 53 | move /Y "%%f.txt" "%%f" >nul 54 | ) 55 | if !encoding! EQU %utf8% ( 56 | iconv -c -f UTF-8 -t UTF-16LE "%%f" > "%%f.txt" 57 | move /Y "%%f.txt" "%%f" >nul 58 | ) 59 | if !encoding! EQU %unknown% ( 60 | iconv -c -f UTF-8 -t UTF-16LE "%%f" > "%%f.txt" 61 | move /Y "%%f.txt" "%%f" >nul 62 | ) 63 | del tmp.txt 64 | ) 65 | endlocal 66 | 67 | echo Finish!! 68 | pause 69 | exit /b 70 | :DownloadIConv 71 | ::Do not use [where] command for search iconv. Because Strawberry has also iconv. 72 | if not exist "%WINDIR%\system32\iconv.exe" ( 73 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/iconv.exe" -o "%WINDIR%\system32\iconv.exe" 74 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libcharset1.dll" -o "%WINDIR%\SysWOW64\libcharset1.dll" 75 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libiconv2.dll" -o "%WINDIR%\SysWOW64\libiconv2.dll" 76 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libintl3.dll" -o "%WINDIR%\SysWOW64\libintl3.dll" 77 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/enca.exe" -o "%WINDIR%\system32\enca.exe" 78 | ) 79 | exit /b 80 | 81 | ::Download CURL 82 | :GetFileSize 83 | if exist %~1 set FILESIZE=%~z1 84 | if not exist %~1 set FILESIZE=-1 85 | exit /b 86 | :AbsoluteDownloadCurl 87 | :loop_adc1 88 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 89 | if %FILESIZE% neq 2070016 ( 90 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 91 | goto :loop_adc1 92 | ) 93 | :loop_adc2 94 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 95 | if %FILESIZE% neq 261889 ( 96 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 97 | goto :loop_adc2 98 | ) 99 | exit /b 100 | 101 | ::Download 7Z 102 | :Download7z 103 | if not exist "%WINDIR%\system32\7z.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.exe" -o "%WINDIR%\system32\7z.exe" 104 | if not exist "%WINDIR%\system32\7z.dll" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.dll" -o "%WINDIR%\system32\7z.dll" 105 | exit /b -------------------------------------------------------------------------------- /deprecated/install_cuda8.0.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_cuda8.0.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 03. 23... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | pushd "%CD%" 28 | title install cuda8.0 29 | echo Downloading... 30 | 31 | curlw -L "https://github.com/springkim/WSpring/releases/download/cuda/cuda_8.0.61_win10.exe" -o "%TEMP%\cuda8.0.exe" 32 | curlw -L "https://github.com/springkim/WSpring/releases/download/cuda/cuda_8.0.61.2_windows.exe" -o "%TEMP%\cuda8.0_1.exe" 33 | 34 | echo Installing... 35 | cd "%TEMP%" 36 | call cuda8.0.exe -s -noreboot 37 | call cuda8.0_1.exe -s -noreboot 38 | ::del "%TEMP%\cuda8.0.exe" 39 | ::del "%TEMP%\cuda8.0_1.exe" 40 | popd 41 | ::Encoding convert 42 | call :DownloadIConv 43 | ::ASCII -> Unicode 44 | set dst="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" 45 | set ascii=ASCII 46 | set utf8=UTF-8 47 | set unknown=unkno 48 | SETLOCAL EnableDelayedExpansion 49 | for /f "delims=" %%f in ('dir %dst% /a-d /s /b') do ( 50 | call enca -L none -e "%%f" > tmp.txt 51 | set /p encoding= "%%f.txt" 55 | move /Y "%%f.txt" "%%f" >nul 56 | ) 57 | if !encoding! EQU %utf8% ( 58 | iconv -c -f UTF-8 -t UTF-16LE "%%f" > "%%f.txt" 59 | move /Y "%%f.txt" "%%f" >nul 60 | ) 61 | if !encoding! EQU %unknown% ( 62 | iconv -c -f UTF-8 -t UTF-16LE "%%f" > "%%f.txt" 63 | move /Y "%%f.txt" "%%f" >nul 64 | ) 65 | del tmp.txt 66 | ) 67 | endlocal 68 | 69 | echo Finish!! 70 | pause 71 | exit /b 72 | :DownloadIConv 73 | ::Do not use [where] command for search iconv. Because Strawberry has also iconv. 74 | if not exist "%WINDIR%\system32\iconv.exe" ( 75 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/iconv.exe" -o "%WINDIR%\system32\iconv.exe" 76 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libcharset1.dll" -o "%WINDIR%\SysWOW64\libcharset1.dll" 77 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libiconv2.dll" -o "%WINDIR%\SysWOW64\libiconv2.dll" 78 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libintl3.dll" -o "%WINDIR%\SysWOW64\libintl3.dll" 79 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/enca.exe" -o "%WINDIR%\system32\enca.exe" 80 | ) 81 | exit /b 82 | 83 | ::Download CURL 84 | :GetFileSize 85 | if exist %~1 set FILESIZE=%~z1 86 | if not exist %~1 set FILESIZE=-1 87 | exit /b 88 | :AbsoluteDownloadCurl 89 | :loop_adc1 90 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 91 | if %FILESIZE% neq 2070016 ( 92 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 93 | goto :loop_adc1 94 | ) 95 | :loop_adc2 96 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 97 | if %FILESIZE% neq 261889 ( 98 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 99 | goto :loop_adc2 100 | ) 101 | exit /b 102 | -------------------------------------------------------------------------------- /deprecated/install_cuda9.0.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_cuda9.0.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 05. 08... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | pushd "%CD%" 27 | title install cuda9.0 28 | echo Downloading... 29 | 30 | curlw -L "https://github.com/springkim/WSpring/releases/download/cuda/cuda_9.0.176_win10.exe" -o "%TEMP%\cuda9.0.exe" 31 | curlw -L "https://github.com/springkim/WSpring/releases/download/cuda/cuda_9.0.176.1_windows.exe" -o "%TEMP%\cuda9.0_1.exe" 32 | curlw -L "https://github.com/springkim/WSpring/releases/download/cuda/cuda_9.0.176.2_windows.exe" -o "%TEMP%\cuda9.0_2.exe" 33 | 34 | echo Installing... 35 | cd "%TEMP%" 36 | call cuda9.0.exe -s -noreboot 37 | call cuda9.0_1.exe -s -noreboot 38 | call cuda9.0_2.exe -s -noreboot 39 | del "%TEMP%\cuda9.0.exe" 40 | del "%TEMP%\cuda9.0_1.exe" 41 | del "%TEMP%\cuda9.0_2.exe" 42 | popd 43 | ::Encoding convert 44 | call :DownloadIConv 45 | ::ASCII -> Unicode 46 | set dst="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\include" 47 | set ascii=ASCII 48 | set utf8=UTF-8 49 | set unknown=unkno 50 | SETLOCAL EnableDelayedExpansion 51 | for /f "delims=" %%f in ('dir %dst% /a-d /s /b') do ( 52 | call enca -L none -e "%%f" > tmp.txt 53 | set /p encoding= "%%f.txt" 57 | move /Y "%%f.txt" "%%f" >nul 58 | ) 59 | if !encoding! EQU %utf8% ( 60 | iconv -c -f UTF-8 -t UTF-16LE "%%f" > "%%f.txt" 61 | move /Y "%%f.txt" "%%f" >nul 62 | ) 63 | if !encoding! EQU %unknown% ( 64 | iconv -c -f UTF-8 -t UTF-16LE "%%f" > "%%f.txt" 65 | move /Y "%%f.txt" "%%f" >nul 66 | ) 67 | del tmp.txt 68 | ) 69 | endlocal 70 | 71 | echo Finish!! 72 | pause 73 | exit /b 74 | :DownloadIConv 75 | ::Do not use [where] command for search iconv. Because Strawberry has also iconv. 76 | if not exist "%WINDIR%\system32\iconv.exe" ( 77 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/iconv.exe" -o "%WINDIR%\system32\iconv.exe" 78 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libcharset1.dll" -o "%WINDIR%\SysWOW64\libcharset1.dll" 79 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libiconv2.dll" -o "%WINDIR%\SysWOW64\libiconv2.dll" 80 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/libintl3.dll" -o "%WINDIR%\SysWOW64\libintl3.dll" 81 | curlw -L "https://github.com/springkim/WSpring/releases/download/bin/enca.exe" -o "%WINDIR%\system32\enca.exe" 82 | ) 83 | exit /b 84 | 85 | ::Download CURL 86 | :GetFileSize 87 | if exist %~1 set FILESIZE=%~z1 88 | if not exist %~1 set FILESIZE=-1 89 | exit /b 90 | :AbsoluteDownloadCurl 91 | :loop_adc1 92 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 93 | if %FILESIZE% neq 2070016 ( 94 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 95 | goto :loop_adc1 96 | ) 97 | :loop_adc2 98 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 99 | if %FILESIZE% neq 261889 ( 100 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 101 | goto :loop_adc2 102 | ) 103 | exit /b 104 | -------------------------------------------------------------------------------- /deprecated/install_cudnn7.1.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_cudnn7.1.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 05. 08... 6 | :: Copyright 2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | pushd "%CD%" 27 | title install cudnn7.1 28 | echo Downloading... 29 | cd %TEMP% 30 | nvcc -V | findstr /C:"release 8.0" > cuda_ver.txt 31 | set /p "ver80="<"cuda_ver.txt" 32 | if not "%ver80%" equ "" ( 33 | curlw -L "https://github.com/springkim/WSpring/releases/download/cudnn/cudnn-8.0-windows10-x64-v7.1.zip" -o "cudnn.zip" 34 | ) 35 | nvcc -V | findstr /C:"release 9.0" > cuda_ver.txt 36 | set /p "ver90="<"cuda_ver.txt" 37 | if not "%ver90%" equ "" ( 38 | curlw -L "https://github.com/springkim/WSpring/releases/download/cudnn/cudnn-9.0-windows10-x64-v7.1.zip" -o "cudnn.zip" 39 | ) 40 | nvcc -V | findstr /C:"release 9.1" > cuda_ver.txt 41 | set /p "ver91="<"cuda_ver.txt" 42 | if not "%ver91%" equ "" ( 43 | curlw -L "https://github.com/springkim/WSpring/releases/download/cudnn/cudnn-9.1-windows10-x64-v7.1.zip" -o "cudnn.zip" 44 | ) 45 | DEL cuda_ver.txt 46 | echo Installing... 47 | call :SafeRMDIR "%TEMP%\cuda" 48 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('cudnn.zip', '%TEMP%'); }" 49 | 50 | xcopy /Y "cuda\include\*.*" "%CUDA_PATH%\include\" /e /h /k 2>&1 >NUL 51 | xcopy /Y "cuda\lib\x64\*.*" "%CUDA_PATH%\lib\x64\" /e /h /k 2>&1 >NUL 52 | xcopy /Y "cuda\bin\*.*" "%CUDA_PATH%\bin\" /e /h /k 2>&1 >NUL 53 | call :SafeRMDIR "%TEMP%\cuda" 54 | DEL "cudnn.zip" 55 | echo Finish!! 56 | pause 57 | exit /b 58 | 59 | :SafeRMDIR 60 | IF EXIST "%~1" ( 61 | RMDIR /S /Q "%~1" 62 | ) 63 | exit /b 64 | 65 | ::Download CURL 66 | :GetFileSize 67 | if exist %~1 set FILESIZE=%~z1 68 | if not exist %~1 set FILESIZE=-1 69 | exit /b 70 | :AbsoluteDownloadCurl 71 | :loop_adc1 72 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 73 | if %FILESIZE% neq 2070016 ( 74 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 75 | goto :loop_adc1 76 | ) 77 | :loop_adc2 78 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 79 | if %FILESIZE% neq 261889 ( 80 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 81 | goto :loop_adc2 82 | ) 83 | exit /b 84 | -------------------------------------------------------------------------------- /deprecated/install_firefox56.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_firefox56.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 10... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::::::::::::install 27 | title install_firefox 28 | echo Downloading... 29 | curlw -L "https://github.com/springkim/WSpring/releases/download/program/Firefox.Setup.56.0.2.exe" -o "%TEMP%\firefox56.exe" 30 | 31 | echo Installing... 32 | "%TEMP%\firefox56.exe" -ms 33 | DEL "%TEMP%\firefox56.exe" 34 | echo Finish!! 35 | pause 36 | exit /b 37 | 38 | ::Download CURL 39 | :GetFileSize 40 | if exist %~1 set FILESIZE=%~z1 41 | if not exist %~1 set FILESIZE=-1 42 | exit /b 43 | :AbsoluteDownloadCurl 44 | :loop_adc1 45 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 46 | if %FILESIZE% neq 2070016 ( 47 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 48 | goto :loop_adc1 49 | ) 50 | :loop_adc2 51 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 52 | if %FILESIZE% neq 261889 ( 53 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 54 | goto :loop_adc2 55 | ) 56 | exit /b 57 | -------------------------------------------------------------------------------- /deprecated/install_opencv_old.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_opencv.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 01. 22... 6 | :: Copyright 2018 kimbomm. All rights reserved. 7 | :: 8 | 9 | @echo off 10 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 11 | if '%errorlevel%' NEQ '0' ( 12 | echo Get admin permission... 13 | goto UACPrompt 14 | ) else ( goto gotAdmin ) 15 | :UACPrompt 16 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 17 | set params = %*:"="" 18 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 19 | "%temp%\getadmin.vbs" 20 | rem del "%temp%\getadmin.vbs" 21 | exit /B 22 | :gotAdmin 23 | pushd "%CD%" 24 | CD /D "%~dp0" 25 | 26 | 27 | ::start 28 | echo install_opencv 29 | echo Downloading... 30 | cd %TEMP% 31 | powershell "(New-Object System.Net.WebClient).DownloadFile('https://www.dropbox.com/s/uh97fag1yie0o8p/opencv3.4.0%28wspring%29.zip?dl=1','opencv(wspring).zip')" 32 | echo Unzipping... 33 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('opencv(wspring).zip', 'opencv(wspring)'); }" 34 | echo Install opencv ... 35 | ::Set dlls 36 | del "C:\Windows\System32\opencv_*" >NUL 37 | del "C:\Windows\System32\libopencv_*" >NUL 38 | xcopy /Y "opencv(wspring)\MSVC14\bin\*.dll" "C:\Windows\System32\" >NUL 39 | xcopy /Y "opencv(wspring)\MinGW64\bin\*.dll" "C:\Windows\System32\" >NUL 40 | 41 | setlocal EnableDelayedExpansion 42 | set msvc[0]=14 43 | set msvc[1]=12 44 | set msvc[2]=11 45 | set msvc[3]=10 46 | FOR /L %%i in (0,1,3) do ( 47 | set version=!msvc[%%i]! 48 | set /A version2=version + 1 49 | if exist "C:\Program Files (x86)\Microsoft Visual Studio !version!.0\VC\include" ( 50 | echo Install opencv in Visual Studio 20!version2! 51 | call :SafeRMDIR "C:\Program Files (x86)\Microsoft Visual Studio !version!.0\VC\include\opencv" 52 | call :SafeRMDIR "C:\Program Files (x86)\Microsoft Visual Studio !version!.0\VC\include\opencv2" 53 | call :SafeRMDIR "C:\Program Files (x86)\Microsoft Visual Studio !version!.0\VC\lib\amd64\opencv" 54 | xcopy /Y "opencv(wspring)\MSVC14\include\*.*" "C:\Program Files (x86)\Microsoft Visual Studio !version!.0\VC\include" /e /h /k >NUL 55 | mkdir "C:\Program Files (x86)\Microsoft Visual Studio !version!.0\VC\lib\amd64\opencv\" 56 | xcopy /Y "opencv(wspring)\MSVC14\lib\*.lib" "C:\Program Files (x86)\Microsoft Visual Studio !version!.0\VC\lib\amd64\opencv\" >NUL 57 | ) 58 | ) 59 | if exist "C:\MinGW64\" ( 60 | echo Install opencv in MinGW64 61 | xcopy /Y "opencv(wspring)\MinGW64\include\*.*" "C:\MinGW64\x86_64-w64-mingw32\include" /e /h /k >NUL 62 | xcopy /Y "opencv(wspring)\MinGW64\lib\*.*" "C:\MinGW64\x86_64-w64-mingw32\lib" >NUL 63 | ) 64 | if exist "C:\python27\Lib\site-packages\" ( 65 | cd "C:\python27" 66 | echo Install opencv in Python2.7 67 | pip2 install numpy 68 | pip2 install matplotlib 69 | pip2 install opencv-python 70 | ) 71 | if exist "C:\python36\Lib\site-packages\" ( 72 | cd "C:\python36" 73 | echo Install opencv in Python3.6 74 | pip3 install numpy 75 | pip3 install matplotlib 76 | pip3 install opencv-python 77 | ) 78 | cd %TEMP% 79 | RMDIR /S /Q "opencv(wspring)" 80 | DEL "opencv(wspring).zip" 81 | echo Finish!! 82 | pause 83 | exit /b 84 | 85 | 86 | 87 | :SafeRMDIR 88 | IF EXIST "%~1" ( 89 | RMDIR /S /Q "%~1" 90 | ) 91 | exit /b 92 | -------------------------------------------------------------------------------- /deprecated/install_python2.7.14.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_python2.7.14.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 01. 22... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::start 26 | title install_python2.7.14 27 | echo Downloading... 28 | curlw -L "https://github.com/springkim/WSpring/releases/download/language/Python27.zip" -o "%TEMP%\Python27.zip" 29 | echo Unzipping... 30 | call :SafeRMDIR "C:\Python27" 31 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('%TEMP%\Python27.zip', 'C:\Python27'); }" 32 | call :DownloadSetw 33 | setw "C:\Python27\" 34 | setw "C:\Python27\Scripts" 35 | 36 | DEL "%TEMP%\Python27.zip" 37 | echo Finish!! 38 | pause 39 | exit /b 40 | 41 | 42 | :SafeRMDIR 43 | IF EXIST "%~1" ( 44 | RMDIR /S /Q "%~1" 45 | ) 46 | exit /b 47 | 48 | :DownloadSetw 49 | if not exist "%WINDIR%\system32\setw.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/setw.exe" -o "%WINDIR%\system32\setw.exe" 50 | exit /b 51 | 52 | ::Download CURL 53 | :GetFileSize 54 | if exist %~1 set FILESIZE=%~z1 55 | if not exist %~1 set FILESIZE=-1 56 | exit /b 57 | :AbsoluteDownloadCurl 58 | :loop_adc1 59 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 60 | if %FILESIZE% neq 2070016 ( 61 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 62 | goto :loop_adc1 63 | ) 64 | :loop_adc2 65 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 66 | if %FILESIZE% neq 261889 ( 67 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 68 | goto :loop_adc2 69 | ) 70 | exit /b 71 | -------------------------------------------------------------------------------- /deprecated/install_vmware.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_vmware.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 05. 24... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 26 | :: https://www.vmware.com/support/ws5/doc/ws_install_silent.html 27 | :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 28 | 29 | 30 | ::https://download3.vmware.com/software/player/file/VMware-player-15.0.0-10134415.exe 31 | ::start 32 | title install_vmware 33 | echo Downloading... 34 | set VMWARE=VMware-player-15.0.0-10134415.exe 35 | cd %TEMP% 36 | curlw -L "https://github.com/springkim/WSpring/releases/download/program/%VMWARE%" -o "%VMWARE%" 37 | echo Installing... 38 | start /wait %VMWARE% /s /v /qn 39 | DEL %VMWARE% 40 | 41 | echo Finish!! 42 | pause 43 | exit /b 44 | 45 | ::Download CURL 46 | :GetFileSize 47 | if exist %~1 set FILESIZE=%~z1 48 | if not exist %~1 set FILESIZE=-1 49 | exit /b 50 | :AbsoluteDownloadCurl 51 | :loop_adc1 52 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 53 | if %FILESIZE% neq 2070016 ( 54 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 55 | goto :loop_adc1 56 | ) 57 | :loop_adc2 58 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 59 | if %FILESIZE% neq 261889 ( 60 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 61 | goto :loop_adc2 62 | ) 63 | exit /b 64 | -------------------------------------------------------------------------------- /deprecated/tests/OpenBLAS_Tests/OpenBLAS_Tests.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OpenBLAS_Tests", "OpenBLAS_Tests.vcxproj", "{0436577F-2107-4275-B196-929022EEC62A}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {0436577F-2107-4275-B196-929022EEC62A}.Debug|x64.ActiveCfg = Debug|x64 17 | {0436577F-2107-4275-B196-929022EEC62A}.Debug|x64.Build.0 = Debug|x64 18 | {0436577F-2107-4275-B196-929022EEC62A}.Debug|x86.ActiveCfg = Debug|Win32 19 | {0436577F-2107-4275-B196-929022EEC62A}.Debug|x86.Build.0 = Debug|Win32 20 | {0436577F-2107-4275-B196-929022EEC62A}.Release|x64.ActiveCfg = Release|x64 21 | {0436577F-2107-4275-B196-929022EEC62A}.Release|x64.Build.0 = Release|x64 22 | {0436577F-2107-4275-B196-929022EEC62A}.Release|x86.ActiveCfg = Release|Win32 23 | {0436577F-2107-4275-B196-929022EEC62A}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /deprecated/tests/OpenBLAS_Tests/OpenBLAS_Tests.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 소스 파일 20 | 21 | 22 | -------------------------------------------------------------------------------- /deprecated/tests/OpenBLAS_Tests/openblas_test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | void Gemm_Time() { 6 | //[nxn] * [nxn] 7 | int n = 1000; 8 | float* A = (float*)calloc(n*n, sizeof(float)); 9 | float* B = (float*)calloc(n*n, sizeof(float)); 10 | float* C = (float*)calloc(n*n, sizeof(float)); 11 | for (int i = 0; i < n*n; i++) { 12 | A[i] = (float)rand() / RAND_MAX + rand(); 13 | B[i] = (float)rand() / RAND_MAX + rand(); 14 | } 15 | float t_beg = clock(); 16 | cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, n, n, n, 1.0F, A, n, B, n, 0.0F, C, n); 17 | float t_end = clock(); 18 | printf("time : %f\n", (t_end - t_beg) / CLOCKS_PER_SEC); 19 | printf("%f\n", C[0]); 20 | } 21 | void Gemm_Example() { 22 | float A[] = { 23 | 2.0F,2.0F,2.0F 24 | }; 25 | float B[] = { 26 | 1.0F 27 | ,2.0F 28 | ,3.0F 29 | }; 30 | float C[1]; 31 | 32 | cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, 1, 1, 3, 1.0F, A, 3, B, 1, 0.0F, C, 1); 33 | printf("%f\n", C[0]); 34 | } 35 | void Gemv_Example() { 36 | float X[] = { 37 | 1.0F 38 | ,2.0F 39 | ,3.0F 40 | ,4.0F 41 | }; 42 | float A[] = { 43 | 1.0F,1.0F,1.0F,1.0F 44 | ,2.0F,2.0F,2.0F,2.0F 45 | ,3.0F,3.0F,3.0F,3.0F 46 | }; 47 | int n = 4; 48 | int m = 3; 49 | float Y[3] = { 0 }; 50 | cblas_sgemv(CblasRowMajor, CblasNoTrans, m, n, 1.0F, A, n, X, 1, 0.0F, Y, 1); 51 | for (int i = 0; i < 3; i++) { 52 | printf("[%f]\n", Y[i]); 53 | } 54 | } 55 | void Dot_Example() { 56 | float X[] = {1.0F,2.0F,3.0F,4.0F}; 57 | float Y[] = { 1.0F,2.0F,3.0F,4.0F }; 58 | int n = 4; 59 | float dot=cblas_sdot(n, X, 1, Y, 1); 60 | printf("%f\n", dot); 61 | } 62 | void Axpy_Example() { 63 | float X[] = { 1.0F,2.0F,3.0F,4.0F }; 64 | float Y[4] = { 0 }; 65 | int n = 4; 66 | cblas_saxpy(n, 2.0F, X, 1, Y, 1); 67 | for (int i = 0; i < 4; i++) { 68 | printf("[%f]", Y[i]); 69 | } 70 | } 71 | int main() { 72 | Dot_Example(); 73 | Axpy_Example(); 74 | Gemv_Example(); 75 | Gemm_Example(); 76 | Gemm_Time(); 77 | return 0; 78 | } -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/.vs/OpenCV_Tests/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/.vs/OpenCV_Tests/v14/.suo -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/OpenCV_Tests.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OpenCV_Tests", "OpenCV_Tests.vcxproj", "{C0A69428-10A8-4C02-B94D-4AE95EF7D47D}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {C0A69428-10A8-4C02-B94D-4AE95EF7D47D}.Debug|x64.ActiveCfg = Debug|x64 17 | {C0A69428-10A8-4C02-B94D-4AE95EF7D47D}.Debug|x64.Build.0 = Debug|x64 18 | {C0A69428-10A8-4C02-B94D-4AE95EF7D47D}.Debug|x86.ActiveCfg = Debug|Win32 19 | {C0A69428-10A8-4C02-B94D-4AE95EF7D47D}.Debug|x86.Build.0 = Debug|Win32 20 | {C0A69428-10A8-4C02-B94D-4AE95EF7D47D}.Release|x64.ActiveCfg = Release|x64 21 | {C0A69428-10A8-4C02-B94D-4AE95EF7D47D}.Release|x64.Build.0 = Release|x64 22 | {C0A69428-10A8-4C02-B94D-4AE95EF7D47D}.Release|x86.ActiveCfg = Release|Win32 23 | {C0A69428-10A8-4C02-B94D-4AE95EF7D47D}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/OpenCV_Tests.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 소스 파일 20 | 21 | 22 | -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/opencv_test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main() { 3 | 4 | std::deque circles; 5 | for (int i = 0; i < 10; i++) { 6 | circles.push_back(cv::Vec6d(rand() % 500, rand() % 500, rand() % 250,rand()%255,rand()%255,rand()%255)); 7 | } 8 | while (true) { 9 | cv::Mat img = cv::Mat::zeros(500, 500, CV_8UC3) + cv::Scalar(255, 255, 255); 10 | for (auto&c : circles) { 11 | cv::circle(img, cv::Point(c[0], c[1]), c[2], cv::Scalar(c[3], c[4], c[5]), CV_FILLED, CV_AA); 12 | } 13 | cv::imshow("circles", img); 14 | if(cv::waitKey(100)==27)break; 15 | circles.pop_front(); 16 | circles.push_back(cv::Vec6d(rand() % 500, rand() % 500, rand() % 250, rand() % 255, rand() % 255, rand() % 255)); 17 | } 18 | } -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.exe -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.ilk -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.log: -------------------------------------------------------------------------------- 1 |  opencv_test.cpp 2 | c:\users\spring\documents\git\wspring\tests\opencv_tests\opencv_test.cpp(11): warning C4244: '인수': 'double'에서 'int'(으)로 변환하면서 데이터가 손실될 수 있습니다. 3 | OpenCV_Tests.vcxproj -> C:\Users\spring\Documents\Git\WSpring\tests\OpenCV_Tests\x64\Debug\OpenCV_Tests.exe 4 | OpenCV_Tests.vcxproj -> C:\Users\spring\Documents\Git\WSpring\tests\OpenCV_Tests\x64\Debug\OpenCV_Tests.pdb (Full PDB) 5 | -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.pdb -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/OpenCV_Tests.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v140:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=8.1 2 | Debug|x64|C:\Users\spring\Documents\Git\WSpring\tests\OpenCV_Tests\| 3 | -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/OpenCV_Tests.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/opencv_test.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/opencv_test.obj -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/vc140.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/vc140.idb -------------------------------------------------------------------------------- /deprecated/tests/OpenCV_Tests/x64/Debug/vc140.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/OpenCV_Tests/x64/Debug/vc140.pdb -------------------------------------------------------------------------------- /deprecated/tests/glog_Example/.vs/glog_Example/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/deprecated/tests/glog_Example/.vs/glog_Example/v14/.suo -------------------------------------------------------------------------------- /deprecated/tests/glog_Example/glog_Example.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glog_Example", "glog_Example.vcxproj", "{C779AAC8-40D2-4FF5-AE7A-1E1B85FE7C08}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {C779AAC8-40D2-4FF5-AE7A-1E1B85FE7C08}.Debug|x64.ActiveCfg = Debug|x64 17 | {C779AAC8-40D2-4FF5-AE7A-1E1B85FE7C08}.Debug|x64.Build.0 = Debug|x64 18 | {C779AAC8-40D2-4FF5-AE7A-1E1B85FE7C08}.Debug|x86.ActiveCfg = Debug|Win32 19 | {C779AAC8-40D2-4FF5-AE7A-1E1B85FE7C08}.Debug|x86.Build.0 = Debug|Win32 20 | {C779AAC8-40D2-4FF5-AE7A-1E1B85FE7C08}.Release|x64.ActiveCfg = Release|x64 21 | {C779AAC8-40D2-4FF5-AE7A-1E1B85FE7C08}.Release|x64.Build.0 = Release|x64 22 | {C779AAC8-40D2-4FF5-AE7A-1E1B85FE7C08}.Release|x86.ActiveCfg = Release|Win32 23 | {C779AAC8-40D2-4FF5-AE7A-1E1B85FE7C08}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /deprecated/tests/glog_Example/glog_Example.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 소스 파일 20 | 21 | 22 | -------------------------------------------------------------------------------- /deprecated/tests/glog_Example/glog_example.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int foo() { 3 | return 3; 4 | } 5 | int main() { 6 | google::InitGoogleLogging("Test"); 7 | google::SetLogDestination(google::GLOG_INFO, "./Test."); 8 | 9 | LOG(INFO) << "this is info logging"; 10 | LOG(WARNING) << "this is warning logging"; 11 | 12 | CHECK(foo() == 3) << "foo() is 3"; 13 | 14 | FLAGS_v = 1; 15 | VLOG(1) << "I'm printed when you run the program with --v=1 or higher"; 16 | VLOG(2) << "I'm printed when you run the program with --v=2 or higher"; 17 | 18 | google::ShutdownGoogleLogging(); 19 | return 0; 20 | } -------------------------------------------------------------------------------- /deprecated/tests/opencv_test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() { 4 | IplImage* img = cvCreateImage(cvSize(500, 500), IPL_DEPTH_8U, 1); 5 | memset(img->imageData, 0, img->widthStep*img->height); 6 | cvNamedWindow("img",CV_WINDOW_AUTOSIZE); 7 | cvShowImage("img", img); 8 | cvWaitKey(0); 9 | cvDestroyAllWindows(); 10 | return 0; 11 | } -------------------------------------------------------------------------------- /deprecated/tests/tinyxml2_test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main() { 3 | tinyxml2::XMLDocument xml; 4 | tinyxml2::XMLDeclaration* decl = xml.NewDeclaration(); 5 | tinyxml2::XMLElement* elem = xml.NewElement("Hello"); 6 | elem->LinkEndChild(xml.NewText("World")); 7 | xml.LinkEndChild(decl); 8 | xml.LinkEndChild(elem); 9 | xml.SaveFile("a.xml"); 10 | return 0; 11 | } -------------------------------------------------------------------------------- /enable_remote_desktop.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: enable_remote_desktop.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 05. 22... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | title enable_remote_desktop 25 | echo Setting... 26 | powershell "Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server' -Name 'fDenyTSConnections' -Type DWord -Value 0" 27 | powershell "Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name 'UserAuthentication' -Type DWord -Value 0" 28 | powershell "Enable-NetFirewallRule -Name 'RemoteDesktop*'" 29 | powershell "Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'fEnableVirtualizedGraphics' -Type DWord -Value 0" 30 | echo Finish!! 31 | pause 32 | exit /b -------------------------------------------------------------------------------- /enable_wsl2.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: enable_wsl2.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2020. 07. 20... 6 | :: Copyright 2020 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::start 26 | title enable_wsl2 27 | echo Setting... 28 | where wsl >nul 2>&1 29 | if %ERRORLEVEL% neq 0 ( 30 | powershell "dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart" 31 | powershell "dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart" 32 | echo Please restart your pc and run this script again. 33 | ) else ( 34 | curlw -L "https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi" -o "%TEMP%\wsl2_update_x64.msi" 35 | msiexec /i %TEMP%\wsl2_update_x64.msi /qb 36 | powershell "wsl --set-default-version 2" 37 | powershell "wsl --list --verbose" 38 | ) 39 | 40 | echo Finish!! 41 | pause 42 | exit /b 43 | 44 | ::Download CURL 45 | :GetFileSize 46 | if exist %~1 set FILESIZE=%~z1 47 | if not exist %~1 set FILESIZE=-1 48 | exit /b 49 | :AbsoluteDownloadCurl 50 | :loop_adc1 51 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 52 | if %FILESIZE% neq 2070016 ( 53 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 54 | goto :loop_adc1 55 | ) 56 | :loop_adc2 57 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 58 | if %FILESIZE% neq 261889 ( 59 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 60 | goto :loop_adc2 61 | ) 62 | exit /b -------------------------------------------------------------------------------- /git_fork_update.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | git config --get remote.origin.url > git_url.txt 3 | set /p "url="<"git_url.txt" 4 | 5 | if "%url%" == "" ( 6 | echo This directory is not git repository 7 | pause 8 | exit /b 9 | ) 10 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri '%url%' -UseBasicParsing;($HTML.Content) > gfu_html.txt" 11 | powershell "get-content gfu_html.txt -ReadCount 10000 | foreach { $_ -match 'forked from' } | out-file -encoding ascii gfu_url.txt" 12 | powershell "$SRC=get-content gfu_url.txt -ReadCount 1;[regex]::match($SRC,'()').Groups[1].Value | out-file -encoding ascii gfu_url2.txt" 13 | powershell "$SRC=get-content gfu_url2.txt -ReadCount 1;[regex]::match($SRC,'\"(.+)\"').Groups[1].Value | out-file -encoding ascii gfu_url3.txt" 14 | set /p "origin_url="<"gfu_url3.txt" 15 | 16 | DEL gfu_html.txt 17 | DEL git_url.txt 18 | DEL gfu_url.txt 19 | DEL gfu_url2.txt 20 | DEL gfu_url3.txt 21 | 22 | if "%origin_url%" == "" ( 23 | echo Failed to get origin repository 24 | pause 25 | exit /b 26 | ) 27 | 28 | git remote add upstream https://github.com%origin_url% 29 | git remote -v 30 | git fetch upstream 31 | git checkout master 32 | git merge upstream/master 33 | git push 34 | pause -------------------------------------------------------------------------------- /git_pull.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | git pull 3 | pause -------------------------------------------------------------------------------- /git_upload.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | title github upload 3 | set /p msg=Enter commit msg: 4 | git add -A 5 | git commit -m "%msg%" 6 | git push origin master 7 | pause -------------------------------------------------------------------------------- /img/B.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/B.png -------------------------------------------------------------------------------- /img/HxD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/HxD.png -------------------------------------------------------------------------------- /img/atom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/atom.png -------------------------------------------------------------------------------- /img/bandizip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/bandizip.png -------------------------------------------------------------------------------- /img/bar_icon.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/bar_icon.ai -------------------------------------------------------------------------------- /img/bomi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/bomi.png -------------------------------------------------------------------------------- /img/chrome-canary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/chrome-canary.png -------------------------------------------------------------------------------- /img/chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/chrome.png -------------------------------------------------------------------------------- /img/chromium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/chromium.png -------------------------------------------------------------------------------- /img/circle_icon-uninstall.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/circle_icon-uninstall.ai -------------------------------------------------------------------------------- /img/circle_icon.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/circle_icon.ai -------------------------------------------------------------------------------- /img/clion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/clion.png -------------------------------------------------------------------------------- /img/clion_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/clion_ver.png -------------------------------------------------------------------------------- /img/clover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/clover.png -------------------------------------------------------------------------------- /img/clover_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/clover_ver.png -------------------------------------------------------------------------------- /img/cmake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cmake.png -------------------------------------------------------------------------------- /img/cmake_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cmake_ver.png -------------------------------------------------------------------------------- /img/cmd-onehalfdark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cmd-onehalfdark.png -------------------------------------------------------------------------------- /img/cmd-onehalflight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cmd-onehalflight.png -------------------------------------------------------------------------------- /img/cmd-solarized-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cmd-solarized-dark.png -------------------------------------------------------------------------------- /img/cmd-solarized-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cmd-solarized-light.png -------------------------------------------------------------------------------- /img/cmd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cmd.png -------------------------------------------------------------------------------- /img/cuda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cuda.png -------------------------------------------------------------------------------- /img/cuda10.0_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cuda10.0_ver.png -------------------------------------------------------------------------------- /img/cuda8.0_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cuda8.0_ver.png -------------------------------------------------------------------------------- /img/cuda9.0_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cuda9.0_ver.png -------------------------------------------------------------------------------- /img/cuda9.1_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cuda9.1_ver.png -------------------------------------------------------------------------------- /img/cudnn7.1_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cudnn7.1_ver.png -------------------------------------------------------------------------------- /img/cudnn7.3.1_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/cudnn7.3.1_ver.png -------------------------------------------------------------------------------- /img/depends.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/depends.png -------------------------------------------------------------------------------- /img/ditto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/ditto.png -------------------------------------------------------------------------------- /img/filezilla.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/filezilla.png -------------------------------------------------------------------------------- /img/firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/firefox.png -------------------------------------------------------------------------------- /img/firefox_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/firefox_ver.png -------------------------------------------------------------------------------- /img/foxit-phantom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/foxit-phantom.png -------------------------------------------------------------------------------- /img/foxit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/foxit.png -------------------------------------------------------------------------------- /img/foxit_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/foxit_ver.png -------------------------------------------------------------------------------- /img/git.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/git.png -------------------------------------------------------------------------------- /img/git_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/git_ver.png -------------------------------------------------------------------------------- /img/google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/google.png -------------------------------------------------------------------------------- /img/haroopad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/haroopad.png -------------------------------------------------------------------------------- /img/haroopad_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/haroopad_ver.png -------------------------------------------------------------------------------- /img/hddb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/hddb.png -------------------------------------------------------------------------------- /img/hddb_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/hddb_ver.png -------------------------------------------------------------------------------- /img/hdf5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/hdf5.png -------------------------------------------------------------------------------- /img/honeycam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/honeycam.png -------------------------------------------------------------------------------- /img/honeyview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/honeyview.png -------------------------------------------------------------------------------- /img/java.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/java.png -------------------------------------------------------------------------------- /img/java_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/java_ver.png -------------------------------------------------------------------------------- /img/kakaotalk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/kakaotalk.png -------------------------------------------------------------------------------- /img/mercurial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/mercurial.png -------------------------------------------------------------------------------- /img/mingw64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/mingw64.png -------------------------------------------------------------------------------- /img/mingw64_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/mingw64_ver.png -------------------------------------------------------------------------------- /img/notepad++.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/notepad++.png -------------------------------------------------------------------------------- /img/notepad++_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/notepad++_ver.png -------------------------------------------------------------------------------- /img/nvidia_ver2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/nvidia_ver2.png -------------------------------------------------------------------------------- /img/office365.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/office365.png -------------------------------------------------------------------------------- /img/openblas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/openblas.png -------------------------------------------------------------------------------- /img/opencv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/opencv.png -------------------------------------------------------------------------------- /img/opencv2_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/opencv2_ver.png -------------------------------------------------------------------------------- /img/opencv3_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/opencv3_ver.png -------------------------------------------------------------------------------- /img/opera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/opera.png -------------------------------------------------------------------------------- /img/pathcopycopy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/pathcopycopy.png -------------------------------------------------------------------------------- /img/perl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/perl.png -------------------------------------------------------------------------------- /img/perl_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/perl_ver.png -------------------------------------------------------------------------------- /img/potplayer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/potplayer.png -------------------------------------------------------------------------------- /img/python2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/python2.png -------------------------------------------------------------------------------- /img/python2_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/python2_ver.png -------------------------------------------------------------------------------- /img/python3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/python3.png -------------------------------------------------------------------------------- /img/python3_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/python3_ver.png -------------------------------------------------------------------------------- /img/rdp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/rdp.png -------------------------------------------------------------------------------- /img/rgb.txt: -------------------------------------------------------------------------------- 1 | WSpring Blue : 30 162 221 2 | USpring Orange : 209 72 23 -------------------------------------------------------------------------------- /img/sharex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/sharex.png -------------------------------------------------------------------------------- /img/sharex_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/sharex_ver.png -------------------------------------------------------------------------------- /img/speccy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/speccy.png -------------------------------------------------------------------------------- /img/teamviewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/teamviewer.png -------------------------------------------------------------------------------- /img/tinyxml2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/tinyxml2.png -------------------------------------------------------------------------------- /img/ubuntu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/ubuntu.png -------------------------------------------------------------------------------- /img/uninstall_onedrive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/uninstall_onedrive.png -------------------------------------------------------------------------------- /img/ver_latest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/ver_latest.png -------------------------------------------------------------------------------- /img/ver_manually_latest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/ver_manually_latest.png -------------------------------------------------------------------------------- /img/vim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/vim.png -------------------------------------------------------------------------------- /img/vmware.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/vmware.png -------------------------------------------------------------------------------- /img/vs2015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/vs2015.png -------------------------------------------------------------------------------- /img/vs2015_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/vs2015_ver.png -------------------------------------------------------------------------------- /img/vscode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/vscode.png -------------------------------------------------------------------------------- /img/waterfox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/waterfox.png -------------------------------------------------------------------------------- /img/waterfox_ver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/waterfox_ver.png -------------------------------------------------------------------------------- /img/windows10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/windows10.png -------------------------------------------------------------------------------- /img/wsl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/wsl.png -------------------------------------------------------------------------------- /img/zlib.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/img/zlib.png -------------------------------------------------------------------------------- /install_HxD.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_HxD.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 11. 06... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_HxD 28 | echo Downloading... 29 | curlw -L "https://mh-nexus.de/downloads/HxDSetup.zip" -o "%TEMP%\HxDSetup.zip" 30 | 31 | cd /D %TEMP% 32 | echo Unzipping... 33 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('%TEMP%\HxDSetup.zip', '.'); }" 34 | 35 | start /wait HxDSetup.exe /VERYSILENT 36 | 37 | 38 | DEL "%TEMP%\HxDSetup.zip" 39 | echo Finish!! 40 | pause 41 | exit /b 42 | 43 | :SafeRMDIR 44 | IF EXIST "%~1" ( 45 | RMDIR /S /Q "%~1" 46 | ) 47 | exit /b 48 | 49 | ::Download CURL 50 | :GetFileSize 51 | if exist %~1 set FILESIZE=%~z1 52 | if not exist %~1 set FILESIZE=-1 53 | exit /b 54 | :AbsoluteDownloadCurl 55 | :loop_adc1 56 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 57 | if %FILESIZE% neq 2070016 ( 58 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 59 | goto :loop_adc1 60 | ) 61 | :loop_adc2 62 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 63 | if %FILESIZE% neq 261889 ( 64 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 65 | goto :loop_adc2 66 | ) 67 | exit /b 68 | -------------------------------------------------------------------------------- /install_MinGW64.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_MinGW64.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2017. 12. 16... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | call :DownloadSetw 26 | call :Download7z 27 | ::start 28 | cd /D %TEMP% 29 | title install_mingw64 30 | echo Downloading... 31 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://sourceforge.net/projects/mingw-w64/files/?source=navbar' -UseBasicParsing;($HTML.Links.href) > MinGW64_html.txt" 32 | powershell "get-content MinGW64_html.txt -ReadCount 10000 | foreach { $_ -match 'release-posix-seh-rt' } | out-file -encoding ascii MinGW64_url.txt" 33 | set /p "url="<"MinGW64_url.txt" 34 | curlw -k -L "%url%" -o "mingw64.7z" 35 | DEL "MinGW64_html.txt" 36 | DEL "MinGW64_url.txt" 37 | 38 | echo Unzipping... 39 | call :SafeRMDIR "%SystemDrive%\mingw64" 40 | 7z x "mingw64.7z" -y -o"%SystemDrive%\" 41 | setw "C:\mingw64\bin\" 42 | DEL "mingw64.7z" 43 | echo Finish!! 44 | pause 45 | exit /b 46 | 47 | :SafeRMDIR 48 | IF EXIST "%~1" ( 49 | RMDIR /S /Q "%~1" 50 | ) 51 | exit /b 52 | 53 | :Download7z 54 | if not exist "%WINDIR%\system32\7z.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.exe" -o "%WINDIR%\system32\7z.exe" 55 | if not exist "%WINDIR%\system32\7z.dll" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.dll" -o "%WINDIR%\system32\7z.dll" 56 | exit /b 57 | 58 | :DownloadSetw 59 | if not exist "%WINDIR%\system32\setw.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/setw.exe" -o "%WINDIR%\system32\setw.exe" 60 | exit /b 61 | 62 | ::Download CURL 63 | :GetFileSize 64 | if exist %~1 set FILESIZE=%~z1 65 | if not exist %~1 set FILESIZE=-1 66 | exit /b 67 | :AbsoluteDownloadCurl 68 | :loop_adc1 69 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 70 | if %FILESIZE% neq 2070016 ( 71 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 72 | goto :loop_adc1 73 | ) 74 | :loop_adc2 75 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 76 | if %FILESIZE% neq 261889 ( 77 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 78 | goto :loop_adc2 79 | ) 80 | exit /b -------------------------------------------------------------------------------- /install_atom.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_atom.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 18... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_atom 28 | echo Downloading... 29 | cd %TEMP% 30 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://github.com/atom/atom/releases/latest' -UseBasicParsing;($HTML.Links.href) > atom_latest.txt" 31 | powershell "get-content atom_latest.txt -ReadCount 1000 | foreach { $_ -match 'AtomSetup-x64' } | out-file -encoding ascii atom_url.txt" 32 | set /p "url="<"atom_url.txt" 33 | 34 | curlw -L "https://github.com%url%" -o "AtomSetup-x64.exe" 35 | echo Installing... 36 | start /wait AtomSetup-x64.exe --silent 37 | ::DEL "%TEMP%\AtomSetup-x64.exe" ::대기를 넣어도 삭제불가. 38 | DEL "%TEMP%\atom_latest.txt" 39 | DEL "%TEMP%\atom_url.txt" 40 | ::install uncrustify 41 | cd %TEMP% 42 | call :SafeRMDIR "%TEMP%\uncrustify" 43 | if exist "install_git.bat" ( 44 | call "install_git.bat" 45 | ) 46 | if exist "install_cmake.bat" ( 47 | call "install_cmake.bat" 48 | ) 49 | call :ProgramExistInit 50 | call :ProgramExistTest python 51 | call :ProgramExistTest cmake 52 | call :ProgramExistTest git 53 | 54 | if %PEI% EQU 0 ( 55 | call :SafeRMDIR "%TEMP%\uncrustify" 56 | git clone https://github.com/uncrustify/uncrustify 57 | cd uncrustify 58 | mkdir build 59 | cd build 60 | cmake -DCMAKE_BUILD_TYPE=RELEASE .. 61 | cmake --build . --config Release 62 | move Release\uncrustify.exe "%SystemDrive%\Windows\System32" 63 | call :SafeRMDIR "%TEMP%\uncrustify" 64 | ::install cfg files 65 | md C:\Atom 66 | powershell "(New-Object System.Net.WebClient).DownloadFile('https://gist.githubusercontent.com/springkim/756f0aa50ee265f28e2465e83f70b613/raw/531e6e7fee132c86a4f03dbfca4d2c19660a3f71/uncrustify-cpp.cfg','C:\Atom\uncrustify-cpp.cfg')" 67 | ) 68 | 69 | echo Finish!! 70 | pause 71 | exit /b 72 | 73 | :SafeRMDIR 74 | IF EXIST "%~1" ( 75 | RMDIR /S /Q "%~1" 76 | ) 77 | exit /b 78 | 79 | ::Download CURL 80 | :GetFileSize 81 | if exist %~1 set FILESIZE=%~z1 82 | if not exist %~1 set FILESIZE=-1 83 | exit /b 84 | :AbsoluteDownloadCurl 85 | :loop_adc1 86 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 87 | if %FILESIZE% neq 2070016 ( 88 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 89 | goto :loop_adc1 90 | ) 91 | :loop_adc2 92 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 93 | if %FILESIZE% neq 261889 ( 94 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 95 | goto :loop_adc2 96 | ) 97 | exit /b 98 | :ProgramExistInit 99 | set PEI=0 100 | exit /b 101 | :ProgramExistTest 102 | where %~1 >nul 2>&1 103 | set /a PEI=%PEI%+%ERRORLEVEL% 104 | exit /b -------------------------------------------------------------------------------- /install_bandizip.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_bandizip.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 03... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_bandizip 28 | echo Downloading... 29 | powershell "Set-ExecutionPolicy RemoteSigned -Force" 30 | 31 | curlw -L "https://www.bandisoft.co.kr/bandizip/dl.php?web" -o "%TEMP%\BANDIZIP-SETUP-KR.EXE" 32 | 33 | echo Installing... 34 | cd /D %TEMP% 35 | start /wait BANDIZIP-SETUP-KR.EXE /S 36 | DEL "%TEMP%\BANDIZIP-SETUP-KR.EXE" 37 | echo Finish!! 38 | pause 39 | exit /b 40 | ::Power shell hidden option 41 | ::https://stackoverflow.com/questions/1802127/how-to-run-a-powershell-script-without-displaying-a-window 42 | 43 | ::power shell run on admin 44 | ::https://social.technet.microsoft.com/Forums/ie/en-US/acf70a31-ceb4-4ea5-bac1-be2b25eb5560/how-to-run-as-admin-powershellps1-file-calling-in-batch-file?forum=winserverpowershell 45 | 46 | ::powershell mouse event 47 | ::https://stackoverflow.com/questions/39353073/how-i-can-send-mouse-click-in-powershell 48 | 49 | ::Download CURL 50 | :GetFileSize 51 | if exist %~1 set FILESIZE=%~z1 52 | if not exist %~1 set FILESIZE=-1 53 | exit /b 54 | :AbsoluteDownloadCurl 55 | :loop_adc1 56 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 57 | if %FILESIZE% neq 2070016 ( 58 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 59 | goto :loop_adc1 60 | ) 61 | :loop_adc2 62 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 63 | if %FILESIZE% neq 261889 ( 64 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 65 | goto :loop_adc2 66 | ) 67 | exit /b 68 | -------------------------------------------------------------------------------- /install_bomi.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_bomi.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 14... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_bomi 28 | echo Downloading... 29 | 30 | curlw -L "https://github.com/springkim/WSpring/releases/download/program/bomi.zip" -o "%TEMP%\bomi-64bit.7z" 31 | echo Installing... 32 | call :Download7z 33 | 7z x "%TEMP%\bomi-64bit.7z" -y -o"%SystemDrive%\Program Files\" 34 | 35 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\bomi.lnk');$s.TargetPath='%SystemDrive%\Program Files\bomi\bomi.exe';$s.Save()" 36 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%USERPROFILE%\Desktop\bomi.lnk');$s.TargetPath='%SystemDrive%\Program Files\bomi.exe';$s.Save()" 37 | 38 | DEL "%TEMP%\bomi-64bit.7z" 39 | echo Finish!! 40 | pause 41 | exit /b 42 | 43 | ::Download 7Z 44 | :Download7z 45 | if not exist "%WINDIR%\system32\7z.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.exe" -o "%WINDIR%\system32\7z.exe" 46 | if not exist "%WINDIR%\system32\7z.dll" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.dll" -o "%WINDIR%\system32\7z.dll" 47 | exit /b 48 | 49 | ::Download CURL 50 | :GetFileSize 51 | if exist %~1 set FILESIZE=%~z1 52 | if not exist %~1 set FILESIZE=-1 53 | exit /b 54 | :AbsoluteDownloadCurl 55 | :loop_adc1 56 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 57 | if %FILESIZE% neq 2070016 ( 58 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 59 | goto :loop_adc1 60 | ) 61 | :loop_adc2 62 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 63 | if %FILESIZE% neq 261889 ( 64 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 65 | goto :loop_adc2 66 | ) 67 | exit /b 68 | -------------------------------------------------------------------------------- /install_chrome.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_chrome.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 03. 24... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::start 26 | title install_chrome 27 | echo Downloading... 28 | curlw -L "https://github.com/springkim/WSpring/releases/download/program/ChromeSetup.exe" -o "%TEMP%\ChromeSetup.exe" 29 | echo Installing... 30 | cd /D %TEMP% 31 | call ChromeSetup.exe /silent /install 32 | del "%TEMP%\ChromeSetup.exe" 33 | echo Finish!! 34 | pause 35 | 36 | ::Download CURL 37 | :GetFileSize 38 | if exist %~1 set FILESIZE=%~z1 39 | if not exist %~1 set FILESIZE=-1 40 | exit /b 41 | :AbsoluteDownloadCurl 42 | :loop_adc1 43 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 44 | if %FILESIZE% neq 2070016 ( 45 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 46 | goto :loop_adc1 47 | ) 48 | :loop_adc2 49 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 50 | if %FILESIZE% neq 261889 ( 51 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 52 | goto :loop_adc2 53 | ) 54 | exit /b 55 | -------------------------------------------------------------------------------- /install_chrome_canary.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_chrome.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 03. 24... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::start 26 | title install_chrome 27 | echo Downloading... 28 | curlw -L "https://github.com/springkim/WSpring/releases/download/program/ChromeCanarySetup.exe" -o "%TEMP%\ChromeCanarySetup.exe" 29 | echo Installing... 30 | cd /D %TEMP% 31 | call ChromeCanarySetup.exe /silent /install 32 | del "%TEMP%\ChromeCanarySetup.exe" 33 | echo Finish!! 34 | pause 35 | 36 | ::Download CURL 37 | :GetFileSize 38 | if exist %~1 set FILESIZE=%~z1 39 | if not exist %~1 set FILESIZE=-1 40 | exit /b 41 | :AbsoluteDownloadCurl 42 | :loop_adc1 43 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 44 | if %FILESIZE% neq 2070016 ( 45 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 46 | goto :loop_adc1 47 | ) 48 | :loop_adc2 49 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 50 | if %FILESIZE% neq 261889 ( 51 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 52 | goto :loop_adc2 53 | ) 54 | exit /b 55 | -------------------------------------------------------------------------------- /install_chromium.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_chrominum.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2020. 01. 09... 6 | :: Copyright 2017-2021 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::start 26 | title install_chrome 27 | echo Downloading... 28 | curlw -L "https://commondatastorage.googleapis.com/chromium-browser-snapshots/Win_x64/841562/chrome-win.zip" -o "%TEMP%\Chromium.zip" 29 | echo Unzipping... 30 | call :SafeRMDIR "%SystemDrive%\Program Files\Chromium" 31 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('%TEMP%\Chromium.zip', '%SystemDrive%\Program Files\Chromium'); }" 32 | echo Installing... 33 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Chromium.lnk');$s.TargetPath='%SystemDrive%\Program Files\Chromium\chrome-win\chrome.exe';$s.Save()" 34 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%USERPROFILE%\Desktop\Chromium.lnk');$s.TargetPath='%SystemDrive%\Program Files\Chromium\chrome-win\chrome.exe';$s.Save()" 35 | pause 36 | 37 | 38 | :SafeRMDIR 39 | IF EXIST "%~1" ( 40 | RMDIR /S /Q "%~1" 41 | ) 42 | exit /b 43 | ::Download CURL 44 | :GetFileSize 45 | if exist %~1 set FILESIZE=%~z1 46 | if not exist %~1 set FILESIZE=-1 47 | exit /b 48 | :AbsoluteDownloadCurl 49 | :loop_adc1 50 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 51 | if %FILESIZE% neq 2070016 ( 52 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 53 | goto :loop_adc1 54 | ) 55 | :loop_adc2 56 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 57 | if %FILESIZE% neq 261889 ( 58 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 59 | goto :loop_adc2 60 | ) 61 | exit /b 62 | -------------------------------------------------------------------------------- /install_clover.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_clover.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 14... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_clover 28 | 29 | call :AbsoluteDownloadHtmlAgilityPack 30 | powershell "cd $env:temp;$wc = New-Object System.Net.WebClient;$html=$wc.DownloadString('http://en.ejie.me/');add-type -Path %WINDIR%\System32\HtmlAgilityPack.dll;$doc = New-Object HtmlAgilityPack.HtmlDocument;$doc.LoadHtml($html);$doc.DocumentNode.SelectSingleNode('html').SelectSingleNode('body').SelectSingleNode('div').SelectSingleNode('div').SelectSingleNode('div').SelectSingleNode('div').SelectSingleNode('div').InnerText -replace ' ','' > clover_tags.txt;" 31 | powershell "cd $env:temp;get-content clover_tags.txt -ReadCount 1000 | foreach { $_ -match '^[0-9\.]+' | out-file -encoding ascii clover_ver.txt }" 32 | 33 | set /p "VER="<"%TEMP%\clover_ver.txt" 34 | echo "http://cn.ejie.me/uploads/setup_clover@%VER%.exe" 35 | curlw -L "http://cn.ejie.me/uploads/setup_clover@%VER%.exe" -o "%TEMP%\clover.exe" 36 | 37 | echo Installing... 38 | cd /D %TEMP% 39 | start /wait clover.exe /S 40 | echo Finish!! 41 | pause 42 | exit /b 43 | 44 | ::http://en.ejie.me/ 45 | ::http://cn.ejie.me/uploads/setup_clover@3.4.3.exe 46 | ::https://social.msdn.microsoft.com/Forums/en-US/eaadff1f-7bfc-49be-9e9a-3139c3dbe473/invoke-web-request-return-empty-parsed-html-field 47 | ::Download CURL 48 | :GetFileSize 49 | if exist %~1 set FILESIZE=%~z1 50 | if not exist %~1 set FILESIZE=-1 51 | exit /b 52 | :AbsoluteDownloadCurl 53 | :loop_adc1 54 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 55 | if %FILESIZE% neq 2070016 ( 56 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 57 | goto :loop_adc1 58 | ) 59 | :loop_adc2 60 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 61 | if %FILESIZE% neq 261889 ( 62 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 63 | goto :loop_adc2 64 | ) 65 | exit /b 66 | :AbsoluteDownloadHtmlAgilityPack 67 | :loop_adhap 68 | call :GetFileSize "%SystemRoot%\System32\HtmlAgilityPack.dll" 69 | if %FILESIZE% neq 134656 ( 70 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/HtmlAgilityPack.dll','%WINDIR%\System32\HtmlAgilityPack.dll')" 71 | goto :loop_adhap 72 | ) 73 | exit /b 74 | -------------------------------------------------------------------------------- /install_cmake.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_cmake.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02 22... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::start 26 | title install_cmake 27 | pushd "%CD%" 28 | echo Downloading... 29 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://cmake.org/download/' -UseBasicParsing;($HTML.Links.href) > %TEMP%\parse_cmake.txt" 30 | ::find win64-x64.zip 31 | powershell "get-content %TEMP%\parse_cmake.txt -ReadCount 1000 | foreach { $_ -match 'win64-x64.zip' } | out-file -encoding ascii %TEMP%\parse_cmake1.txt" 32 | ::without RC version 33 | powershell "get-content %TEMP%\parse_cmake1.txt -ReadCount 1000 | foreach { $_ -notMatch 'rc' } | out-file -encoding ascii %TEMP%\parse_cmake2.txt" 34 | 35 | set /p "url="<"%TEMP%\parse_cmake2.txt" 36 | ::echo %url% 37 | 38 | curlw -L "%url%" -o "%TEMP%\CMake.zip" 39 | echo Unzipping... 40 | call :SafeRMDIR "%SystemDrive%\Program Files\CMake" 41 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('%TEMP%\CMake.zip', '%SystemDrive%\Program Files\CMake'); }" 42 | echo Installing... 43 | CD /D "%SystemDrive%\Program Files\CMake" 44 | CD /D cmake* 45 | move bin ..\ 46 | move doc ..\ 47 | move man ..\ 48 | move share ..\ 49 | popd 50 | call :DownloadSetw 51 | setw "C:\Program Files\CMake\bin" 52 | DEL "%TEMP%\CMake.zip" 53 | DEL "%TEMP%\parse_cmake.txt" 54 | DEL "%TEMP%\parse_cmake1.txt" 55 | DEL "%TEMP%\parse_cmake2.txt" 56 | 57 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\cmake-gui.lnk');$s.TargetPath='%SystemDrive%\Program Files\CMake\bin\cmake-gui.exe';$s.Save()" 58 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%USERPROFILE%\Desktop\cmake-gui.lnk');$s.TargetPath='%SystemDrive%\Program Files\CMake\bin\cmake-gui.exe';$s.Save()" 59 | 60 | echo Finish!! 61 | pause 62 | exit /b 63 | 64 | :SafeRMDIR 65 | IF EXIST "%~1" ( 66 | RMDIR /S /Q "%~1" 67 | ) 68 | exit /b 69 | 70 | :DownloadSetw 71 | if not exist "%WINDIR%\system32\setw.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/setw.exe" -o "%WINDIR%\system32\setw.exe" 72 | exit /b 73 | 74 | ::Download CURL 75 | :GetFileSize 76 | if exist %~1 set FILESIZE=%~z1 77 | if not exist %~1 set FILESIZE=-1 78 | exit /b 79 | :AbsoluteDownloadCurl 80 | :loop_adc1 81 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 82 | if %FILESIZE% neq 2070016 ( 83 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 84 | goto :loop_adc1 85 | ) 86 | :loop_adc2 87 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 88 | if %FILESIZE% neq 261889 ( 89 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 90 | goto :loop_adc2 91 | ) 92 | exit /b 93 | -------------------------------------------------------------------------------- /install_cuda/install_cudnn.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_cudnn7.3.1.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 10. 08... 6 | :: Modified by kimbomm on 2019. 02. 13... 7 | :: Copyright 2018 kimbomm. All rights reserved. 8 | :: 9 | <# : 10 | @echo off 11 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 12 | if '%errorlevel%' NEQ '0' ( 13 | echo Get admin permission... 14 | goto UACPrompt 15 | ) else ( goto gotAdmin ) 16 | :UACPrompt 17 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 18 | set params = %*:"="" 19 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 20 | "%temp%\getadmin.vbs" 21 | rem del "%temp%\getadmin.vbs" 22 | exit /B 23 | :gotAdmin 24 | pushd "%CD%" 25 | CD /D "%~dp0" 26 | 27 | pushd "%CD%" 28 | title install_cudnn 29 | echo Please download and select the correct version of cudnn zip file. If the version is different, it may not work. 30 | 31 | set CUDNNZIP="" 32 | 33 | for /f "delims=" %%I in ('powershell -noprofile "iex (${%~f0} | out-string)"') do ( 34 | set CUDNNZIP=%%~I 35 | ) 36 | if not exist "%CUDNNZIP%" ( 37 | echo No file selected. 38 | pause 39 | exit /b 40 | ) 41 | 42 | echo %CUDNNZIP% 43 | 44 | echo Installing... 45 | call :SafeRMDIR "%TEMP%\cuda" 46 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('%CUDNNZIP%', '%TEMP%'); }" 47 | cd /D %TEMP% 48 | 49 | call :GetCudaPath 50 | echo %cudapath% 51 | 52 | xcopy /Y "cuda\include\*.*" "%cudapath%\include\" /e /h /k 2>&1 >NUL 53 | xcopy /Y "cuda\lib\x64\*.*" "%cudapath%\lib\x64\" /e /h /k 2>&1 >NUL 54 | xcopy /Y "cuda\bin\*.*" "%cudapath%\bin\" /e /h /k 2>&1 >NUL 55 | call :SafeRMDIR "%TEMP%\cuda" 56 | 57 | echo Finish!! 58 | pause 59 | exit /b 60 | 61 | :SafeRMDIR 62 | IF EXIST "%~1" ( 63 | RMDIR /S /Q "%~1" 64 | ) 65 | exit /b 66 | ::::::::::::::::::::::::::::::FUNCTION:::::::::::::::::::::::::::::: 67 | :GetCudaPath 68 | where nvcc > "%temp%\nvccpath.txt" 69 | if "%ERRORLEVEL%" eq "0" ( 70 | pushd %CD% 71 | set /p "nvccpath="<"%TEMP%\nvccpath.txt" 72 | For %%A in ("%nvccpath%") do (set cudapath=%%~dpA) 73 | echo %cudapath% 74 | set cudapath=%cudapath%\.. 75 | cd /D %cudapath% 76 | set cudapath=%CD% 77 | echo %cudapath% 78 | popd 79 | ) else ( 80 | echo No Cuda 81 | exit 82 | ) 83 | ::https://stackoverflow.com/questions/15885132/file-folder-chooser-dialog-from-a-windows-batch-script 84 | : #> 85 | 86 | Add-Type -AssemblyName System.Windows.Forms 87 | $f = new-object Windows.Forms.OpenFileDialog 88 | $f.InitialDirectory = pwd 89 | $f.Filter = "cudnn zip files (*.zip)|*.zip" 90 | $f.ShowHelp = $true 91 | $f.Multiselect = $false 92 | [void]$f.ShowDialog() 93 | if ($f.Multiselect) { $f.FileNames } else { $f.FileName } 94 | -------------------------------------------------------------------------------- /install_cuda/install_nvidia_driver.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_nvidia_driver.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 03. 23... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install nvidia driver 28 | echo Downloading... 29 | curlw -L "https://github.com/springkim/WSpring/releases/download/driver/nvidia_driver.exe" -o "%TEMP%\nvidia-desktop.exe" 30 | echo Installing... 31 | cd /D "%TEMP%" 32 | call nvidia-desktop.exe -s -noreboot 33 | del "%TEMP%\nvidia-desktop.exe" 34 | echo Finish!! 35 | echo You have to restart your PC. 36 | 37 | pause 38 | 39 | ::Download CURL 40 | :GetFileSize 41 | if exist %~1 set FILESIZE=%~z1 42 | if not exist %~1 set FILESIZE=-1 43 | exit /b 44 | :AbsoluteDownloadCurl 45 | :loop_adc1 46 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 47 | if %FILESIZE% neq 2070016 ( 48 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 49 | goto :loop_adc1 50 | ) 51 | :loop_adc2 52 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 53 | if %FILESIZE% neq 261889 ( 54 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 55 | goto :loop_adc2 56 | ) 57 | exit /b 58 | -------------------------------------------------------------------------------- /install_cuda/install_tensorrt.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_tensorrt.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2020. 08. 14... 6 | :: Copyright 2020 kimbomm. All rights reserved. 7 | :: 8 | <# : 9 | @echo on 10 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 11 | if '%errorlevel%' NEQ '0' ( 12 | echo Get admin permission... 13 | goto UACPrompt 14 | ) else ( goto gotAdmin ) 15 | :UACPrompt 16 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 17 | set params = %*:"="" 18 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 19 | "%temp%\getadmin.vbs" 20 | rem del "%temp%\getadmin.vbs" 21 | exit /B 22 | :gotAdmin 23 | pushd "%CD%" 24 | CD /D "%~dp0" 25 | 26 | pushd "%CD%" 27 | title install_tensorRT 28 | echo Please download and select the correct version of tensorRT zip file. If the version is different, it may not work. 29 | 30 | set TENSORRTZIP="" 31 | 32 | for /f "delims=" %%I in ('powershell -noprofile "iex (${%~f0} | out-string)"') do ( 33 | set TENSORRTZIP=%%~I 34 | ) 35 | if not exist "%TENSORRTZIP%" ( 36 | echo No file selected. 37 | pause 38 | exit /b 39 | ) 40 | 41 | echo %TENSORRTZIP% 42 | 43 | echo Installing... 44 | call :SafeRMDIR "%TEMP%\cuda" 45 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('%TENSORRTZIP%', '%TEMP%'); }" 46 | 47 | cd /D %TEMP%\TensorRT* 48 | 49 | call :GetCudaPath 50 | echo %cudapath% 51 | 52 | 53 | xcopy /Y "include\*.*" "%cudapath%\include\" /e /h /k 2>&1 >NUL 54 | xcopy /Y "lib\*.lib" "%cudapath%\lib\x64\" /e /h /k 2>&1 >NUL 55 | xcopy /Y "lib\*.dll" "%cudapath%\bin\" /e /h /k 2>&1 >NUL 56 | 57 | set trtdir=%CD% 58 | cd /D %TEMP% 59 | call :SafeRMDIR "%trtdir%" 60 | 61 | echo Finish!! 62 | pause 63 | exit /b 64 | 65 | :SafeRMDIR 66 | IF EXIST "%~1" ( 67 | RMDIR /S /Q "%~1" 68 | ) 69 | exit /b 70 | ::::::::::::::::::::::::::::::FUNCTION:::::::::::::::::::::::::::::: 71 | :GetCudaPath 72 | where nvcc > "%temp%\nvccpath.txt" 73 | if "%ERRORLEVEL%" eq "0" ( 74 | pushd %CD% 75 | set /p "nvccpath="<"%TEMP%\nvccpath.txt" 76 | For %%A in ("%nvccpath%") do (set cudapath=%%~dpA) 77 | echo %cudapath% 78 | set cudapath=%cudapath%\.. 79 | cd /D %cudapath% 80 | set cudapath=%CD% 81 | echo %cudapath% 82 | popd 83 | ) else ( 84 | echo No Cuda 85 | exit 86 | ) 87 | exit /b 88 | ::https://stackoverflow.com/questions/15885132/file-folder-chooser-dialog-from-a-windows-batch-script 89 | : #> 90 | 91 | Add-Type -AssemblyName System.Windows.Forms 92 | $f = new-object Windows.Forms.OpenFileDialog 93 | $f.InitialDirectory = pwd 94 | $f.Filter = "tensorRT zip files (*.zip)|*.zip" 95 | $f.ShowHelp = $true 96 | $f.Multiselect = $false 97 | [void]$f.ShowDialog() 98 | if ($f.Multiselect) { $f.FileNames } else { $f.FileName } 99 | -------------------------------------------------------------------------------- /install_dependency_walker.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_dependency_walker.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 11. 14... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::start 26 | title install_dependency_walker 27 | echo Downloading... 28 | cd /D %TEMP% 29 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://github.com/lucasg/Dependencies/releases' -UseBasicParsing;($HTML.Links.href) > depends_latest.txt" 30 | powershell "get-content depends_latest.txt -ReadCount 1000 | foreach { $_ -match 'x64' } | out-file -encoding ascii depends_url1.txt" 31 | powershell "get-content depends_url1.txt -ReadCount 1000 | foreach { $_ -match 'Release' } | out-file -encoding ascii depends_url2.txt" 32 | powershell "get-content depends_url2.txt -ReadCount 1000 | foreach { $_ -match '.zip' } | out-file -encoding ascii depends_url3.txt" 33 | powershell "get-content depends_url3.txt -ReadCount 1000 | foreach { $_ -Notmatch 'Debug' } | out-file -encoding ascii depends_url4.txt" 34 | set /p "url="<"depends_url4.txt" 35 | 36 | curlw -L "https://github.com%url%" -o "%TEMP%\depends.zip" 37 | 38 | echo Unzipping... 39 | if not exist "%SystemDrive%\Program Files\Depends64" md "%SystemDrive%\Program Files\Depends64" 40 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('%TEMP%\depends.zip', '%SystemDrive%\Program Files\Depends64'); }" 41 | 42 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\DependenciesGui.lnk');$s.TargetPath='%SystemDrive%\Program Files\Depends64\DependenciesGui.exe';$s.Save()" 43 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%USERPROFILE%\Desktop\DependenciesGui.lnk');$s.TargetPath='%SystemDrive%\Program Files\Depends64\DependenciesGui.exe';$s.Save()" 44 | 45 | DEL "%TEMP%\depends.zip" 46 | DEL "depends_latest.txt" 47 | DEL "depends_url1.txt" 48 | DEL "depends_url2.txt" 49 | DEL "depends_url3.txt" 50 | DEL "depends_url4.txt" 51 | echo Finish!! 52 | pause 53 | exit /b 54 | 55 | ::Download CURL 56 | :GetFileSize 57 | if exist %~1 set FILESIZE=%~z1 58 | if not exist %~1 set FILESIZE=-1 59 | exit /b 60 | :AbsoluteDownloadCurl 61 | :loop_adc1 62 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 63 | if %FILESIZE% neq 2070016 ( 64 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 65 | goto :loop_adc1 66 | ) 67 | :loop_adc2 68 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 69 | if %FILESIZE% neq 261889 ( 70 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 71 | goto :loop_adc2 72 | ) 73 | exit /b 74 | -------------------------------------------------------------------------------- /install_ditto.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_ditto.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 10. 27... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | call :DownloadSetw 26 | call :Download7z 27 | ::start 28 | cd /D %TEMP% 29 | title install_mingw64 30 | echo Downloading... 31 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://sourceforge.net/projects/ditto-cp/files/Ditto/?source=navbar' -UseBasicParsing;($HTML.Links.href) > ditto_html.txt" 32 | powershell "get-content ditto_html.txt -ReadCount 10000 | foreach { $_ -match 'latest' } | out-file -encoding ascii ditto_latest.txt" 33 | set /p "url="<"ditto_latest.txt" 34 | 35 | 36 | curlw -L "https://sourceforge.net%url%" -o "ditto_setup.exe" 37 | DEL "ditto_html.txt" 38 | DEL "ditto_latest.txt" 39 | 40 | start /wait ditto_setup.exe /VERYSILENT 41 | 42 | echo Finish!! 43 | pause 44 | exit /b 45 | 46 | :SafeRMDIR 47 | IF EXIST "%~1" ( 48 | RMDIR /S /Q "%~1" 49 | ) 50 | exit /b 51 | 52 | :Download7z 53 | if not exist "%WINDIR%\system32\7z.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.exe" -o "%WINDIR%\system32\7z.exe" 54 | if not exist "%WINDIR%\system32\7z.dll" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.dll" -o "%WINDIR%\system32\7z.dll" 55 | exit /b 56 | 57 | :DownloadSetw 58 | if not exist "%WINDIR%\system32\setw.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/setw.exe" -o "%WINDIR%\system32\setw.exe" 59 | exit /b 60 | 61 | ::Download CURL 62 | :GetFileSize 63 | if exist %~1 set FILESIZE=%~z1 64 | if not exist %~1 set FILESIZE=-1 65 | exit /b 66 | :AbsoluteDownloadCurl 67 | :loop_adc1 68 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 69 | if %FILESIZE% neq 2070016 ( 70 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 71 | goto :loop_adc1 72 | ) 73 | :loop_adc2 74 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 75 | if %FILESIZE% neq 261889 ( 76 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 77 | goto :loop_adc2 78 | ) 79 | exit /b -------------------------------------------------------------------------------- /install_du.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_du.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2020. 07. 25... 6 | :: Copyright 2020 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_du 28 | echo Downloading... 29 | curlw -L "https://download.sysinternals.com/files/DU.zip" -o "%TEMP%\du.zip" 30 | 31 | echo Unzipping... 32 | call :SafeRMDIR "%UserProfile%\hddb" 33 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('%TEMP%\du.zip', '%WINDIR%\system32'); } 34 | 35 | 36 | 37 | DEL "%TEMP%\du.zip" 38 | echo Finish!! 39 | pause 40 | exit /b 41 | 42 | :SafeRMDIR 43 | IF EXIST "%~1" ( 44 | RMDIR /S /Q "%~1" 45 | ) 46 | exit /b 47 | 48 | ::Download CURL 49 | :GetFileSize 50 | if exist %~1 set FILESIZE=%~z1 51 | if not exist %~1 set FILESIZE=-1 52 | exit /b 53 | :AbsoluteDownloadCurl 54 | :loop_adc1 55 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 56 | if %FILESIZE% neq 2070016 ( 57 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 58 | goto :loop_adc1 59 | ) 60 | :loop_adc2 61 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 62 | if %FILESIZE% neq 261889 ( 63 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 64 | goto :loop_adc2 65 | ) 66 | exit /b 67 | 68 | :DownloadSetw 69 | if not exist "%WINDIR%\system32\setw.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/setw.exe" -o "%WINDIR%\system32\setw.exe" 70 | exit /b 71 | -------------------------------------------------------------------------------- /install_filezilla.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_filezilla.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 03. 24... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | cd /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_filezilla 28 | if exist "%programfiles%\FileZilla FTP Client\uninstall.exe" "%programfiles%\FileZilla FTP Client\uninstall.exe" /S 29 | if exist "%programfiles(x86)%\FileZilla FTP Client\uninstall.exe" "%programfiles(x86)%\FileZilla FTP Client\uninstall.exe" /S 30 | echo Downloading... 31 | cd /D %TEMP% 32 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://filezilla-project.org/download.php?show_all=1' -UseBasicParsing;($HTML.Links.href) > filezilla_latest.txt" 33 | powershell "get-content filezilla_latest.txt -ReadCount 1000 | foreach { $_ -match 'win64-setup.exe' } | out-file -encoding ascii filezilla_url.txt" 34 | powershell "get-content filezilla_url.txt -ReadCount 1000 | foreach { $_ -match 'https' } | out-file -encoding ascii filezilla_url2.txt" 35 | set /p "url="<"filezilla_url2.txt" 36 | echo %url% 37 | curlw -L "%url%" -o "FileZilla.exe" 38 | echo Installing... 39 | start /wait FileZilla.exe /S 40 | DEL "%TEMP%\filezilla_latest.txt" 41 | DEL "%TEMP%\filezilla_url.txt" 42 | DEL "%TEMP%\filezilla_url2.txt" 43 | echo Finish!! 44 | pause 45 | exit /b 46 | 47 | ::Download CURL 48 | :GetFileSize 49 | if exist %~1 set FILESIZE=%~z1 50 | if not exist %~1 set FILESIZE=-1 51 | exit /b 52 | :AbsoluteDownloadCurl 53 | :loop_adc1 54 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 55 | if %FILESIZE% neq 2070016 ( 56 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 57 | goto :loop_adc1 58 | ) 59 | :loop_adc2 60 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 61 | if %FILESIZE% neq 261889 ( 62 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 63 | goto :loop_adc2 64 | ) 65 | exit /b 66 | -------------------------------------------------------------------------------- /install_foxit.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_foxit.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 14... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::::::::::::install 27 | title install_foxit 28 | echo Downloading... 29 | curlw -L "https://github.com/springkim/WSpring/releases/download/program/FoxitReader92_L10N_Setup.exe" -o "%TEMP%\foxit.exe" 30 | 31 | echo Installing... 32 | cd /D %TEMP% 33 | ::start /wait foxit.exe /ForceInstall /VERYSILENT DESKTOP_SHORTCUT="0" MAKEDEFAULT="0" VIEWINBROWSER="0" LAUNCHCHECKDEFAULT="0" AUTO_UPDATE="0" /passive /norestart 34 | start /wait foxit.exe /quiet 35 | 36 | del "%TEMP%\foxit.exe" 37 | echo Finish!! 38 | pause 39 | exit /b 40 | 41 | ::Download CURL 42 | :GetFileSize 43 | if exist %~1 set FILESIZE=%~z1 44 | if not exist %~1 set FILESIZE=-1 45 | exit /b 46 | :AbsoluteDownloadCurl 47 | :loop_adc1 48 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 49 | if %FILESIZE% neq 2070016 ( 50 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 51 | goto :loop_adc1 52 | ) 53 | :loop_adc2 54 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 55 | if %FILESIZE% neq 261889 ( 56 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 57 | goto :loop_adc2 58 | ) 59 | exit /b 60 | -------------------------------------------------------------------------------- /install_git.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_git.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 14... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_git 28 | echo Downloading... 29 | powershell "$HTML=Invoke-WebRequest -Uri 'https://git-scm.com/download/win' -UseBasicParsing;($HTML.Links.href) > %TEMP%\git_latest.txt" 30 | powershell "get-content %TEMP%\git_latest.txt -ReadCount 1000 | foreach { $_ -match 'PortableGit' } | out-file -encoding ascii %TEMP%\git_url.txt" 31 | powershell "get-content %TEMP%\git_url.txt -ReadCount 1000 | foreach { $_ -match '64-bit' } | out-file -encoding ascii %TEMP%\git_url1.txt" 32 | set /p "url="<"%TEMP%\git_url1.txt" 33 | curlw -L "%url%" -o "%TEMP%\git.7z" 34 | echo Installing... 35 | call :SafeRMDIR "%SystemDrive%\Program Files\Git\" 36 | md "%SystemDrive%\Program Files\Git\" 37 | call :Download7z 38 | 7z x "%TEMP%\git.7z" -y -o"%SystemDrive%\Program Files\Git\" 39 | call :DownloadSetw 40 | setw "C:\Program Files\Git\cmd" 41 | DEL "%TEMP%\git.7z" 42 | DEL "%TEMP%\git_latest.txt" 43 | DEL "%TEMP%\git_url.txt" 44 | DEL "%TEMP%\git_url1.txt" 45 | echo Finish!! 46 | pause 47 | exit /b 48 | 49 | :SafeRMDIR 50 | IF EXIST "%~1" ( 51 | RMDIR /S /Q "%~1" 52 | ) 53 | exit /b 54 | 55 | :Download7z 56 | if not exist "%WINDIR%\system32\7z.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.exe" -o "%WINDIR%\system32\7z.exe" 57 | if not exist "%WINDIR%\system32\7z.dll" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.dll" -o "%WINDIR%\system32\7z.dll" 58 | exit /b 59 | 60 | :DownloadSetw 61 | if not exist "%WINDIR%\system32\setw.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/setw.exe" -o "%WINDIR%\system32\setw.exe" 62 | exit /b 63 | 64 | ::Download CURL 65 | :GetFileSize 66 | if exist %~1 set FILESIZE=%~z1 67 | if not exist %~1 set FILESIZE=-1 68 | exit /b 69 | :AbsoluteDownloadCurl 70 | :loop_adc1 71 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 72 | if %FILESIZE% neq 2070016 ( 73 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 74 | goto :loop_adc1 75 | ) 76 | :loop_adc2 77 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 78 | if %FILESIZE% neq 261889 ( 79 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 80 | goto :loop_adc2 81 | ) 82 | exit /b 83 | -------------------------------------------------------------------------------- /install_haroopad.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_haroopad.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 14... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::::::::::::install 26 | title install_haroopad 27 | if exist "%AppData%\Haroo Studio\Haroopad\Uninstall.lnk" ( 28 | echo Remove old verison 29 | "%AppData%\Haroo Studio\Haroopad\Uninstall.lnk" /qb 30 | ) 31 | echo Downloading... 32 | cd /D %TEMP% 33 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://bitbucket.org/rhiokim/haroopad-download/downloads/' -UseBasicParsing;($HTML.Links.href) > haroopad_latest.txt" 34 | powershell "get-content haroopad_latest.txt -ReadCount 1000 | foreach { $_ -match '/rhiokim/haroopad-download/downloads/Haroopad' } | out-file -encoding ascii haroopad_url.txt" 35 | powershell "get-content haroopad_url.txt -ReadCount 1000 | foreach { $_ -match 'msi' } | out-file -encoding ascii haroopad_url2.txt" 36 | set /p "url="<"haroopad_url2.txt" 37 | curlw -L "https://bitbucket.org%url%" -o "Haroopad.msi" 38 | echo Installing... 39 | msiexec /i Haroopad.msi /qb 40 | del Haroopad.msi 41 | echo Finish! 42 | pause 43 | exit /b 44 | 45 | ::Download CURL 46 | :GetFileSize 47 | if exist %~1 set FILESIZE=%~z1 48 | if not exist %~1 set FILESIZE=-1 49 | exit /b 50 | :AbsoluteDownloadCurl 51 | :loop_adc1 52 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 53 | if %FILESIZE% neq 2070016 ( 54 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 55 | goto :loop_adc1 56 | ) 57 | :loop_adc2 58 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 59 | if %FILESIZE% neq 261889 ( 60 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 61 | goto :loop_adc2 62 | ) 63 | exit /b 64 | -------------------------------------------------------------------------------- /install_hddb.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_hddb.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 14... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_hddb 28 | echo Downloading... 29 | curlw -L "https://github.com/springkim/WSpring/releases/download/program/hddb_4.4.0.x64.zip" -o "%TEMP%\hddb_4.4.0.x64.zip" 30 | 31 | echo Unzipping... 32 | call :SafeRMDIR "%UserProfile%\hddb" 33 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('%TEMP%\hddb_4.4.0.x64.zip', '%UserProfile%\hddb'); }" 34 | 35 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\hddb.lnk');$s.TargetPath='%UserProfile%\hddb\hddb-4.4.0.x64.exe';$s.Save()" 36 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%USERPROFILE%\Desktop\hddb.lnk');$s.TargetPath='%UserProfile%\hddb\hddb-4.4.0.x64.exe';$s.Save()" 37 | 38 | 39 | DEL "%TEMP%\hddb_4.4.0.x64.zip" 40 | echo Finish!! 41 | pause 42 | exit /b 43 | 44 | :SafeRMDIR 45 | IF EXIST "%~1" ( 46 | RMDIR /S /Q "%~1" 47 | ) 48 | exit /b 49 | 50 | ::Download CURL 51 | :GetFileSize 52 | if exist %~1 set FILESIZE=%~z1 53 | if not exist %~1 set FILESIZE=-1 54 | exit /b 55 | :AbsoluteDownloadCurl 56 | :loop_adc1 57 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 58 | if %FILESIZE% neq 2070016 ( 59 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 60 | goto :loop_adc1 61 | ) 62 | :loop_adc2 63 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 64 | if %FILESIZE% neq 261889 ( 65 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 66 | goto :loop_adc2 67 | ) 68 | exit /b 69 | -------------------------------------------------------------------------------- /install_honeycam.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_honeycam.bat 3 | :: WSpring 4 | :: 5 | :: Created by Woocheol on 2018. 08. 01... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_honeycam 28 | echo Downloading... 29 | powershell "Set-ExecutionPolicy RemoteSigned -Force" 30 | 31 | curlw -L "https://kr.bandisoft.com/honeycam/dl.php?web-kr" -o "%TEMP%\HONEYCAM-SETUP-KR.EXE" 32 | 33 | cd %TEMP% 34 | echo Installing... 35 | start /wait HONEYCAM-SETUP-KR.EXE /S 36 | DEL "%TEMP%\HONEYCAM-SETUP-KR.EXE" 37 | echo Finish!! 38 | pause 39 | exit /b 40 | ::Power shell hidden option 41 | ::https://stackoverflow.com/questions/1802127/how-to-run-a-powershell-script-without-displaying-a-window 42 | 43 | ::power shell run on admin 44 | ::https://social.technet.microsoft.com/Forums/ie/en-US/acf70a31-ceb4-4ea5-bac1-be2b25eb5560/how-to-run-as-admin-powershellps1-file-calling-in-batch-file?forum=winserverpowershell 45 | 46 | ::powershell mouse event 47 | ::https://stackoverflow.com/questions/39353073/how-i-can-send-mouse-click-in-powershell 48 | 49 | ::Download CURL 50 | :GetFileSize 51 | if exist %~1 set FILESIZE=%~z1 52 | if not exist %~1 set FILESIZE=-1 53 | exit /b 54 | :AbsoluteDownloadCurl 55 | :loop_adc1 56 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 57 | if %FILESIZE% neq 2070016 ( 58 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 59 | goto :loop_adc1 60 | ) 61 | :loop_adc2 62 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 63 | if %FILESIZE% neq 261889 ( 64 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 65 | goto :loop_adc2 66 | ) 67 | exit /b -------------------------------------------------------------------------------- /install_honeyview.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_honeyview.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 14... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_honeyview 28 | echo Downloading... 29 | powershell "Set-ExecutionPolicy RemoteSigned -Force" 30 | curlw -L "https://www.bandisoft.co.kr/honeyview/dl.php?web" -o "%TEMP%\HONEYVIEW-SETUP-KR.EXE" 31 | 32 | cd %TEMP% 33 | echo Installing... 34 | start /wait HONEYVIEW-SETUP-KR.EXE /S 35 | DEL "%TEMP%\HONEYVIEW-SETUP-KR.EXE" 36 | echo Finish!! 37 | pause 38 | exit /b 39 | ::Power shell hidden option 40 | ::https://stackoverflow.com/questions/1802127/how-to-run-a-powershell-script-without-displaying-a-window 41 | 42 | ::power shell run on admin 43 | ::https://social.technet.microsoft.com/Forums/ie/en-US/acf70a31-ceb4-4ea5-bac1-be2b25eb5560/how-to-run-as-admin-powershellps1-file-calling-in-batch-file?forum=winserverpowershell 44 | 45 | ::powershell mouse event 46 | ::https://stackoverflow.com/questions/39353073/how-i-can-send-mouse-click-in-powershell 47 | 48 | ::Download CURL 49 | :GetFileSize 50 | if exist %~1 set FILESIZE=%~z1 51 | if not exist %~1 set FILESIZE=-1 52 | exit /b 53 | :AbsoluteDownloadCurl 54 | :loop_adc1 55 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 56 | if %FILESIZE% neq 2070016 ( 57 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 58 | goto :loop_adc1 59 | ) 60 | :loop_adc2 61 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 62 | if %FILESIZE% neq 261889 ( 63 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 64 | goto :loop_adc2 65 | ) 66 | exit /b 67 | -------------------------------------------------------------------------------- /install_java.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_java.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 14... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | 27 | ::start 28 | title install_java 29 | echo Downloading... 30 | call :SafeRMDIR "%SystemDrive%\JAVA" 31 | if not exist %SystemDrive%\JAVA md %SystemDrive%\JAVA 32 | cd /D %SystemDrive%\JAVA 33 | curlw -L "https://download.java.net/openjdk/jdk11/ri/openjdk-11+28_windows-x64_bin.zip" -o "%SystemDrive%\JAVA\openjdk.zip" 34 | echo Installing... 35 | call :Download7z 36 | 7z x openjdk*.zip -y 37 | DEL *.zip 38 | dir /B > z.txt 39 | set /p "jdkname="<"z.txt" 40 | call :DownloadSetw 41 | setw "%SystemDrive%\JAVA\%jdkname%\bin" 42 | setx JAVA_HOME "%SystemDrive%\JAVA\%jdkname%" 43 | DEL z.txt 44 | 45 | echo Finish!! 46 | pause 47 | exit /b 48 | 49 | 50 | :SafeRMDIR 51 | IF EXIST "%~1" ( 52 | RMDIR /S /Q "%~1" 53 | ) 54 | exit /b 55 | 56 | :Download7z 57 | if not exist "%WINDIR%\system32\7z.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.exe" -o "%WINDIR%\system32\7z.exe" 58 | if not exist "%WINDIR%\system32\7z.dll" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.dll" -o "%WINDIR%\system32\7z.dll" 59 | exit /b 60 | 61 | :DownloadSetw 62 | if not exist "%WINDIR%\system32\setw.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/setw.exe" -o "%WINDIR%\system32\setw.exe" 63 | exit /b 64 | 65 | ::Download CURL 66 | :GetFileSize 67 | if exist %~1 set FILESIZE=%~z1 68 | if not exist %~1 set FILESIZE=-1 69 | exit /b 70 | :AbsoluteDownloadCurl 71 | :loop_adc1 72 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 73 | if %FILESIZE% neq 2070016 ( 74 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 75 | goto :loop_adc1 76 | ) 77 | :loop_adc2 78 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 79 | if %FILESIZE% neq 261889 ( 80 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 81 | goto :loop_adc2 82 | ) 83 | exit /b 84 | -------------------------------------------------------------------------------- /install_kakaotalk.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_kakaotalk.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 04. 22... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::start 26 | title install_kakaotalk 27 | echo Downloading... 28 | cd /D %TEMP% 29 | curlw -L "http://app.pc.kakao.com/talk/win32/KakaoTalk_Setup.exe" -o "KakaoTalk_Setup.exe" 30 | echo Installing... 31 | start /wait KakaoTalk_Setup.exe /S 32 | DEL "%TEMP%\KakaoTalk_Setup.exe" 33 | echo Finish!! 34 | pause 35 | exit /b 36 | 37 | ::Download CURL 38 | :GetFileSize 39 | if exist %~1 set FILESIZE=%~z1 40 | if not exist %~1 set FILESIZE=-1 41 | exit /b 42 | :AbsoluteDownloadCurl 43 | :loop_adc1 44 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 45 | if %FILESIZE% neq 2070016 ( 46 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 47 | goto :loop_adc1 48 | ) 49 | :loop_adc2 50 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 51 | if %FILESIZE% neq 261889 ( 52 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 53 | goto :loop_adc2 54 | ) 55 | exit /b 56 | -------------------------------------------------------------------------------- /install_mercurial.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_mercurial.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 05. 24... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::::::::::::install 26 | title install_mercurial 27 | echo Downloading... 28 | cd /D %TEMP% 29 | 30 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://www.mercurial-scm.org/release/windows/' -UseBasicParsing;($HTML.Links.href) > hg_latest.txt" 31 | 32 | powershell "get-content hg_latest.txt -ReadCount 1000 | foreach { $_ -match 'mercurial' } | out-file -encoding ascii hg_url.txt" 33 | powershell "get-content hg_url.txt -ReadCount 1000 | foreach { $_ -match 'x64.msi' } | out-file -encoding ascii hg_url2.txt" 34 | powershell "$x = Get-Content -Path hg_url2.txt; Set-Content -Path hg_url2.txt -Value ($x[($x.Length-1)..0])" 35 | set /p "url="<"hg_url2.txt" 36 | 37 | curlw -L "https://www.mercurial-scm.org/release/windows/%url%" -o "mercurial.msi" 38 | echo Installing... 39 | start /wait msiexec /i mercurial.msi /qb 40 | 41 | del mercurial.msi 42 | del hg_latest.txt 43 | del hg_url.txt 44 | del hg_url2.txt 45 | echo Finish! 46 | pause 47 | exit /b 48 | 49 | ::Download CURL 50 | :GetFileSize 51 | if exist %~1 set FILESIZE=%~z1 52 | if not exist %~1 set FILESIZE=-1 53 | exit /b 54 | :AbsoluteDownloadCurl 55 | :loop_adc1 56 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 57 | if %FILESIZE% neq 2070016 ( 58 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 59 | goto :loop_adc1 60 | ) 61 | :loop_adc2 62 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 63 | if %FILESIZE% neq 261889 ( 64 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 65 | goto :loop_adc2 66 | ) 67 | exit /b 68 | -------------------------------------------------------------------------------- /install_notepad++.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_notepad++.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 14... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::::::::::::install 27 | title install_notepad++ 28 | cd /D %TEMP% 29 | echo Downloading... 30 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://notepad-plus-plus.org/download' -UseBasicParsing;($HTML.Links.href) > npp_latest.txt" 31 | powershell "get-content npp_latest.txt -ReadCount 1000 | foreach { $_ -match 'https://notepad-plus-plus.org/downloads' } | out-file -encoding ascii npp_url.txt" 32 | set /p "url="<"npp_url.txt" 33 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri '%url%' -UseBasicParsing;($HTML.Links.href) > npp_latest2.txt" 34 | powershell "get-content npp_latest2.txt -ReadCount 1000 | foreach { $_ -match 'Installer.x64.exe' } | out-file -encoding ascii npp_url2.txt" 35 | set /p "url2="<"npp_url2.txt" 36 | curlw -L "%url2%" -o "%TEMP%\npp.exe" 37 | echo Installing... 38 | if exist "%programfiles%\Notepad++\uninstall.exe" "%programfiles%\Notepad++\uninstall.exe" /S 39 | if exist "%programfiles(x86)%\ Notepad++\uninstall.exe" "%programfiles(x86)%\ Notepad++\uninstall.exe" /S 40 | cd /D %TEMP% 41 | start /wait npp.exe /S 42 | del "%TEMP%\npp.exe" 43 | echo Finish!! 44 | pause 45 | exit /b 46 | 47 | ::Download CURL 48 | :GetFileSize 49 | if exist %~1 set FILESIZE=%~z1 50 | if not exist %~1 set FILESIZE=-1 51 | exit /b 52 | :AbsoluteDownloadCurl 53 | :loop_adc1 54 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 55 | if %FILESIZE% neq 2070016 ( 56 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 57 | goto :loop_adc1 58 | ) 59 | :loop_adc2 60 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 61 | if %FILESIZE% neq 261889 ( 62 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 63 | goto :loop_adc2 64 | ) 65 | exit /b 66 | -------------------------------------------------------------------------------- /install_office365.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_office365.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 05. 22... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_office365 28 | echo Downloading... 29 | cd /D %TEMP% 30 | curlw -L "https://github.com/springkim/WSpring/releases/download/program/office365x64.exe" -o "office365x64.exe" 31 | echo Installing... 32 | start /wait office365x64.exe 33 | DEL "office365x64.exe" 34 | 35 | echo Finish!! 36 | pause 37 | exit /b 38 | 39 | ::Download CURL 40 | :GetFileSize 41 | if exist %~1 set FILESIZE=%~z1 42 | if not exist %~1 set FILESIZE=-1 43 | exit /b 44 | :AbsoluteDownloadCurl 45 | :loop_adc1 46 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 47 | if %FILESIZE% neq 2070016 ( 48 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 49 | goto :loop_adc1 50 | ) 51 | :loop_adc2 52 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 53 | if %FILESIZE% neq 261889 ( 54 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 55 | goto :loop_adc2 56 | ) 57 | exit /b 58 | -------------------------------------------------------------------------------- /install_opera.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_opera.bat 3 | :: WSpring 4 | :: 5 | :: Created by Woocheol on 2018. 08. 01... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_opera 28 | echo Downloading... 29 | powershell "Set-ExecutionPolicy RemoteSigned -Force" 30 | 31 | curlw -L "https://net.geo.opera.com/opera/stable/windows?http_referrer=https://www.google.co.kr/&utm_source=google_via_opera_com&utm_medium=ose&utm_campaign=google_ose_via_opera_com_https&utm_lastpage=opera.com/&utm_tryagain=yes" -o "%TEMP%\OperaSetup.exe" 32 | 33 | cd /D %TEMP% 34 | echo Installing... 35 | start /wait OperaSetup.exe --silent --desktopshortcut=0 --quicklaunchshortcut=0 --pintotaskbar=0 --launchbrowser=0 36 | ::DEL "%TEMP%\OperaSetup.exe" 37 | echo Finish!! 38 | pause 39 | exit /b 40 | ::Power shell hidden option 41 | ::https://stackoverflow.com/questions/1802127/how-to-run-a-powershell-script-without-displaying-a-window 42 | 43 | ::power shell run on admin 44 | ::https://social.technet.microsoft.com/Forums/ie/en-US/acf70a31-ceb4-4ea5-bac1-be2b25eb5560/how-to-run-as-admin-powershellps1-file-calling-in-batch-file?forum=winserverpowershell 45 | 46 | ::powershell mouse event 47 | ::https://stackoverflow.com/questions/39353073/how-i-can-send-mouse-click-in-powershell 48 | 49 | ::Download CURL 50 | :GetFileSize 51 | if exist %~1 set FILESIZE=%~z1 52 | if not exist %~1 set FILESIZE=-1 53 | exit /b 54 | :AbsoluteDownloadCurl 55 | :loop_adc1 56 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 57 | if %FILESIZE% neq 2070016 ( 58 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 59 | goto :loop_adc1 60 | ) 61 | :loop_adc2 62 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 63 | if %FILESIZE% neq 261889 ( 64 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 65 | goto :loop_adc2 66 | ) 67 | exit /b -------------------------------------------------------------------------------- /install_pathcopycopy.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_pathcopycopy.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 04. 22... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::start 26 | title install_pathcopycopy 27 | echo Downloading... 28 | cd /D %TEMP% 29 | if exist "%programfiles%\Path Copy Copy\unins000.exe" "%programfiles%\Path Copy Copy\unins000.exe" /VERYSILENT /NORESTART 30 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://github.com/clechasseur/pathcopycopy/releases' -UseBasicParsing;($HTML.Links.href) > pcc_latest.txt" 31 | powershell "get-content pcc_latest.txt -ReadCount 1000 | foreach { $_ -match '.exe$' } | out-file -encoding ascii pcc_url.txt" 32 | set /p "url="<"pcc_url.txt" 33 | curlw -L "https://github.com%url%" -o "PathCopyCopy.exe" 34 | echo Installing... 35 | start /wait PathCopyCopy.exe /VERYSILENT 36 | DEL "%TEMP%\PathCopyCopy.exe" 37 | DEL "%TEMP%\pcc_latest.txt" 38 | DEL "%TEMP%\pcc_url.txt" 39 | echo Finish!! 40 | pause 41 | exit /b 42 | 43 | ::Download CURL 44 | :GetFileSize 45 | if exist %~1 set FILESIZE=%~z1 46 | if not exist %~1 set FILESIZE=-1 47 | exit /b 48 | :AbsoluteDownloadCurl 49 | :loop_adc1 50 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 51 | if %FILESIZE% neq 2070016 ( 52 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 53 | goto :loop_adc1 54 | ) 55 | :loop_adc2 56 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 57 | if %FILESIZE% neq 261889 ( 58 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 59 | goto :loop_adc2 60 | ) 61 | exit /b 62 | -------------------------------------------------------------------------------- /install_perl.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_perl.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 04... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::::::::::::install 26 | title install_perl 27 | echo Downloading... 28 | cd /D %TEMP% 29 | 30 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'http://strawberryperl.com/releases.html' -UseBasicParsing;($HTML.Links.href) > perl_latest.txt" 31 | powershell "get-content perl_latest.txt -ReadCount 1000 | foreach { $_ -match '64bit.zip' } | out-file -encoding ascii perl_url.txt" 32 | set /p "url="<"perl_url.txt" 33 | 34 | curlw -L "%url%" -o "perl.zip" 35 | echo Installing... 36 | call :DownloadSetw 37 | call :SafeRMDIR "%SystemDrive%\Strawberry" 38 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('perl.zip', '%SystemDrive%\Strawberry'); }" 39 | setw "%SystemDrive%\Strawberry\c\bin" 40 | setw "%SystemDrive%\Strawberry\perl\site\bin" 41 | setw "%SystemDrive%\Strawberry\perl\bin" 42 | ::msiexec /i strawberry-perl-5.26.1.1-64bit.msi /qb 43 | del perl.zip 44 | echo Finish! 45 | pause 46 | exit /b 47 | 48 | :SafeRMDIR 49 | IF EXIST "%~1" ( 50 | RMDIR /S /Q "%~1" 51 | ) 52 | exit /b 53 | 54 | :DownloadSetw 55 | if not exist "%WINDIR%\system32\setw.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/setw.exe" -o "%WINDIR%\system32\setw.exe" 56 | exit /b 57 | 58 | ::Download CURL 59 | :GetFileSize 60 | if exist %~1 set FILESIZE=%~z1 61 | if not exist %~1 set FILESIZE=-1 62 | exit /b 63 | :AbsoluteDownloadCurl 64 | :loop_adc1 65 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 66 | if %FILESIZE% neq 2070016 ( 67 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 68 | goto :loop_adc1 69 | ) 70 | :loop_adc2 71 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 72 | if %FILESIZE% neq 261889 ( 73 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 74 | goto :loop_adc2 75 | ) 76 | exit /b 77 | -------------------------------------------------------------------------------- /install_potplayer.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_potplayer.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 05. 22... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_potplayer 28 | echo Downloading... 29 | cd /D %TEMP% 30 | curlw -L "https://t1.daumcdn.net/potplayer/PotPlayer/Version/Latest/PotPlayerSetup64.exe" -o "potplayer.exe" 31 | echo Installing... 32 | start /wait potplayer.exe /S 33 | DEL "potplayer.exe" 34 | 35 | echo Finish!! 36 | pause 37 | exit /b 38 | 39 | ::Download CURL 40 | :GetFileSize 41 | if exist %~1 set FILESIZE=%~z1 42 | if not exist %~1 set FILESIZE=-1 43 | exit /b 44 | :AbsoluteDownloadCurl 45 | :loop_adc1 46 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 47 | if %FILESIZE% neq 2070016 ( 48 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 49 | goto :loop_adc1 50 | ) 51 | :loop_adc2 52 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 53 | if %FILESIZE% neq 261889 ( 54 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 55 | goto :loop_adc2 56 | ) 57 | exit /b 58 | -------------------------------------------------------------------------------- /install_python3.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_python3.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 08. 02... 6 | :: Copyright 2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | call :DownloadSetw 26 | ::start 27 | title install_python3 28 | echo Downloading... 29 | cd /D %TEMP% 30 | 31 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://www.python.org/downloads/' -UseBasicParsing;($HTML.Links.href) > python_html.txt" 32 | powershell "get-content python_html.txt -ReadCount 10000 | foreach { $_ -match '/downloads/release/python-3' } | out-file -encoding ascii python_url.txt" 33 | set /p "url="<"python_url.txt" 34 | echo latest version of python3 is %url:~26,3% 35 | 36 | curlw -L "https://www.python.org/ftp/python/%url:~26,1%.%url:~27,1%.%url:~28,1%/python-%url:~26,1%.%url:~27,1%.%url:~28,1%-amd64.exe" -o "%TEMP%\Python3_installer.exe" 37 | 38 | 39 | echo Installing... 40 | start /wait Python3_installer.exe /uninstall /quiet 41 | start /wait Python3_installer.exe /simple /quiet 42 | 43 | ::C:\Users\username\AppData\Local\Programs\Python\Python37 44 | ::Remove old python 45 | for /D %%f in (%SYSTEMDRIVE%\Python3*) do @rmdir /S /Q %%f 46 | ::Move latest python to C:\ 47 | for /D %%f in (%LOCALAPPDATA%\Programs\Python\Python3*) do move %%f %SYSTEMDRIVE%\ 48 | 49 | setw "C:\Python%url:~26,2%\" 50 | setw "C:\Python%url:~26,2%\Scripts" 51 | 52 | DEL python_url.txt 53 | DEL python_html.txt 54 | ::DEL "%TEMP%\Python3_installer.exe" 55 | echo Finish!! 56 | pause 57 | exit /b 58 | 59 | 60 | :DownloadSetw 61 | if not exist "%WINDIR%\system32\setw.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/setw.exe" -o "%WINDIR%\system32\setw.exe" 62 | exit /b 63 | 64 | ::Download CURL 65 | :GetFileSize 66 | if exist %~1 set FILESIZE=%~z1 67 | if not exist %~1 set FILESIZE=-1 68 | exit /b 69 | :AbsoluteDownloadCurl 70 | :loop_adc1 71 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 72 | if %FILESIZE% neq 2070016 ( 73 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 74 | goto :loop_adc1 75 | ) 76 | :loop_adc2 77 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 78 | if %FILESIZE% neq 261889 ( 79 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 80 | goto :loop_adc2 81 | ) 82 | exit /b 83 | -------------------------------------------------------------------------------- /install_shareX.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_shareX.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 01. 22... 6 | :: Contribute by Woochoel on 2018.08.01... 7 | :: Copyright 2017-2018 kimbomm. All rights reserved. 8 | :: 9 | @echo off 10 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 11 | if '%errorlevel%' NEQ '0' ( 12 | echo Get admin permission... 13 | goto UACPrompt 14 | ) else ( goto gotAdmin ) 15 | :UACPrompt 16 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 17 | set params = %*:"="" 18 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 19 | "%temp%\getadmin.vbs" 20 | rem del "%temp%\getadmin.vbs" 21 | exit /B 22 | :gotAdmin 23 | pushd "%CD%" 24 | CD /D "%~dp0" 25 | call :AbsoluteDownloadCurl 26 | ::start 27 | title install_shareX 28 | taskkill /im ShareX.exe 29 | echo Downloading... 30 | cd /D %TEMP% 31 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://github.com/ShareX/ShareX/releases/latest' -UseBasicParsing;($HTML.Links.href) > sharex_latest.txt" 32 | powershell "get-content sharex_latest.txt -ReadCount 1000 | foreach { $_ -match 'setup.exe' } | out-file -encoding ascii sharex_url.txt" 33 | set /p "url="<"sharex_url.txt" 34 | 35 | curlw -L "https://github.com%url%" -o "%TEMP%\ShareX_Setup.exe" 36 | 37 | echo Installing... 38 | start /wait ShareX_Setup.exe /VERYSILENT 39 | DEL "%TEMP%\ShareX_Setup.exe" 40 | DEL "sharex_latest.txt" 41 | DEL "sharex_url.txt" 42 | echo Finish!! 43 | pause 44 | exit /b 45 | 46 | ::Download CURL 47 | :GetFileSize 48 | if exist %~1 set FILESIZE=%~z1 49 | if not exist %~1 set FILESIZE=-1 50 | exit /b 51 | :AbsoluteDownloadCurl 52 | :loop_adc1 53 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 54 | if %FILESIZE% neq 2070016 ( 55 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 56 | goto :loop_adc1 57 | ) 58 | :loop_adc2 59 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 60 | if %FILESIZE% neq 261889 ( 61 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 62 | goto :loop_adc2 63 | ) 64 | exit /b 65 | -------------------------------------------------------------------------------- /install_speccy.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_speccy.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 04. 22... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_speccy 28 | echo Downloading... 29 | cd /D %TEMP% 30 | powershell "$HTML=Invoke-WebRequest -Uri 'https://www.ccleaner.com/speccy/download/standard' -UseBasicParsing;($HTML.Links.href) > speccy_latest.txt" 31 | powershell "get-content speccy_latest.txt -ReadCount 1000 | foreach { $_ -match 'spsetup' } | out-file -encoding ascii speccy_url.txt" 32 | set /p "url="<"speccy_url.txt" 33 | curlw -L "%url%" -o "spsetup.exe" 34 | echo Installing... 35 | start /wait spsetup.exe /S 36 | del spsetup.exe 37 | echo Finish!! 38 | pause 39 | exit /b 40 | 41 | ::Download CURL 42 | :GetFileSize 43 | if exist %~1 set FILESIZE=%~z1 44 | if not exist %~1 set FILESIZE=-1 45 | exit /b 46 | :AbsoluteDownloadCurl 47 | :loop_adc1 48 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 49 | if %FILESIZE% neq 2070016 ( 50 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 51 | goto :loop_adc1 52 | ) 53 | :loop_adc2 54 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 55 | if %FILESIZE% neq 261889 ( 56 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 57 | goto :loop_adc2 58 | ) 59 | exit /b 60 | -------------------------------------------------------------------------------- /install_teamviewer.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_teamviewer.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 14... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::::::::::::install 26 | title install_teamviewer 27 | echo Downloading... 28 | curlw -L "https://download.teamviewer.com/download/TeamViewer_Setup.exe" -o "%TEMP%\TeamViewer_Setup.exe" 29 | echo Installing... 30 | cd /D %TEMP% 31 | start /wait TeamViewer_Setup.exe /S /norestart 32 | del "%TEMP%\TeamViewer_Setup.exe" 33 | echo Finish!! 34 | pause 35 | exit /b 36 | 37 | ::Download CURL 38 | :GetFileSize 39 | if exist %~1 set FILESIZE=%~z1 40 | if not exist %~1 set FILESIZE=-1 41 | exit /b 42 | :AbsoluteDownloadCurl 43 | :loop_adc1 44 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 45 | if %FILESIZE% neq 2070016 ( 46 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 47 | goto :loop_adc1 48 | ) 49 | :loop_adc2 50 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 51 | if %FILESIZE% neq 261889 ( 52 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 53 | goto :loop_adc2 54 | ) 55 | exit /b 56 | -------------------------------------------------------------------------------- /install_vim.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_vim.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 08. 29... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | title install_vim 28 | echo Downloading... 29 | curlw -L "https://github.com/springkim/WSpring/releases/download/program/vim.zip" -o "%TEMP%\vim.zip" 30 | 31 | echo Unzipping... 32 | call :SafeRMDIR "%UserProfile%\hddb" 33 | powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('%TEMP%\vim.zip', '%SystemDrive%\vim'); }" 34 | 35 | call :DownloadSetw 36 | setw "%SystemDrive%\vim" 37 | 38 | 39 | 40 | DEL "%TEMP%\vim.zip" 41 | echo Finish!! 42 | pause 43 | exit /b 44 | 45 | :SafeRMDIR 46 | IF EXIST "%~1" ( 47 | RMDIR /S /Q "%~1" 48 | ) 49 | exit /b 50 | 51 | ::Download CURL 52 | :GetFileSize 53 | if exist %~1 set FILESIZE=%~z1 54 | if not exist %~1 set FILESIZE=-1 55 | exit /b 56 | :AbsoluteDownloadCurl 57 | :loop_adc1 58 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 59 | if %FILESIZE% neq 2070016 ( 60 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 61 | goto :loop_adc1 62 | ) 63 | :loop_adc2 64 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 65 | if %FILESIZE% neq 261889 ( 66 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 67 | goto :loop_adc2 68 | ) 69 | exit /b 70 | 71 | :DownloadSetw 72 | if not exist "%WINDIR%\system32\setw.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/setw.exe" -o "%WINDIR%\system32\setw.exe" 73 | exit /b 74 | -------------------------------------------------------------------------------- /install_visual_studio_2015_community.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_visual_studio_2015_community.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 03. 26... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::start 26 | title install_visual_studio_2015_community 27 | echo Downloading... 28 | 29 | curlw -L "https://github.com/springkim/WSpring/releases/download/vs2015/vs2015community.7z.001" -o "%TEMP%\vs2015community.7z.001" 30 | curlw -L "https://github.com/springkim/WSpring/releases/download/vs2015/vs2015community.7z.002" -o "%TEMP%\vs2015community.7z.002" 31 | 32 | echo Unzipping... 33 | cd /D %TEMP% 34 | call :Download7z 35 | 7z x vs2015community.7z.001 -y -o"%TEMP%" 36 | echo Installing... 37 | cd /D "%TEMP%\vs2015community" 38 | call vs_community.exe /AdminFile %CD%\AdminDeployment.xml /s 39 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%USERPROFILE%\Desktop\Visual Studio 2015.lnk');$s.TargetPath='%SystemDrive%\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe';$s.Save()" 40 | 41 | start /wait "VSIX" "%SystemDrive%\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe" -q "ColorThemeEditor.vsix" 42 | start /wait "VSIX" "%SystemDrive%\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe" -q "Open Command Line v2.1.179.vsix" 43 | start /wait "VSIX" "%SystemDrive%\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\VSIXInstaller.exe" -q "VSColorPicker.vsix" 44 | 45 | DEL "%TEMP%\vs2015community.7z" 46 | call :SafeRMDIR "%TEMP%\vs2015community" 47 | 48 | cd /D %TEMP% 49 | curlw -L "https://github.com/springkim/WSpring/releases/download/program/SDMiSaeng.ttf" -o "SDMS.ttf" 50 | call :FontInstall "SDMS.ttf" 51 | echo Finish!! 52 | pause 53 | exit /b 54 | 55 | :SafeRMDIR 56 | IF EXIST "%~1" ( 57 | RMDIR /S /Q "%~1" 58 | ) 59 | exit /b 60 | ::https://msdn.microsoft.com/ko-kr/library/mt720584.aspx 61 | ::https://social.msdn.microsoft.com/Forums/vstudio/en-US/826e52b6-a32b-4ef4-9bab-ed3c62038284/is-there-a-way-to-install-a-vsix-file-in-quitesilent-mode?forum=vsx 62 | 63 | :Download7z 64 | if not exist "%WINDIR%\system32\7z.exe" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.exe" -o "%WINDIR%\system32\7z.exe" 65 | if not exist "%WINDIR%\system32\7z.dll" curlw -L "https://github.com/springkim/WSpring/releases/download/bin/7z.dll" -o "%WINDIR%\system32\7z.dll" 66 | exit /b 67 | 68 | 69 | ::Download CURL 70 | :GetFileSize 71 | if exist %~1 set FILESIZE=%~z1 72 | if not exist %~1 set FILESIZE=-1 73 | exit /b 74 | :AbsoluteDownloadCurl 75 | :loop_adc1 76 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 77 | if %FILESIZE% neq 2070016 ( 78 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 79 | goto :loop_adc1 80 | ) 81 | :loop_adc2 82 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 83 | if %FILESIZE% neq 261889 ( 84 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 85 | goto :loop_adc2 86 | ) 87 | exit /b 88 | 89 | :FontInstall 90 | SET FFILE=%~n1%~x1 91 | SET FNAME=%~n1 92 | SET FNAME=%FNAME:-= % 93 | IF "%~x1"==".otf" SET FTYPE=(OpenType) 94 | IF "%~x1"==".ttf" SET FTYPE=(TrueType) 95 | COPY /Y "%~n1%~x1" "%SystemRoot%\Fonts\" >nul 96 | reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "%FNAME% %FTYPE%" /t REG_SZ /d "%FFILE%" /f >nul 97 | exit /b 98 | -------------------------------------------------------------------------------- /install_visual_studio_code.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_visual_studio_code.bat 3 | :: WSpring 4 | :: 5 | :: Created by Woocheol on 2019. 02. 12... 6 | :: Copyright 2017-2019 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::start 27 | cd /D %TEMP% 28 | title install_visual_studio_code 29 | echo Downloading... 30 | powershell "Set-ExecutionPolicy RemoteSigned -Force" 31 | set INSTALL_NAME=VSCodeUserSetup-x64-latest.exe 32 | curlw -L "https://aka.ms/win32-x64-user-stable" -o "%INSTALL_NAME%" 33 | echo Installing... 34 | start /wait %INSTALL_NAME% /VERYSILENT 35 | echo Finish!! 36 | pause 37 | exit /b 38 | 39 | ::Download CURL 40 | :GetFileSize 41 | if exist %~1 set FILESIZE=%~z1 42 | if not exist %~1 set FILESIZE=-1 43 | exit /b 44 | :AbsoluteDownloadCurl 45 | :loop_adc1 46 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 47 | if %FILESIZE% neq 2070016 ( 48 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 49 | goto :loop_adc1 50 | ) 51 | :loop_adc2 52 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 53 | if %FILESIZE% neq 261889 ( 54 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 55 | goto :loop_adc2 56 | ) 57 | exit /b -------------------------------------------------------------------------------- /install_waterfox.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_waterfox.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 09. 17... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | 26 | ::::::::::::install 27 | title install_waterfox 28 | echo Downloading... 29 | cd /D %TEMP% 30 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://www.waterfox.net/download/' -UseBasicParsing;($HTML.Links.href) > parse_waterfox.txt" 31 | powershell "get-content parse_waterfox.txt -ReadCount 1000 | foreach { $_ -match 'win64/installer' } | out-file -encoding ascii parse_waterfox1.txt" 32 | powershell "get-content parse_waterfox1.txt -ReadCount 1000 | foreach { $_ -match 'Current' } | out-file -encoding ascii parse_waterfox2.txt" 33 | set /p "url="<"parse_waterfox2.txt" 34 | curlw -L "%url%" -o "%TEMP%\waterfox.exe" 35 | 36 | echo Installing... 37 | "%TEMP%\waterfox.exe" -ms 38 | DEL "%TEMP%\waterfox.exe" 39 | echo Finish!! 40 | pause 41 | exit /b 42 | 43 | ::Download CURL 44 | :GetFileSize 45 | if exist %~1 set FILESIZE=%~z1 46 | if not exist %~1 set FILESIZE=-1 47 | exit /b 48 | :AbsoluteDownloadCurl 49 | :loop_adc1 50 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 51 | if %FILESIZE% neq 2070016 ( 52 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 53 | goto :loop_adc1 54 | ) 55 | :loop_adc2 56 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 57 | if %FILESIZE% neq 261889 ( 58 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 59 | goto :loop_adc2 60 | ) 61 | exit /b 62 | -------------------------------------------------------------------------------- /install_windows_terminal.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_windows_terminal.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2020. 11. 09... 6 | :: Copyright 2017-2020 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | call :AbsoluteDownloadCurl 25 | ::::::::::::install 26 | SETLOCAL EnableDelayedExpansion 27 | FOR /D %%E IN ("C:/Program Files (x86)/Windows Kits/10/bin/*") DO ( 28 | set file=%%~nxE 29 | echo !file! 30 | ) 31 | 32 | 33 | 34 | echo Finish! 35 | pause 36 | exit /b 37 | 38 | ::Download CURL 39 | :GetFileSize 40 | if exist %~1 set FILESIZE=%~z1 41 | if not exist %~1 set FILESIZE=-1 42 | exit /b 43 | :AbsoluteDownloadCurl 44 | :loop_adc1 45 | call :GetFileSize "%SystemRoot%\System32\curlw.exe" 46 | if %FILESIZE% neq 2070016 ( 47 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/curl.exe','%WINDIR%\System32\curlw.exe')" 48 | goto :loop_adc1 49 | ) 50 | :loop_adc2 51 | call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" 52 | if %FILESIZE% neq 261889 ( 53 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/springkim/WSpring/releases/download/bin/ca-bundle.crt','%WINDIR%\System32\ca-bundle.crt')" 54 | goto :loop_adc2 55 | ) 56 | exit /b 57 | -------------------------------------------------------------------------------- /install_wsl.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: install_wsl(Windows Subsystem for Linux).bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 02. 03... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | 25 | 26 | ::::::::::::install 27 | echo !!!!!Warning!!!!!!! 28 | echo !!!!!Warning!!!!!!! 29 | echo !!!!!Warning!!!!!!! 30 | echo This script will restart your PC. 31 | @echo off 32 | setlocal 33 | :PROMPT 34 | SET /P AREYOUSURE=Are you sure to run this script(Y/[N])? 35 | IF /I "%AREYOUSURE%" NEQ "Y" GOTO END 36 | 37 | 38 | powershell Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 39 | if not exist %APPDATA%\..\Local\lxss ( 40 | lxrun /install 41 | ) 42 | 43 | ::Install XMING 44 | ::powershell "(New-Object System.Net.WebClient).DownloadFile('https://www.dropbox.com/s/ypxtonz2shil2se/Xming-6-9-0-31-setup.exe?dl=1','Xming-6-9-0-31-setup.exe')" 45 | ::if not exist %SystemDrive%\install\Logs\ md %SystemDrive%\install\Logs\ 46 | ::"%~dp0Xming-6-9-0-31-setup.exe" /verysilent /norestart /LOG="%systemdrive%\install\logs\Xming_6_9_0_31.log" 47 | 48 | ::Install VcxSrv 49 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $HTML=Invoke-WebRequest -Uri 'https://github.com/ArcticaProject/vcxsrv/releases/latest' -UseBasicParsing;($HTML.Links.href) > vcxsrv_latest.txt" 50 | powershell "get-content vcxsrv_latest.txt -ReadCount 1000 | foreach { $_ -match 'installer.exe' } | out-file -encoding ascii vcxsrv_url.txt" 51 | powershell "get-content vcxsrv_url.txt -ReadCount 1000 | foreach { $_ -notMatch 'debug' } | out-file -encoding ascii vcxsrv_url2.txt" 52 | set /p "url="<"vcxsrv_url2.txt" 53 | powershell "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com%url%','vcxsrv.exe')" 54 | vcxsrv.exe /S 55 | echo Installing... 56 | 57 | 58 | 59 | del /S /Q "%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Xming\Uninstall Xming.lnk" >;NUL 2>&1 60 | del /S /Q "%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Xming\Xming on the Web.lnk" >;NUL 2>&1 61 | netsh advfirewall firewall add rule name="Xming" dir=in action=allow program="C:\Program Files\Xming\Xming.exe" enable=yes LocalSubnet profile=domain 62 | del Xming-6-9-0-31-setup.exe 63 | echo "WSL and XMing installed!" 64 | echo "Please, Run WSL and download USpring(https://github.com/springkim/USpring) for setup WSL." 65 | 66 | ::C:\Windows\System32\bash.exe {12345678-1234-5678-0123-456789abcdef} ~ 67 | 68 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\ubuntu.lnk');$s.TargetPath='%SystemDrive%\Windows\System32\bash.exe';$s.Arguments = ' {12345678-1234-5678-0123-456789abcdef} ~';$s.IconLocation='%USERPROFILE%\AppData\Local\lxss\bash.ico';$s.Save()" 69 | powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%USERPROFILE%\Desktop\ubuntu.lnk');$s.TargetPath='%SystemDrive%\Windows\System32\bash.exe';$s.Arguments = ' {12345678-1234-5678-0123-456789abcdef} ~';$s.IconLocation='%USERPROFILE%\AppData\Local\lxss\bash.ico';$s.Save()" 70 | 71 | ::remove 72 | :: lxrun /uninstall /full 73 | echo Finish!! 74 | :END 75 | endlocal 76 | pause 77 | exit /b 78 | 79 | 80 | 81 | :SafeRMDIR 82 | IF EXIST "%~1" ( 83 | RMDIR /S /Q "%~1" 84 | ) 85 | exit /b 86 | ::https://sccmpackager.wordpress.com/category/xming-deployment/xming-silent-install/ 87 | -------------------------------------------------------------------------------- /setting/ShareX-12.4.1-backup.sxb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/setting/ShareX-12.4.1-backup.sxb -------------------------------------------------------------------------------- /setting/ShareX-13.0.1-backup.sxb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/setting/ShareX-13.0.1-backup.sxb -------------------------------------------------------------------------------- /setting/VSI_bundle.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/setting/VSI_bundle.exe -------------------------------------------------------------------------------- /setting/atom-synchronization.md: -------------------------------------------------------------------------------- 1 | ## Atom synchronization 2 | 3 | ### 1. Create Github Token and Gist ID. 4 | 5 | Generate Github Token on [https://github.com/settings/tokens/new](https://github.com/settings/tokens/new) as below. 6 | 7 | ![](https://i.imgur.com/NZSa1cK.png) 8 | 9 | And generate Gist ID on [https://gist.github.com/](https://gist.github.com/). 10 | 11 | You need to make gist as public. The Gist ID is end of your gist url. 12 | 13 | ### 2. Install `sync-setting` on atom editor. 14 | 15 | Go to `File`->`Settings`->`Install` and search `sync-setting`. 16 | 17 | ![](https://i.imgur.com/XVaAceb.gif) 18 | 19 | Write your Github token and Gist ID as below. 20 | 21 | ![](https://i.imgur.com/3mDVhRA.png) 22 | 23 | -------------------------------------------------------------------------------- /setting/산돌미생체(SDMiSaeng).ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/setting/산돌미생체(SDMiSaeng).ttf -------------------------------------------------------------------------------- /src/CMake.md: -------------------------------------------------------------------------------- 1 | ## CMake options 2 | 3 | ### generator 4 | ``` 5 | Visual Studio 15 2017 6 | Visual Studio 15 2017 ARM 7 | Visual Studio 15 2017 Win64 8 | Visual Studio 14 2015 9 | Visual Studio 14 2015 ARM 10 | Visual Studio 14 2015 Win64 11 | Visual Studio 12 2013 12 | Visual Studio 12 2013 ARM 13 | Visual Studio 12 2013 Win64 14 | Visual Studio 11 2012 15 | Visual Studio 11 2012 ARM 16 | Visual Studio 11 2012 Win64 17 | Visual Studio 10 2010 18 | Visual Studio 10 2010 IA64 19 | Visual Studio 10 2010 Win64 20 | Visual Studio 9 2008 21 | Visual Studio 9 2008 IA64 22 | Visual Studio 9 2008 Win64 23 | Borland Makefiles 24 | NMake Makefiles 25 | NMake Makefiles JOM 26 | Green Hills MULTI 27 | MSYS Makefiles 28 | MinGW Makefiles 29 | Unix Makefiles 30 | Ninja 31 | Watcom WMake 32 | CodeBlocks - MinGW Makefiles 33 | CodeBlocks - NMake Makefiles 34 | CodeBlocks - MinGW Makefiles JOM 35 | CodeBlocks - Ninja 36 | CodeBlocks - Unix Makefiles 37 | CodeLite - MinGW Makefiles 38 | CodeLite - NMake Makefiles 39 | CodeLite - Ninja 40 | CodeLite - Unix Makefiles 41 | Sublime Text 2 - MinGW Makefiles 42 | Sublime Text 2 - NMake Makefiles 43 | Sublime Text 2 - Ninja 44 | Sublime Text 2 - Unix Makefiles 45 | Kate - MinGW Makefiles 46 | Kate - NMake Makefiles 47 | Kate - Ninja 48 | Kate - Unix Makefiles 49 | Eclipse CDT4 - MinGW Makefiles 50 | Eclipse CDT4 - NMake Makefiles 51 | Eclipse CDT4 - Ninja 52 | Eclipse CDT4 - Unix Makefiles 53 | ``` -------------------------------------------------------------------------------- /src/L2W/unistd.h: -------------------------------------------------------------------------------- 1 | #ifndef _UNISTD_H 2 | #define _UNISTD_H 1 3 | 4 | /* This file intended to serve as a drop-in replacement for 5 | * unistd.h on Windows. 6 | * Please add functionality as neeeded. 7 | * Original file from: http://stackoverflow.com/a/826027 8 | */ 9 | 10 | #include 11 | #include 12 | #include /* getopt at: https://gist.github.com/bikerm16/1b75e2dd20d839dcea58 */ 13 | #include /* for getpid() and the exec..() family */ 14 | #include /* for _getcwd() and _chdir() */ 15 | 16 | #define srandom srand 17 | #define random rand 18 | 19 | /* Values for the second argument to access. 20 | These may be OR'd together. */ 21 | #define R_OK 4 /* Test for read permission. */ 22 | #define W_OK 2 /* Test for write permission. */ 23 | #define X_OK R_OK /* execute permission - unsupported in Windows, 24 | use R_OK instead. */ 25 | #define F_OK 0 /* Test for existence. */ 26 | 27 | #define access _access 28 | #define dup2 _dup2 29 | #define execve _execve 30 | #define ftruncate _chsize 31 | #define unlink _unlink 32 | #define fileno _fileno 33 | #define getcwd _getcwd 34 | #define chdir _chdir 35 | #define isatty _isatty 36 | #define lseek _lseek 37 | /* read, write, and close are NOT being #defined here, 38 | * because while there are file handle specific versions for Windows, 39 | * they probably don't work for sockets. 40 | * You need to look at your app and consider whether 41 | * to call e.g. closesocket(). 42 | */ 43 | 44 | #define ssize_t int 45 | 46 | #define STDIN_FILENO 0 47 | #define STDOUT_FILENO 1 48 | #define STDERR_FILENO 2 49 | /* should be in some equivalent to */ 50 | typedef __int8 int8_t; 51 | typedef __int16 int16_t; 52 | typedef __int32 int32_t; 53 | typedef __int64 int64_t; 54 | typedef unsigned __int8 uint8_t; 55 | typedef unsigned __int16 uint16_t; 56 | typedef unsigned __int32 uint32_t; 57 | typedef unsigned __int64 uint64_t; 58 | 59 | #endif /* unistd.h */ 60 | -------------------------------------------------------------------------------- /src/imw.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main(int argc,char** argv) { 4 | //argv[1]=Image path 5 | HINSTANCE hInstance = GetModuleHandle(NULL); 6 | HWND hWnd = FindWindow(TEXT("ConsoleWindowClass"), NULL); 7 | HBITMAP hImage=NULL, hOldBitmap; 8 | HDC hdc = GetDC(hWnd); 9 | HDC hMemDC = CreateCompatibleDC(hdc); 10 | hImage = (HBITMAP)LoadImageA(NULL,argv[1],IMAGE_BITMAP,0,0,LR_LOADFROMFILE | LR_CREATEDIBSECTION); 11 | hOldBitmap = (HBITMAP)SelectObject(hMemDC, hImage); 12 | while (1) { 13 | BitBlt(hdc, 10, 10, 128, 128, hMemDC, 0, 0, SRCCOPY); 14 | Sleep(1); 15 | } 16 | SelectObject(hMemDC, hOldBitmap); 17 | DeleteObject(hImage); 18 | DeleteDC(hMemDC); 19 | ReleaseDC(hWnd, hdc); 20 | return 0; 21 | } -------------------------------------------------------------------------------- /src/setw.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | bool DirectoryExist(std::string dir) { 4 | DWORD ftyp = GetFileAttributesA(dir.c_str()); 5 | return ftyp == FILE_ATTRIBUTE_DIRECTORY; 6 | } 7 | bool SystemPathAdd(const char* name) { 8 | const char* PATH = "Path"; 9 | const HKEY hkey = HKEY_LOCAL_MACHINE; 10 | const char* sub_key_name = "System\\CurrentControlSet\\Control\\Session Manager\\Environment"; 11 | HKEY sub_hkey; 12 | bool ret = true; 13 | do { 14 | RegOpenKeyExA(hkey, sub_key_name, 0, KEY_QUERY_VALUE | KEY_SET_VALUE, &sub_hkey); 15 | DWORD size; 16 | std::string value; 17 | if (RegQueryValueExA(sub_hkey, PATH, 0, NULL, NULL, &size) != ERROR_SUCCESS) { 18 | ret = false; 19 | break; 20 | } 21 | char* data = new char[size]; 22 | RegQueryValueExA(sub_hkey, PATH, 0, NULL, (LPBYTE)data, &size); 23 | value.assign(data); 24 | delete[] data; 25 | 26 | std::string::size_type pos = value.find(name, 0); 27 | while (pos != std::string::npos) { 28 | if ((0 == pos || (';' == value[pos - 1])) && ((pos + strlen(name) == value.length()) || (';' == value[pos + strlen(name)]))) { 29 | pos = 0; 30 | break; 31 | } 32 | pos = value.find(name, pos + 1); 33 | } 34 | if (pos == 0 || value.length() == 0) { 35 | ret = false; 36 | break; 37 | } 38 | value = value + ';' + name; 39 | RegOpenKeyExA(hkey, sub_key_name, 0, KEY_QUERY_VALUE | KEY_SET_VALUE, &sub_hkey); 40 | RegSetValueExA(sub_hkey, PATH, 0, REG_EXPAND_SZ, reinterpret_cast(value.c_str()), value.length() + 1); 41 | DWORD_PTR result; 42 | SendMessageTimeoutA(HWND_BROADCAST, WM_SETTINGCHANGE, NULL, reinterpret_cast("Environment"), SMTO_NORMAL, 100U, &result); 43 | } while (0); 44 | RegCloseKey(hkey); 45 | return ret; 46 | } 47 | int main(int argc, char** argv) { 48 | if (argc == 2) { 49 | std::string path = argv[1]; 50 | std::string p; 51 | for (auto&c : path) { 52 | if (c != '\"') { 53 | p.push_back(c); 54 | } 55 | } 56 | if (DirectoryExist(p)) { 57 | SystemPathAdd(p.c_str()); 58 | return 0; 59 | } 60 | std::cerr << "Path error!" << std::endl; 61 | return 1; 62 | } else { 63 | std::cerr << "Argument error!" << std::endl; 64 | } 65 | return 1; 66 | } -------------------------------------------------------------------------------- /uninstall_onedrive.bat: -------------------------------------------------------------------------------- 1 | :: 2 | :: uninstall_onedrive.bat 3 | :: WSpring 4 | :: 5 | :: Created by kimbomm on 2018. 03. 12... 6 | :: Copyright 2017-2018 kimbomm. All rights reserved. 7 | :: 8 | @echo off 9 | >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" 10 | if '%errorlevel%' NEQ '0' ( 11 | echo Get admin permission... 12 | goto UACPrompt 13 | ) else ( goto gotAdmin ) 14 | :UACPrompt 15 | echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" 16 | set params = %*:"="" 17 | echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" 18 | "%temp%\getadmin.vbs" 19 | rem del "%temp%\getadmin.vbs" 20 | exit /B 21 | :gotAdmin 22 | pushd "%CD%" 23 | CD /D "%~dp0" 24 | 25 | title uninstall_onedrive 26 | set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe" 27 | set x64="%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe" 28 | 29 | taskkill /f /im OneDrive.exe > NUL 2>&1 30 | ping 127.0.0.1 -n 5 > NUL 2>&1 31 | 32 | if exist %x64% ( 33 | %x64% /uninstall 34 | ) else ( 35 | %x86% /uninstall 36 | ) 37 | ping 127.0.0.1 -n 5 > NUL 2>&1 38 | echo remove onedrive files 39 | rd "%USERPROFILE%\OneDrive" /Q /S > NUL 2>&1 40 | rd "C:\OneDriveTemp" /Q /S > NUL 2>&1 41 | rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S > NUL 2>&1 42 | rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S > NUL 2>&1 43 | 44 | echo remove onedrive registries 45 | REG DELETE "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1 46 | REG DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1 47 | 48 | echo Finish!! 49 | pause 50 | exit /b 51 | -------------------------------------------------------------------------------- /visual studio 2017/Binggrae-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/visual studio 2017/Binggrae-Bold.ttf -------------------------------------------------------------------------------- /visual studio 2017/Binggrae.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/visual studio 2017/Binggrae.ttf -------------------------------------------------------------------------------- /visual studio 2017/ColorThemeEditor.vsix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/visual studio 2017/ColorThemeEditor.vsix -------------------------------------------------------------------------------- /visual studio 2017/Readme.md: -------------------------------------------------------------------------------- 1 | ## Material Design for VS 2017 2 | 3 | * [Color Theme Editor for Visual Studio 2017](https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.VisualStudio2017ColorThemeEditor) 4 | 5 | * [Matrial Theme IDE](https://github.com/JordanTHarris/VSMaterialTheme) 6 | 7 | * [Matrial Theme Editor](https://studiostyl.es/schemes/material-theme) -------------------------------------------------------------------------------- /visual studio 2017/vs_community__1772482806.1549290918.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/visual studio 2017/vs_community__1772482806.1549290918.exe -------------------------------------------------------------------------------- /visual studio 2019/VSColorThemes.vsix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/springkim/WSpring/2786bfccebdd106f77878e5be9e1095c6aebfc2c/visual studio 2019/VSColorThemes.vsix --------------------------------------------------------------------------------