File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 33
44$ErrorActionPreference = ' Stop'
55[Net.ServicePointManager ]::SecurityProtocol = [Net.SecurityProtocolType ]::Tls12
6- $ccsFolder = " $env: LocalAppData \CCS"
76
8- if (Test-Path - Path $ccsFolder ) {
9- Remove-Item - Path $ccsFolder - Recurse - Force | Out-Null
7+ if (Test-Path - Path $env: LocalAppData \CCS ) {
8+ Remove-Item - Path $env: LocalAppData \CCS - Recurse - Force | Out-Null
109}
11- New-Item - ItemType Directory - Path $ccsFolder | Out-Null
1210
1311$uri = ' https://github.com/SunsetTechuila/Cursor-Colors-Synchronizer/releases/latest/download/Cursor-Colors-Synchronizer.zip'
14- Invoke-WebRequest - Uri $uri - OutFile $ccsFolder \Cursor- Colors- Synchronizer.zip
15- Expand-Archive - Path $ccsFolder \Cursor- Colors- Synchronizer.zip - DestinationPath $ccsFolder
16- Remove-Item - Path $ccsFolder \Cursor- Colors- Synchronizer.zip - Force
12+ Invoke-WebRequest - Uri $uri - OutFile $env: LocalAppData \Cursor- Colors- Synchronizer.zip
13+ Expand-Archive - Path $env: LocalAppData \Cursor- Colors- Synchronizer.zip - DestinationPath $env: LocalAppData
14+ Remove-Item - Path $env: LocalAppData \Cursor- Colors- Synchronizer.zip - Force
1715
18- Start-Process - FilePath powershell - ArgumentList " -ExecutionPolicy Bypass -NoExit -File $ccsFolder \CCS.ps1"
16+ Start-Process - FilePath powershell - ArgumentList " -ExecutionPolicy Bypass -NoExit -File $env: LocalAppData \CCS \CCS.ps1"
You can’t perform that action at this time.
0 commit comments