Skip to content

Commit

Permalink
Merge pull request #26 from ReSo7200/Version-0.3.1
Browse files Browse the repository at this point in the history
Version 0.3.1
  • Loading branch information
ReSo7200 authored Feb 10, 2025
2 parents 1487001 + b89ac32 commit 463cbde
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 24 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Build Debug APK

on:
push:
branches:
- main # Trigger workflow on pushes to the main branch
pull_request:
branches:
- main # Trigger workflow on pull requests to the main branch
workflow_dispatch: # Allow manual triggering via the GitHub Actions UI

jobs:
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "ps.reso.instaeclipse"
minSdkVersion 28
targetSdk 34
versionCode 4
versionName '0.3'
versionCode 5
versionName '0.3.1'

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
7 changes: 3 additions & 4 deletions app/src/main/java/ps/reso/instaeclipse/Xposed/Module.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ public void loadPreferences() {

if (isGhost_Enabled) {
isGhost_DM_Enabled = XposedPreferences.getPrefs().getBoolean("ghostModeDM", false);
isGhost_Story_Enabled = XposedPreferences.getPrefs().getBoolean("ghostModeLive", false);
isGhost_Live_Enabled = XposedPreferences.getPrefs().getBoolean("ghostModeStory", false);
isGhost_Story_Enabled = XposedPreferences.getPrefs().getBoolean("ghostModeStory", false);
isGhost_Live_Enabled = XposedPreferences.getPrefs().getBoolean("ghostModeLive", false);
}

// Distraction free
Expand Down Expand Up @@ -236,7 +236,7 @@ private void hookInstagram(XC_LoadPackage.LoadPackageParam lpparam) {

if (isRemove_Ads_Enabled) {
uriConditions.add(uri -> uri.getPath().contains("profile_ads/get_profile_ads/"));
uriConditions.add(uri -> uri.getPath().contains("/ads/"));
uriConditions.add(uri -> uri.getPath().contains("/async_ads/"));
uriConditions.add(uri -> uri.getPath().contains("/feed/injected_reels_media/"));
uriConditions.add(uri -> uri.getPath().equals("/api/v1/ads/graphql/"));
}
Expand All @@ -245,7 +245,6 @@ private void hookInstagram(XC_LoadPackage.LoadPackageParam lpparam) {
uriConditions.add(uri -> uri.getHost().contains("graph.instagram.com"));
uriConditions.add(uri -> uri.getHost().contains("graph.facebook.com"));
uriConditions.add(uri -> uri.getPath().contains("/logging_client_events"));
uriConditions.add(uri -> uri.getPath().endsWith("/activities"));
}

if (is_Misc_Enabled){
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/java/ps/reso/instaeclipse/mods/Interceptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ protected void beforeHookedMethod(MethodHookParam param) {
}
}
// DevPurposes
// else {
// XposedBridge.log("NotBlocked: " + uri.getHost() + uri.getPath());
// }
/*else {
XposedBridge.log("NotBlocked: " + uri.getHost() + uri.getPath());
}*/
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

public class VersionCheckUtility {

private static final String CURRENT_VERSION = "0.3"; // Current version
private static final String CURRENT_VERSION = "0.3.1"; // Current version
private static final String VERSION_CHECK_URL = "https://raw.githubusercontent.com/ReSo7200/InstaEclipse/refs/heads/main/version.json"; // JSON URL

public static void checkForUpdates(Context context) {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<resources>
<!-- app wide -->
<string name="app_name">InstaEclipse</string>
<string name="version">الإصدار: 0.3</string>
<string name="version">الإصدار:0.3.1</string>
<string name="home">الرئيسية</string>
<string name="features">الميزات</string>
<string name="help">المساعدة</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-az/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<resources>
<!-- app wide -->
<string name="app_name">InstaEclipse</string>
<string name="version">Versiya: 0.3</string>
<string name="version">Versiya:0.3.1</string>
<string name="home">Ana Səhifə</string>
<string name="features">Funksiyalar</string>
<string name="help">Kömək</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<resources>
<!-- aplicación -->
<string name="app_name">InstaEclipse</string>
<string name="version">Versión: 0.3</string>
<string name="version">Versión:0.3.1</string>
<string name="home">Inicio</string>
<string name="features">Características</string>
<string name="help">Ayuda</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-pt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<resources>
<!-- app wide -->
<string name="app_name">InstaEclipse</string>
<string name="version">Versão: 0.3</string>
<string name="version">Versão:0.3.1</string>
<string name="home">Início</string>
<string name="features">Recursos</string>
<string name="help">Ajuda</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<resources>
<!-- app wide -->
<string name="app_name">InstaEclipse</string>
<string name="version">Версия: 0.3</string>
<string name="version">Версия:0.3.1</string>
<string name="home">Главная</string>
<string name="features">Функции</string>
<string name="help">Помощь</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-tr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<resources>
<!-- app wide -->
<string name="app_name">InstaEclipse</string>
<string name="version">Sürüm: 0.3</string>
<string name="version">Sürüm:0.3.1</string>
<string name="home">Ana Sayfa</string>
<string name="features">Özellikler</string>
<string name="help">Yardım</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<resources>
<!-- app wide -->
<string name="app_name">InstaEclipse</string>
<string name="version">Version: 0.3</string>
<string name="version">Version:0.3.1</string>
<string name="home">Home</string>
<string name="features">Features</string>
<string name="help">Help</string>
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"latest_version": "0.3",
"latest_version": "0.3.1",
"update_url": "https://github.com/ReSo7200/InstaEclipse/releases/latest"
}

0 comments on commit 463cbde

Please sign in to comment.