Merge branch 'main' of git.mylloon.fr:Anri/confOS
This commit is contained in:
commit
207237aa35
5 changed files with 32 additions and 28 deletions
3
Makefile
3
Makefile
|
@ -125,10 +125,11 @@ sync-wsl:
|
||||||
# Windows through WSL
|
# Windows through WSL
|
||||||
sync-windows:
|
sync-windows:
|
||||||
# Scripts
|
# Scripts
|
||||||
@$(WGET) $(REPO_SRC)/windows/ctmpf.bat -O $(WIN_HOME)/Documents/Local/ctmpf.bat
|
|
||||||
@$(WGET) $(REPO_SRC)/windows/blockthespot.bat -O $(WIN_HOME)/Documents/Local/blockthespot.bat
|
@$(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/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
|
||||||
@echo "(Windows) Scripts synced!"
|
@echo "(Windows) Scripts synced!"
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,8 @@ PowerShell -Command "Stop-Process -Name Spotify -ErrorAction SilentlyContinue"
|
||||||
|
|
||||||
:: Patch spotify
|
:: Patch spotify
|
||||||
ECHO Patch spotify avec BlockTheSpot
|
ECHO Patch spotify avec BlockTheSpot
|
||||||
PowerShell -Command "cd $HOME;" ^
|
PowerShell -Command "" ^
|
||||||
|
"cd $HOME;" ^
|
||||||
"$url_elf = 'https://github.com/mrpond/BlockTheSpot/releases/latest/download/chrome_elf.zip';" ^
|
"$url_elf = 'https://github.com/mrpond/BlockTheSpot/releases/latest/download/chrome_elf.zip';" ^
|
||||||
"$dest_elf = Join-Path -Path $PWD -ChildPath 'chrome_elf.zip';" ^
|
"$dest_elf = Join-Path -Path $PWD -ChildPath 'chrome_elf.zip';" ^
|
||||||
"$spotifyDirectory = Join-Path -Path $env:APPDATA -ChildPath 'Spotify';" ^
|
"$spotifyDirectory = Join-Path -Path $env:APPDATA -ChildPath 'Spotify';" ^
|
||||||
|
|
|
@ -8,7 +8,8 @@ fltmc >NUL 2>&1 || (
|
||||||
EXIT 0
|
EXIT 0
|
||||||
)
|
)
|
||||||
|
|
||||||
PowerShell -Command "$WshShell = New-Object -COM WScript.Shell;" ^
|
PowerShell -Command "" ^
|
||||||
|
"$WshShell = New-Object -COM WScript.Shell;" ^
|
||||||
"$Shortcut = $WshShell.CreateShortcut('%ProgramData%\Microsoft\Windows\Start Menu\Programs\OBS Studio\OBS Studio (64bit).lnk');" ^
|
"$Shortcut = $WshShell.CreateShortcut('%ProgramData%\Microsoft\Windows\Start Menu\Programs\OBS Studio\OBS Studio (64bit).lnk');" ^
|
||||||
"$Shortcut.TargetPath = '%ProgramFiles%\obs-studio\bin\64bit\obs64.exe';" ^
|
"$Shortcut.TargetPath = '%ProgramFiles%\obs-studio\bin\64bit\obs64.exe';" ^
|
||||||
"$Shortcut.WorkingDirectory = '%ProgramFiles%\obs-studio\bin\64bit';" ^
|
"$Shortcut.WorkingDirectory = '%ProgramFiles%\obs-studio\bin\64bit';" ^
|
||||||
|
|
|
@ -4,7 +4,8 @@ ECHO Ferme Discord
|
||||||
TASKKILL /im Discord.exe /F
|
TASKKILL /im Discord.exe /F
|
||||||
|
|
||||||
ECHO Installe Vencord
|
ECHO Installe Vencord
|
||||||
PowerShell -Command "$link = 'https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli.exe';" ^
|
PowerShell -Command "" ^
|
||||||
|
"$link = 'https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli.exe';" ^
|
||||||
"$file = 'vencord.exe';" ^
|
"$file = 'vencord.exe';" ^
|
||||||
"$outfile = Join-Path -Path $env:TEMP -ChildPath $file;" ^
|
"$outfile = Join-Path -Path $env:TEMP -ChildPath $file;" ^
|
||||||
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
||||||
|
@ -13,7 +14,7 @@ PowerShell -Command "$link = 'https://github.com/Vencord/Installer/releases/late
|
||||||
|
|
||||||
IF NOT "%1"=="yes" (
|
IF NOT "%1"=="yes" (
|
||||||
:: Restart Discord
|
:: Restart Discord
|
||||||
"%LOCALAPPDATA%\Discord\Update.exe"
|
PowerShell Start-Process "%LOCALAPPDATA%\Discord\app-*\Discord.exe"
|
||||||
|
|
||||||
PAUSE
|
PAUSE
|
||||||
)
|
)
|
||||||
|
|
|
@ -204,7 +204,7 @@ PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force"
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/ctmpf.bat -OutFile '%HOMEPATH%\Documents\Local\ctmpf.bat'"
|
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/ctmpf.bat -OutFile '%HOMEPATH%\Documents\Local\ctmpf.bat'"
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/update.bat -OutFile '%HOMEPATH%\Documents\Local\update.bat'"
|
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/update.bat -OutFile '%HOMEPATH%\Documents\Local\update.bat'"
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_nvidia_wsl.bat -OutFile '%HOMEPATH%\Documents\Local\fix_nvidia_wsl.bat'"
|
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_nvidia_wsl.bat -OutFile '%HOMEPATH%\Documents\Local\fix_nvidia_wsl.bat'"
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_obs_shortcut.bat -OutFile '%HOMEPATH%\Documents\Local\fix_obs_shortcut.bat'"
|
:: PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_obs_shortcut.bat -OutFile '%HOMEPATH%\Documents\Local\fix_obs_shortcut.bat'"
|
||||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/vencord_installer.bat -OutFile '%HOMEPATH%\Documents\Local\vencord_installer.bat'"
|
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/vencord_installer.bat -OutFile '%HOMEPATH%\Documents\Local\vencord_installer.bat'"
|
||||||
|
|
||||||
:: === Install Vencord ==
|
:: === Install Vencord ==
|
||||||
|
|
Loading…
Reference in a new issue