rename some files
This commit is contained in:
parent
bf1cf18111
commit
76cf4f8543
5 changed files with 14 additions and 13 deletions
6
Makefile
6
Makefile
|
@ -185,11 +185,11 @@ sync-wsl:
|
||||||
WIN = (Windows) # specific prefix since we're running it from WSL for windows
|
WIN = (Windows) # specific prefix since we're running it from WSL for windows
|
||||||
sync-windows:
|
sync-windows:
|
||||||
# Scripts
|
# Scripts
|
||||||
@$(WGET) $(REPO_SRC)/windows/blockthespot.bat -O $(WIN_HOME)/Documents/Local/blockthespot.bat
|
|
||||||
@$(WGET) $(REPO_SRC)/windows/ctmpf.bat -O $(WIN_HOME)/Documents/Local/ctmpf.bat
|
|
||||||
@$(WGET) $(REPO_SRC)/windows/update.bat -O $(WIN_HOME)/Documents/Local/update.bat
|
@$(WGET) $(REPO_SRC)/windows/update.bat -O $(WIN_HOME)/Documents/Local/update.bat
|
||||||
|
@$(WGET) $(REPO_SRC)/windows/clean.bat -O $(WIN_HOME)/Documents/Local/ctmpf.bat
|
||||||
|
@$(WGET) $(REPO_SRC)/windows/installers/spotify.bat -O $(WIN_HOME)/Documents/Local/blockthespot.bat
|
||||||
|
@$(WGET) $(REPO_SRC)/windows/installers/vencord.bat -O $(WIN_HOME)/Documents/Local/vencord_installer.bat
|
||||||
@$(WGET) $(REPO_SRC)/windows/fix_nvidia_wsl.bat -O $(WIN_HOME)/Documents/Local/fix_nvidia_wsl.bat
|
@$(WGET) $(REPO_SRC)/windows/fix_nvidia_wsl.bat -O $(WIN_HOME)/Documents/Local/fix_nvidia_wsl.bat
|
||||||
@$(WGET) $(REPO_SRC)/windows/vencord_installer.bat -O $(WIN_HOME)/Documents/Local/vencord_installer.bat
|
|
||||||
@$(WGET) $(REPO_SRC)/windows/fix_mihoyo_shortcut.bat -O $(WIN_HOME)/Documents/Local/fix_mihoyo_shortcut.bat
|
@$(WGET) $(REPO_SRC)/windows/fix_mihoyo_shortcut.bat -O $(WIN_HOME)/Documents/Local/fix_mihoyo_shortcut.bat
|
||||||
# @$(WGET) $(REPO_SRC)/windows/fix_obs_shortcut.bat -O $(WIN_HOME)/Documents/Local/fix_obs_shortcut.bat
|
# @$(WGET) $(REPO_SRC)/windows/fix_obs_shortcut.bat -O $(WIN_HOME)/Documents/Local/fix_obs_shortcut.bat
|
||||||
@echo "$(WIN) Scripts synced!"
|
@echo "$(WIN) Scripts synced!"
|
||||||
|
|
|
@ -18,9 +18,19 @@ fltmc >NUL 2>&1 || (
|
||||||
"del .\winget.msixbundle"
|
"del .\winget.msixbundle"
|
||||||
|
|
||||||
|
|
||||||
|
:: === Scripts from ./windows directory ==
|
||||||
|
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/update.bat -OutFile '!local!\update.bat'"
|
||||||
|
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/clean.bat -OutFile '!local!\ctmpf.bat'"
|
||||||
|
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/spotify.bat -OutFile '!local!\blockthespot.bat'"
|
||||||
|
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/vencord.bat -OutFile '!local!\vencord_installer.bat'"
|
||||||
|
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_nvidia_wsl.bat -OutFile '!local!\fix_nvidia_wsl.bat'"
|
||||||
|
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_mihoyo_shortcut.bat -OutFile '!local!\fix_mihoyo_shortcut.bat'"
|
||||||
|
:: PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_obs_shortcut.bat -OutFile '!local!\fix_obs_shortcut.bat'"
|
||||||
|
|
||||||
|
|
||||||
:: === Install Spotify ==
|
:: === Install Spotify ==
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/blockthespot.bat -OutFile '!local!\blockthespot.bat'"
|
|
||||||
DEL "%APPDATA%\Spotify"
|
DEL "%APPDATA%\Spotify"
|
||||||
|
:: Use already downloaded script
|
||||||
ECHO Y| CMD /c "!local!\blockthespot.bat" yes
|
ECHO Y| CMD /c "!local!\blockthespot.bat" yes
|
||||||
PowerShell -Command "Stop-Process -Name Spotify -ErrorAction SilentlyContinue"
|
PowerShell -Command "Stop-Process -Name Spotify -ErrorAction SilentlyContinue"
|
||||||
|
|
||||||
|
@ -219,15 +229,6 @@ PowerShell -Command "Install-PackageProvider -Name NuGet -Force"
|
||||||
PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force"
|
PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force"
|
||||||
|
|
||||||
|
|
||||||
:: === Scripts from ./windows directory ==
|
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/ctmpf.bat -OutFile '!local!\ctmpf.bat'"
|
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/update.bat -OutFile '!local!\update.bat'"
|
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_nvidia_wsl.bat -OutFile '!local!\fix_nvidia_wsl.bat'"
|
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/vencord_installer.bat -OutFile '!local!\vencord_installer.bat'"
|
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_mihoyo_shortcut.bat -OutFile '!local!\fix_mihoyo_shortcut.bat'"
|
|
||||||
:: PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_obs_shortcut.bat -OutFile '!local!\fix_obs_shortcut.bat'"
|
|
||||||
|
|
||||||
|
|
||||||
:: === Geek Uninstaller ==
|
:: === Geek Uninstaller ==
|
||||||
ECHO Geek Uninstaller...
|
ECHO Geek Uninstaller...
|
||||||
PowerShell -Command "" ^
|
PowerShell -Command "" ^
|
||||||
|
|
Loading…
Reference in a new issue