Skip to content

Commit

Permalink
Changed HOOKS_DOWNLOAD_URL + APP_PACKAGE
Browse files Browse the repository at this point in the history
Reflecting YT Music app package name  + hooks...

The rest of the code is exactly the same... I won't change LOG_TAG and module package name as it can throw errors when trying to build .apk

BEWARE: Without changing modules' package name, you can't have YTBP and YTMBP modules installed at the same time as Android will try to overwrite existing YTBP module (if it's already installed)
  • Loading branch information
th3an7 authored Jun 21, 2018
1 parent af52229 commit 5cb6427
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public class YouTubeBackgroundPlayback implements IXposedHookLoadPackage {

private static final String LOG_TAG = "YTBackgroundPlayback";

private static final String APP_PACKAGE = "com.google.android.youtube";
private static final String APP_PACKAGE = "com.google.android.apps.youtube.music";

private static final String HOOKS_DOWNLOAD_URL = "https://raw.githubusercontent.com/pylerSM/YouTubeBackgroundPlayback/master/assets/hooks-3.json";
private static final String HOOKS_DOWNLOAD_URL = "https://raw.githubusercontent.com/pylerSM/YouTubeBackgroundPlayback/yt-music/assets/hooks-music.json";

private static final ScheduledExecutorService WORKER = Executors.newSingleThreadScheduledExecutor();

Expand Down

0 comments on commit 5cb6427

Please sign in to comment.