This commit is contained in:
2025-10-07 21:27:55 +03:00
parent dc22461901
commit 07e27e87e2
33 changed files with 71 additions and 78 deletions
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "app=64Gram Desktop"
set "from_1=%storage%\%app%\%computername%"
set "to_1=%appdata%\%app%\tdata"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+27
View File
@@ -0,0 +1,27 @@
@echo off
setlocal
set "app=AIMP"
set "from_1=%storage%\%app%"
set "to_1=%appdata%\%app%"
if "%1"=="" goto reconnect
if /I "%1"=="disconnect" goto disconnect
if /I "%1"=="connect" goto connect
:disconnect
rd /Q "%to_1%"
goto end
:connect
mklink /D "%to_1%" "%from_1%"
goto end
:reconnect
rd /Q "%to_1%"
mklink /D "%to_1%" "%from_1%"
goto end
:end
endlocal
+12
View File
@@ -0,0 +1,12 @@
@echo off
setlocal
set "app=EqualizerAPO"
set "from_1=%storage%\%app%" && set "to_1=%ProgramFiles%\%app%" && set "FabFilter_Pro-Q_3=%ProgramFiles%\VSTPlugins\FabFilter\FabFilter Pro-Q 3.dll"
for /f "delims=" %%i in ('dir /aL /b %to_1%\config') do del "%%i" && del /q "%to_1%\config\*" && del /q "%to_1%\VSTPlugins\FabFilter Pro-Q 3.dll"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\EqualizerAPO" /v "ConfigPath" /t REG_SZ /d "%storage%\%app%" /f && mklink "%to_1%\VSTPlugins\FabFilter Pro-Q 3.dll" "%FabFilter_Pro-Q_3%"
endlocal
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "app=KeePassXC"
set "from_1=%storage%\%app%"
set "to_1=%appdata%\%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+12
View File
@@ -0,0 +1,12 @@
@echo off
setlocal
set "app=Nekoray"
set "from_1=%storage%\%app%\%computername%\config"
set "to_1=%localappdata%\Microsoft\WinGet\Packages\MatsuriDayo.NekoRay_Microsoft.Winget.Source_8wekyb3d8bbwe\nekoray\config"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+12
View File
@@ -0,0 +1,12 @@
@echo off
setlocal
set "app=Playnite"
set "from_1=%storage%\%app%"
set "to_1=%appdata%\%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "app=Powertoys"
set "from_1=%storage%\%app%\%computername%"
set "to_1=%localappdata%\Microsoft\PowerToys"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "app=PrismLauncher"
set "from_1=%storage-games%\%app%"
set "to_1=%appdata%\%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+15
View File
@@ -0,0 +1,15 @@
@echo off
setlocal
set "app=Sublime Text"
set "from_1=%storage%\%app%\Config"
set "to_1=%AppData%\%app%"
set "from_exe_1=%storage%\%app%\Patched\Windows\sublime_text.exe"
set "to_exe_1=%ProgramFiles%\%app%\sublime_text.exe"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "app=SumatraPDF"
set "from_1=%storage%\%app%"
set "to_1=%localappdata%\%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "app=Syncthing"
set "from_1=%storage%\%app%\%computername%"
set "to_1=%localappdata%\%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "app=transmission"
set "from_1=%storage%\%app%\%computername%"
set "to_1=%localappdata%\%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+12
View File
@@ -0,0 +1,12 @@
@echo off
setlocal
set "app=VSCodium"
set "from_1=%storage%\%app%"
set "to_1=%appdata%\%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "app=beets"
set "from_1=%storage%\%app%"
set "to_1=%appdata%\%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "app=glzr"
set "from_1=%storage%\%app%"
set "to_1=%USERPROFILE%\.%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "app=gramps"
set "from_1=%storage%\%app%"
set "to_1=%appdata%\%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+12
View File
@@ -0,0 +1,12 @@
@echo off
setlocal
set "app=xdg-configs"
set "from_1=%storage%\%app%"
set "to_1=%userprofile%\.config"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+13
View File
@@ -0,0 +1,13 @@
@echo off
setlocal
set "app=ludusavi"
set "from_1=%storage%\%app%\cfg"
set "to_1=%appdata%\%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+12
View File
@@ -0,0 +1,12 @@
@echo off
setlocal
set "app=v2rayN"
set "from_1=%storage%\%app%"
set "to_1=%localappdata%\%app%"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
+16
View File
@@ -0,0 +1,16 @@
@echo off
setlocal
set "app=EqualizerAPO"
set "from_1=%storage%\%app%"
set "to_1=%ProgramFiles%\%app%"
set "FabFilter Pro-Q 3=%ProgramFiles%\VSTPlugins\FabFilter\FabFilter Pro-Q 3.dll"
for /f "delims=" %%i in ('dir /aL /b %to_1%\config') do del "%%i"
del /q "%to_1%\config\*"
del /q "%to_1%\VSTPlugins\FabFilter Pro-Q 3.dll"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\EqualizerAPO" /v "ConfigPath" /t REG_SZ /d "%storage%\%app%" /f
mklink "%to_1%\VSTPlugins\FabFilter Pro-Q 3.dll" "%FabFilter Pro-Q 3%"
endlocal
+33
View File
@@ -0,0 +1,33 @@
@echo off
:: .ssh
setlocal
set "from_1=%storage%\SSH\%user-name%"
set "to_1=%USERPROFILE%\.ssh"
rd /q "%to_1%"
mklink /D "%to_1%" "%from_1%"
endlocal
:: Bash
setlocal
set "from_1=%storage%\User Folder\.bashrc"
set "to_1=%USERPROFILE%\.bashrc"
set "from_2=%storage%\User Folder\.inputrc"
set "to_2=%USERPROFILE%\.inputrc"
set "from_3=%storage%\User Folder\.gitconfig"
set "to_3=%USERPROFILE%\.gitconfig"
del /q "%to_1%"
del /q "%to_2%"
del /q "%to_3%"
mklink "%to_1%" "%from_1%"
mklink "%to_2%" "%from_2%"
mklink "%to_3%" "%from_3%"
endlocal
:: WSL
setlocal
set "from_1=%storage%\User Folder\.wslconfig"
set "to_1=%USERPROFILE%\.wslconfig"
del /q "%to_1%"
mklink "%to_1%" "%from_1%"
endlocal
+11
View File
@@ -0,0 +1,11 @@
@echo off
setlocal
set "init=%~dp0\..\settings\init.bat"
call %init%
for %%f in ("%mounts%\*.bat") do (
echo Running %%f
call "%%f"
)
endlocal
+11
View File
@@ -0,0 +1,11 @@
setlocal
set "init=%~dp0\..\settings\init.bat"
call %init%
for %%f in ("%apps-legacy%\*.bat") do (
echo Running %%f - reconnect
call "%%f"
)
endlocal
+7
View File
@@ -0,0 +1,7 @@
@echo off
cd /d "%~dp0"
set "root=%~dp0..\"
set "vars=%root%\settings\vars.bat"
call "%vars%"
+32
View File
@@ -0,0 +1,32 @@
:: LOCAL ::
:: Package Managers
set "winget=%root%\winget.ps1"
:: Local Root
set "data=%root%\data"
:: Packages
set "packages=%data%\packages"
set "packages-installer=%packages%\install.bat"
set "packages-all-lists=%packages%\[all]"
set "packages-user-lists=%packages%\%computername%"
set "packages-user-lists-other=%packages-user-lists%\other.bat"
:: Apps
set "apps=%data%\apps"
set "apps-all=%apps%\all.csv"
set "apps-legacy=%apps%\legacy"
set "apps-user=%apps%\%computername%"
:: Mounts
set "mounts=%data%\mounts"
:: GLOBAL ::
set "disk-label=S:"
set "user-name=oqyude"
:: Main Folder
set "games=%disk-label%\Games"
set "storage=%userprofile%\Storage"
set "storage-games=N:\Games\.storage"