mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-11 17:37:21 +10:00
Update bug report and fix no_shortcut
- added a question about the country of the account - fix no_shortcut
This commit is contained in:
14
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
14
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -15,7 +15,18 @@ body:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: "###"
|
||||
value: "###"
|
||||
- type: input
|
||||
id: lang_spoti
|
||||
attributes:
|
||||
label: Сountry of your account
|
||||
description: You can view your country on your account page, in paragraph <a href="https://www.spotify.com/account/">Country or region</a>.
|
||||
placeholder: "e.g. Ukraine"
|
||||
validations:
|
||||
required: true
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: "###"
|
||||
- type: dropdown
|
||||
id: plan
|
||||
attributes:
|
||||
@@ -80,3 +91,4 @@ body:
|
||||
description: Place any screenshots of the issue here if needed
|
||||
validations:
|
||||
required: false
|
||||
|
||||
14
Install.ps1
14
Install.ps1
@@ -1068,12 +1068,14 @@ if (-not $spotifyInstalled -or $upgrade_client) {
|
||||
while (-not (get-process | Where-Object { $_.ProcessName -eq 'SpotifySetup' })) {}
|
||||
wait-process -name SpotifySetup
|
||||
Stop-Process -Name Spotify
|
||||
if ($no_shortcut) {
|
||||
$ErrorActionPreference = 'SilentlyContinue'
|
||||
$desktop_folder = DesktopFolder
|
||||
Start-Sleep -Milliseconds 1000
|
||||
remove-item "$desktop_folder\Spotify.lnk" -Recurse -Force
|
||||
}
|
||||
}
|
||||
|
||||
# Delete Spotify shortcut if it is on desktop
|
||||
if ($no_shortcut) {
|
||||
$ErrorActionPreference = 'SilentlyContinue'
|
||||
$desktop_folder = DesktopFolder
|
||||
Start-Sleep -Milliseconds 1000
|
||||
remove-item "$desktop_folder\Spotify.lnk" -Recurse -Force
|
||||
}
|
||||
|
||||
# Delete the leveldb folder (Fixes bug with incorrect experimental features for some accounts)
|
||||
|
||||
Reference in New Issue
Block a user