optional blocking of updates

- optional update blocking for scenarios new theme, and premium
This commit is contained in:
amd64fox
2025-10-13 06:26:45 +03:00
parent a679cb3411
commit cb1eab3663
3 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
@echo off @echo off
:: Line for changing spotx parameters, each parameter should be separated by a space :: Line for changing spotx parameters, each parameter should be separated by a space
set param=-new_theme -block_update_on set param=-new_theme
set url='https://raw.githubusercontent.com/SpotX-Official/SpotX/refs/heads/main/run.ps1' set url='https://raw.githubusercontent.com/SpotX-Official/SpotX/refs/heads/main/run.ps1'
set url2='https://spotx-official.github.io/SpotX/run.ps1' set url2='https://spotx-official.github.io/SpotX/run.ps1'

View File

@@ -53,13 +53,13 @@ or
#### Run The following command in PowerShell: #### Run The following command in PowerShell:
```ps1 ```ps1
iex "& { $(iwr -useb 'https://raw.githubusercontent.com/SpotX-Official/SpotX/refs/heads/main/run.ps1') } -new_theme -block_update_on" iex "& { $(iwr -useb 'https://raw.githubusercontent.com/SpotX-Official/SpotX/refs/heads/main/run.ps1') } -new_theme"
``` ```
#### mirror #### mirror
```ps1 ```ps1
iex "& { $(iwr -useb 'https://spotx-official.github.io/SpotX/run.ps1') } -m -new_theme -block_update_on" iex "& { $(iwr -useb 'https://spotx-official.github.io/SpotX/run.ps1') } -m -new_theme"
``` ```
</details> </details>
@@ -150,13 +150,13 @@ or
#### Run The following command in PowerShell: #### Run The following command in PowerShell:
```ps1 ```ps1
iex "& { $(iwr -useb 'https://raw.githubusercontent.com/SpotX-Official/SpotX/refs/heads/main/run.ps1') } -premium -new_theme -block_update_on" iex "& { $(iwr -useb 'https://raw.githubusercontent.com/SpotX-Official/SpotX/refs/heads/main/run.ps1') } -premium -new_theme"
``` ```
#### mirror #### mirror
```ps1 ```ps1
iex "& { $(iwr -useb 'https://spotx-official.github.io/SpotX/run.ps1') } -m -premium -new_theme -block_update_on" iex "& { $(iwr -useb 'https://spotx-official.github.io/SpotX/run.ps1') } -m -premium -new_theme"
``` ```
</details> </details>

View File

@@ -1,7 +1,7 @@
@echo off @echo off
:: Line for changing spotx parameters, each parameter should be separated by a space :: Line for changing spotx parameters, each parameter should be separated by a space
set param=-premium -new_theme -block_update_on set param=-premium -new_theme
set url='https://raw.githubusercontent.com/SpotX-Official/SpotX/refs/heads/main/run.ps1' set url='https://raw.githubusercontent.com/SpotX-Official/SpotX/refs/heads/main/run.ps1'
set url2='https://spotx-official.github.io/SpotX/run.ps1' set url2='https://spotx-official.github.io/SpotX/run.ps1'