-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
2,913 additions
and
2,860 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
aipsb/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
:: | ||
:: install_chrome.bat | ||
:: WSpring | ||
:: | ||
:: Created by kimbomm on 2018. 03. 24... | ||
:: Copyright 2017-2018 kimbomm. All rights reserved. | ||
:: | ||
@echo off | ||
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" | ||
if '%errorlevel%' NEQ '0' ( | ||
echo Get admin permission... | ||
goto UACPrompt | ||
) else ( goto gotAdmin ) | ||
:UACPrompt | ||
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" | ||
set params = %*:"="" | ||
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" | ||
"%temp%\getadmin.vbs" | ||
rem del "%temp%\getadmin.vbs" | ||
exit /B | ||
:gotAdmin | ||
pushd "%CD%" | ||
CD /D "%~dp0" | ||
call :AbsoluteDownloadCurl | ||
::start | ||
title install_chrome | ||
echo Downloading... | ||
curlw -L "https://github.com/springkim/WSpring/releases/download/program/ChromeCanarySetup.exe" -o "%TEMP%\ChromeCanarySetup.exe" | ||
echo Installing... | ||
cd /D %TEMP% | ||
call ChromeCanarySetup.exe /silent /install | ||
del "%TEMP%\ChromeCanarySetup.exe" | ||
echo Finish!! | ||
pause | ||
|
||
::Download CURL | ||
:GetFileSize | ||
if exist %~1 set FILESIZE=%~z1 | ||
if not exist %~1 set FILESIZE=-1 | ||
exit /b | ||
:AbsoluteDownloadCurl | ||
:loop_adc1 | ||
call :GetFileSize "%SystemRoot%\System32\curlw.exe" | ||
if %FILESIZE% neq 2070016 ( | ||
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')" | ||
goto :loop_adc1 | ||
) | ||
:loop_adc2 | ||
call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" | ||
if %FILESIZE% neq 261889 ( | ||
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')" | ||
goto :loop_adc2 | ||
) | ||
exit /b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
:: | ||
:: install_chrominum.bat | ||
:: WSpring | ||
:: | ||
:: Created by kimbomm on 2020. 01. 09... | ||
:: Copyright 2017-2021 kimbomm. All rights reserved. | ||
:: | ||
@echo off | ||
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" | ||
if '%errorlevel%' NEQ '0' ( | ||
echo Get admin permission... | ||
goto UACPrompt | ||
) else ( goto gotAdmin ) | ||
:UACPrompt | ||
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" | ||
set params = %*:"="" | ||
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" | ||
"%temp%\getadmin.vbs" | ||
rem del "%temp%\getadmin.vbs" | ||
exit /B | ||
:gotAdmin | ||
pushd "%CD%" | ||
CD /D "%~dp0" | ||
call :AbsoluteDownloadCurl | ||
::start | ||
title install_chrome | ||
echo Downloading... | ||
curlw -L "https://commondatastorage.googleapis.com/chromium-browser-snapshots/Win_x64/841562/chrome-win.zip" -o "%TEMP%\Chromium.zip" | ||
echo Unzipping... | ||
call :SafeRMDIR "%SystemDrive%\Program Files\Chromium" | ||
powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('%TEMP%\Chromium.zip', '%SystemDrive%\Program Files\Chromium'); }" | ||
echo Installing... | ||
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()" | ||
powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%USERPROFILE%\Desktop\Chromium.lnk');$s.TargetPath='%SystemDrive%\Program Files\Chromium\chrome-win\chrome.exe';$s.Save()" | ||
pause | ||
|
||
|
||
:SafeRMDIR | ||
IF EXIST "%~1" ( | ||
RMDIR /S /Q "%~1" | ||
) | ||
exit /b | ||
::Download CURL | ||
:GetFileSize | ||
if exist %~1 set FILESIZE=%~z1 | ||
if not exist %~1 set FILESIZE=-1 | ||
exit /b | ||
:AbsoluteDownloadCurl | ||
:loop_adc1 | ||
call :GetFileSize "%SystemRoot%\System32\curlw.exe" | ||
if %FILESIZE% neq 2070016 ( | ||
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')" | ||
goto :loop_adc1 | ||
) | ||
:loop_adc2 | ||
call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" | ||
if %FILESIZE% neq 261889 ( | ||
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')" | ||
goto :loop_adc2 | ||
) | ||
exit /b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
:: | ||
:: install_windows_terminal.bat | ||
:: WSpring | ||
:: | ||
:: Created by kimbomm on 2020. 11. 09... | ||
:: Copyright 2017-2020 kimbomm. All rights reserved. | ||
:: | ||
@echo off | ||
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" | ||
if '%errorlevel%' NEQ '0' ( | ||
echo Get admin permission... | ||
goto UACPrompt | ||
) else ( goto gotAdmin ) | ||
:UACPrompt | ||
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" | ||
set params = %*:"="" | ||
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" | ||
"%temp%\getadmin.vbs" | ||
rem del "%temp%\getadmin.vbs" | ||
exit /B | ||
:gotAdmin | ||
pushd "%CD%" | ||
CD /D "%~dp0" | ||
call :AbsoluteDownloadCurl | ||
::::::::::::install | ||
SETLOCAL EnableDelayedExpansion | ||
FOR /D %%E IN ("C:/Program Files (x86)/Windows Kits/10/bin/*") DO ( | ||
set file=%%~nxE | ||
echo !file! | ||
) | ||
|
||
|
||
|
||
echo Finish! | ||
pause | ||
exit /b | ||
|
||
::Download CURL | ||
:GetFileSize | ||
if exist %~1 set FILESIZE=%~z1 | ||
if not exist %~1 set FILESIZE=-1 | ||
exit /b | ||
:AbsoluteDownloadCurl | ||
:loop_adc1 | ||
call :GetFileSize "%SystemRoot%\System32\curlw.exe" | ||
if %FILESIZE% neq 2070016 ( | ||
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')" | ||
goto :loop_adc1 | ||
) | ||
:loop_adc2 | ||
call :GetFileSize "%SystemRoot%\System32\ca-bundle.crt" | ||
if %FILESIZE% neq 261889 ( | ||
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')" | ||
goto :loop_adc2 | ||
) | ||
exit /b |
Binary file not shown.