diff --git a/Patches/Wallpapers b/Patches/Wallpapers index a5c0ae86..a375f093 160000 --- a/Patches/Wallpapers +++ b/Patches/Wallpapers @@ -1 +1 @@ -Subproject commit a5c0ae86bea5ada42f503a6cc8f8a61afc2ee9e7 +Subproject commit a375f09367f561be9f4cb3b31b649600141a3390 diff --git a/Scripts/LineageOS-14.1/Rebrand.sh b/Scripts/LineageOS-14.1/Rebrand.sh index 67289631..1f346479 100644 --- a/Scripts/LineageOS-14.1/Rebrand.sh +++ b/Scripts/LineageOS-14.1/Rebrand.sh @@ -34,7 +34,7 @@ sed -i '/.*cmupdate_settings_title/s/LineageOS/DivestOS/' res/values*/cm_strings sed -i '/.*mod_version/s/LineageOS/DivestOS/' res/values*/cm_strings.xml; enter "packages/apps/SetupWizard"; -sed -i 's|http://lineageos.org/legal|https://divestos.xyz/pages/legal/pp.html|' src/com/cyanogenmod/setupwizard/LineageSettingsActivity.java; +sed -i 's|http://lineageos.org/legal|https://divestos.xyz/index.php?page=privacy_policy|' src/com/cyanogenmod/setupwizard/LineageSettingsActivity.java; sed -i '/.*setup_services/s/LineageOS/DivestOS/' res/values*/strings.xml; sed -i '/.*services_explanation/s/LineageOS/DivestOS/' res/values*/strings.xml; cp $patches"android_packages_apps_SetupWizard/logo.xml" "res/drawable/logo.xml"; #Replace Lineage logo with ours @@ -43,7 +43,7 @@ enter "packages/apps/Updater"; sed -i 's|>LineageOS|>DivestOS|' res/values*/strings.xml; enter "vendor/cm"; -sed -i 's|https://lineageos.org/legal|https://divestos.xyz/pages/about.html|' config/common.mk; +sed -i 's|https://lineageos.org/legal|https://divestos.xyz/index.php?page=about|' config/common.mk; sed -i '/.*ZIPPATH=/s/lineage/coverage/' build/envsetup.sh; rm -rf bootanimation #TODO: Create a boot animation diff --git a/Scripts/LineageOS-15.1/Rebrand.sh b/Scripts/LineageOS-15.1/Rebrand.sh index c8004a1c..a7f143f6 100644 --- a/Scripts/LineageOS-15.1/Rebrand.sh +++ b/Scripts/LineageOS-15.1/Rebrand.sh @@ -42,7 +42,7 @@ enter "packages/apps/Settings"; sed -i '/.*lineagelicense_title/s/LineageOS/DivestOS/' res/values*/cm_strings.xml; enter "packages/apps/SetupWizard"; -sed -i 's|http://lineageos.org/legal|https://divestos.xyz/pages/legal/pp.html|' src/org/lineageos/setupwizard/LineageSettingsActivity.java; +sed -i 's|http://lineageos.org/legal|https://divestos.xyz/index.php?page=privacy_policy|' src/org/lineageos/setupwizard/LineageSettingsActivity.java; sed -i '/.*setup_services/s/LineageOS/DivestOS/' res/values*/strings.xml; sed -i '/.*services_explanation/s/LineageOS/DivestOS/' res/values*/strings.xml; cp $patches"android_packages_apps_SetupWizard/logo.xml" "res/drawable/logo.xml"; #Replace Lineage logo with ours @@ -51,7 +51,7 @@ enter "packages/apps/Updater"; sed -i 's|>LineageOS|>DivestOS|' res/values*/strings.xml; enter "vendor/lineage"; -sed -i 's|https://lineageos.org/legal|https://divestos.xyz/pages/about.html|' config/common.mk; +sed -i 's|https://lineageos.org/legal|https://divestos.xyz/index.php?page=about|' config/common.mk; sed -i '/.*ZIPPATH=/s/lineage/coverage/' build/envsetup.sh; sed -i '/LINEAGE_TARGET_PACKAGE/s/lineage/coverage/' build/tasks/bacon.mk; rm -rf bootanimation; #TODO: Create a boot animation