Skip to content

Commit

Permalink
Install.ps1 to run.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
amd64fox committed Sep 28, 2023
1 parent ecdaec0 commit 16d9911
Show file tree
Hide file tree
Showing 7 changed files with 1,606 additions and 1,606 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
paths:
- 'Install.ps1'
- 'run.ps1'

jobs:
copy_file:
Expand All @@ -23,14 +23,14 @@ jobs:
path: spotx-official.github.io
token: ${{ secrets.ORGPAT }}

- name: Copy Install.ps1 file
run: cp Install.ps1 spotx-official.github.io/Install.ps1
- name: Copy run.ps1 file
run: cp run.ps1 spotx-official.github.io/run.ps1

- name: Push changes
run: |
cd spotx-official.github.io
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add Install.ps1
git commit -m "Update Install.ps1"
git add run.ps1
git commit -m "Update run.ps1"
git push
2 changes: 1 addition & 1 deletion Install_New_theme.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@echo off

%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "&{[Net.ServicePointManager]::SecurityProtocol = 3072}; """"& { $(Invoke-WebRequest -UseBasicParsing 'https://spotx-official.github.io/SpotX/Install.ps1')} -new_theme """" | Invoke-Expression"
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "&{[Net.ServicePointManager]::SecurityProtocol = 3072}; """"& { $(Invoke-WebRequest -UseBasicParsing 'https://spotx-official.github.io/run.ps1')} -new_theme """" | Invoke-Expression"

pause
exit /b
2 changes: 1 addition & 1 deletion Install_Old_theme.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@echo off

%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "&{[Net.ServicePointManager]::SecurityProtocol = 3072}; """"& { $(Invoke-WebRequest -UseBasicParsing 'https://spotx-official.github.io/SpotX/Install.ps1')} -v 1.2.13.661.ga588f749-4064 -confirm_spoti_recomended_over -block_update_on """" | Invoke-Expression"
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "&{[Net.ServicePointManager]::SecurityProtocol = 3072}; """"& { $(Invoke-WebRequest -UseBasicParsing 'https://spotx-official.github.io/run.ps1')} -v 1.2.13.661.ga588f749-4064 -confirm_spoti_recomended_over -block_update_on """" | Invoke-Expression"

pause
exit /b
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ or
#### Run The following command in PowerShell:

```ps1
[Net.ServicePointManager]::SecurityProtocol = 3072; iex "& { $(iwr -useb 'https://spotx-official.github.io/SpotX/Install.ps1') } -new_theme"
[Net.ServicePointManager]::SecurityProtocol = 3072; iex "& { $(iwr -useb 'https://spotx-official.github.io/run.ps1') } -new_theme"
```

</details>
Expand All @@ -72,7 +72,7 @@ or
#### Run The following command in PowerShell:

```ps1
[Net.ServicePointManager]::SecurityProtocol = 3072; iex "& { $(iwr -useb 'https://spotx-official.github.io/SpotX/Install.ps1') } -v 1.2.13.661.ga588f749-4064 -confirm_spoti_recomended_over -block_update_on"
[Net.ServicePointManager]::SecurityProtocol = 3072; iex "& { $(iwr -useb 'https://spotx-official.github.io/run.ps1') } -v 1.2.13.661.ga588f749-4064 -confirm_spoti_recomended_over -block_update_on"
```

</details>
Expand Down Expand Up @@ -101,7 +101,7 @@ or
#### Run The following command in PowerShell:

```ps1
[Net.ServicePointManager]::SecurityProtocol = 3072; iex "& { $(iwr -useb 'https://spotx-official.github.io/SpotX/Install.ps1') } -confirm_uninstall_ms_spoti -confirm_spoti_recomended_over -podcasts_off -block_update_on -start_spoti -new_theme -adsections_off -lyrics_stat spotify"
[Net.ServicePointManager]::SecurityProtocol = 3072; iex "& { $(iwr -useb 'https://spotx-official.github.io/run.ps1') } -confirm_uninstall_ms_spoti -confirm_spoti_recomended_over -podcasts_off -block_update_on -start_spoti -new_theme -adsections_off -lyrics_stat spotify"
```

</details>
Expand All @@ -127,7 +127,7 @@ or
#### Run The following command in PowerShell:

```ps1
[Net.ServicePointManager]::SecurityProtocol = 3072; iex "& { $(iwr -useb 'https://spotx-official.github.io/SpotX/Install.ps1') } -premium -new_theme"
[Net.ServicePointManager]::SecurityProtocol = 3072; iex "& { $(iwr -useb 'https://spotx-official.github.io/run.ps1') } -premium -new_theme"
```

</details>
Expand Down
Loading

0 comments on commit 16d9911

Please sign in to comment.