Skip to content

Commit

Permalink
fix: remove bypass flag after checking for admin
Browse files Browse the repository at this point in the history
  • Loading branch information
rxri committed Feb 28, 2025
1 parent 5944d06 commit c99cdf6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spicetify.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ func init() {
os.Exit(1)
}

for i, flag := range flags {
if flag == "--bypass-admin" {
flags = append(flags[:i], flags[i+1:]...)
break
}
}

utils.MigrateConfigFolder()
utils.MigrateFolders()
cmd.InitConfig(quiet)
Expand Down

0 comments on commit c99cdf6

Please sign in to comment.