Showing with 13 additions and 11 deletions.
  1. +1 −1 .github/workflows/labeler.yml
  2. +2 −0 Extensions/fullAppDisplay.js
  3. +2 −2 go.mod
  4. +4 −4 go.sum
  5. +2 −1 jsHelper/spicetifyWrapper.js
  6. +1 −2 spicetify.go
  7. +1 −1 src/preprocess/preprocess.go
  8. BIN task.ps1
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Expand Up @@ -8,7 +8,7 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.2
- uses: github/issue-labeler@v3.3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
Expand Down
2 changes: 2 additions & 0 deletions Extensions/fullAppDisplay.js
Expand Up @@ -702,6 +702,8 @@ body.video-full-screen.video-full-screen--hide-ui {
}

async function activate() {
if (!Spicetify.Player.data) return;

await toggleFullscreen();

document.body.classList.add(...classes);
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Expand Up @@ -5,11 +5,11 @@ go 1.21
require (
github.com/go-ini/ini v1.67.0
github.com/mattn/go-colorable v0.1.13
golang.org/x/net v0.17.0
golang.org/x/net v0.18.0
)

require (
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/stretchr/testify v1.7.1 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/sys v0.14.0 // indirect
)
8 changes: 4 additions & 4 deletions go.sum
Expand Up @@ -11,11 +11,11 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
golang.org/x/net v0.18.0 h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg=
golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q=
golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
3 changes: 2 additions & 1 deletion jsHelper/spicetifyWrapper.js
Expand Up @@ -445,7 +445,8 @@ window.Spicetify = {
const playlistMenuChunk = Object.entries(require.m).find(
([, value]) => value.toString().includes('value:"playlist"') && value.toString().includes("onRemoveCallback")
);
if (playlistMenuChunk) Spicetify.ReactComponent.PlaylistMenu = Object.values(require(playlistMenuChunk[0])).find(m => typeof m === "function");
if (playlistMenuChunk)
Spicetify.ReactComponent.PlaylistMenu = Object.values(require(playlistMenuChunk[0])).find(m => typeof m === "function" || typeof m === "object");

if (Spicetify.Color) Spicetify.Color.CSSFormat = modules.find(m => m?.RGBA);

Expand Down
3 changes: 1 addition & 2 deletions spicetify.go
Expand Up @@ -250,9 +250,8 @@ func main() {

cmd = exec.Command(ex, strings.Join(commands[:], " "))
utils.CmdScanner(cmd)

return
}
return
} else {
cmd.CheckUpdate(version)
}
Expand Down
2 changes: 1 addition & 1 deletion src/preprocess/preprocess.go
Expand Up @@ -237,7 +237,7 @@ func disableSentry(input string) string {
func disableLogging(input string) string {
utils.Replace(&input, `sp://logging/v3/\w+`, "")
utils.Replace(&input, `[^"\/]+\/[^"\/]+\/(public\/)?v3\/events`, "")
utils.Replace(&input, `(\(e,\s*t\))\s*{(\s*return\s*this\.storageAdapter\.setItem\([${}\w."()]+,\s*t\)\s*)}`, "${1}{return null}")
utils.Replace(&input, `(\(e,\s*t\))\s*{(\s*return\s*this\.storageAdapter\.setItem\([${}\w."`+"`"+`()]+,\s*t\)\s*)}`, "${1}{return null}")
return input
}

Expand Down
Binary file removed task.ps1
Binary file not shown.