mirror of
https://github.com/AnanthVivekanand/spotify-adblock.git
synced 2026-04-26 21:15:53 +03:00
[GH-ISSUE #28] Run without the cmd window keeps open (On Windows) #21
Labels
No labels
cannot reproduce
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-adblock#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pickaxe828 on GitHub (Apr 30, 2021).
Original GitHub issue: https://github.com/AnanthVivekanand/spotify-adblock/issues/28
It would love to see if there is a way to run this without require the cmd keeps opening because that is kinda annoying. (MITM mode)
@AngryKiller commented on GitHub (May 1, 2021):
You can use a tool such as PM2 to run it as a daemon and other things, such as running it at boot, etc
@pickaxe828 commented on GitHub (May 1, 2021):
How about on Windows?
@AngryKiller commented on GitHub (May 1, 2021):
I'm pretty sure PM2 also works on Windows
@AnanthVivekanand commented on GitHub (May 1, 2021):
Hm, I've been thinking about compiling binary versions of the proxy. This would essentially wrap the node.js script with a node.js binary depending on the OS into a single binary (exe on Windows), which would make it easier to start since it wouldn't be necessary to use command line. Command line would still be needed to trust the root certification, however.
Would compiling to an exe make it easier to have it start on login? I haven't used Windows in quite a while, but I think the process is something like making a shortcut to an exe in a certain folder.
@pickaxe828 commented on GitHub (May 15, 2021):
I added a VB script in the folder that starts the
node mitm.jswithout opening a cmd windowAnd I also created a shortcut to the VB script in the
shell:startupfolder to make sure the proxy starts every time when I turn on my computer.@jckefan commented on GitHub (May 15, 2021):
Mind sharing the script? Thanks
@pickaxe828 commented on GitHub (May 18, 2021):
@jckefan
Put this code in a
.vbsfile in the./spotify-adblock-macosso you don't need to certify the certificates everywhereThen make a shortcut to this file in
shell:startupfolderSo this will ad block start every time the computer starts
@jckefan commented on GitHub (Jul 3, 2021):
It worked thank you so much for the script.🥰