123
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
@echo off
|
@echo off
|
||||||
setlocal
|
setlocal
|
||||||
|
|
||||||
set "app=Nekoray"
|
set "app=Nekoray"
|
||||||
|
|
||||||
set "from_1=%storage%\%app%\%computername%\config"
|
set "from_1=%storage%\%app%\%computername%\config"
|
||||||
set "to_1=%localappdata%\Microsoft\WinGet\Packages\MatsuriDayo.NekoRay_Microsoft.Winget.Source_8wekyb3d8bbwe\nekoray\config"
|
set "to_1=%localappdata%\Microsoft\WinGet\Packages\MatsuriDayo.NekoRay_Microsoft.Winget.Source_8wekyb3d8bbwe\nekoray\config"
|
||||||
|
|
||||||
rd /q "%to_1%"
|
rd /q "%to_1%"
|
||||||
|
|
||||||
mklink /D "%to_1%" "%from_1%"
|
mklink /D "%to_1%" "%from_1%"
|
||||||
endlocal
|
endlocal
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user