mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-28 21:31:05 +00:00
Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
733190e76c | ||
|
|
ab312dec43 | ||
|
|
70159b8cd8 | ||
|
|
97060913a2 | ||
|
|
4a0c5f9935 | ||
|
|
f643a31455 | ||
|
|
03b87a50ea | ||
|
|
4631982d42 | ||
|
|
4c4b694db9 | ||
|
|
fd099fb632 | ||
|
|
e374e03355 |
@@ -71,7 +71,7 @@ dependencies {
|
|||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||||
|
|
||||||
// ReVanced
|
// ReVanced
|
||||||
implementation "app.revanced:revanced-patcher:4.4.2"
|
implementation "app.revanced:revanced-patcher:5.0.0"
|
||||||
|
|
||||||
// Signing & aligning
|
// Signing & aligning
|
||||||
implementation("org.bouncycastle:bcpkix-jdk15on:1.70")
|
implementation("org.bouncycastle:bcpkix-jdk15on:1.70")
|
||||||
|
|||||||
@@ -14,18 +14,18 @@
|
|||||||
"widgetTitle": "Dashboard",
|
"widgetTitle": "Dashboard",
|
||||||
"updatesSubtitle": "Updates",
|
"updatesSubtitle": "Updates",
|
||||||
"patchedSubtitle": "Patched Applications",
|
"patchedSubtitle": "Patched Applications",
|
||||||
"updatesAvailable": "Updates Available",
|
"updatesAvailable": "Updates available",
|
||||||
"noUpdates": "No updates available",
|
"noUpdates": "No updates available",
|
||||||
"noInstallations": "No patched applications installed",
|
"noInstallations": "No patched applications installed",
|
||||||
"installed": "Installed",
|
"installed": "Installed",
|
||||||
"updateDialogTitle": "Update",
|
"updateDialogTitle": "Update Manager",
|
||||||
"updateDialogText": "Are you sure you want to download and update Manager?",
|
"updateDialogText": "Are you sure you want to download and update ReVanced Manager?",
|
||||||
"notificationTitle": "ReVanced Manager was updated!",
|
"notificationTitle": "ReVanced Manager was updated",
|
||||||
"notificationText": "Tap to open the app",
|
"notificationText": "Tap to open the app",
|
||||||
"downloadingMessage": "Downloading update!",
|
"downloadingMessage": "Downloading update...",
|
||||||
"installingMessage": "Installing update... Hang on!",
|
"installingMessage": "Installing update...",
|
||||||
"errorDownloadMessage": "Unable to download update!",
|
"errorDownloadMessage": "Unable to download update",
|
||||||
"errorInstallMessage": "Unable to install update!",
|
"errorInstallMessage": "Unable to install update",
|
||||||
"noConnection": "No internet connection"
|
"noConnection": "No internet connection"
|
||||||
},
|
},
|
||||||
"applicationItem": {
|
"applicationItem": {
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
"changelogLabel": "Changelog"
|
"changelogLabel": "Changelog"
|
||||||
},
|
},
|
||||||
"latestCommitCard": {
|
"latestCommitCard": {
|
||||||
"loadingLabel": "Loading",
|
"loadingLabel": "Loading...",
|
||||||
"timeagoLabel": "{time} ago",
|
"timeagoLabel": "{time} ago",
|
||||||
"patcherLabel": "Patcher: ",
|
"patcherLabel": "Patcher: ",
|
||||||
"managerLabel": "Manager: ",
|
"managerLabel": "Manager: ",
|
||||||
@@ -44,12 +44,12 @@
|
|||||||
"widgetTitle": "Patcher",
|
"widgetTitle": "Patcher",
|
||||||
"patchButton": "Patch",
|
"patchButton": "Patch",
|
||||||
"patchDialogTitle": "Warning",
|
"patchDialogTitle": "Warning",
|
||||||
"patchDialogText": "You have selected a resource patch and a split APK installation was detected so patching errors can occur.\nAre you sure you want to proceed with patching a split base APK?"
|
"patchDialogText": "You have selected a resource patch and a split APK installation was detected so patching errors may occur.\nAre you sure you want to proceed with patching a split base APK?"
|
||||||
},
|
},
|
||||||
"appSelectorCard": {
|
"appSelectorCard": {
|
||||||
"widgetTitle": "Select application",
|
"widgetTitle": "Select application",
|
||||||
"widgetTitleSelected": "Selected application",
|
"widgetTitleSelected": "Selected application",
|
||||||
"widgetSubtitle": "No application selected.",
|
"widgetSubtitle": "No application selected",
|
||||||
"noAppsLabel": "No applications found.",
|
"noAppsLabel": "No applications found.",
|
||||||
"currentVersion": "Current",
|
"currentVersion": "Current",
|
||||||
"recommendedVersion": "Recommended",
|
"recommendedVersion": "Recommended",
|
||||||
@@ -58,11 +58,11 @@
|
|||||||
"patchSelectorCard": {
|
"patchSelectorCard": {
|
||||||
"widgetTitle": "Select patches",
|
"widgetTitle": "Select patches",
|
||||||
"widgetTitleSelected": "Selected patches",
|
"widgetTitleSelected": "Selected patches",
|
||||||
"widgetSubtitle": "Select an application first.",
|
"widgetSubtitle": "Select an application first",
|
||||||
"widgetEmptySubtitle": "No patches selected."
|
"widgetEmptySubtitle": "No patches selected"
|
||||||
},
|
},
|
||||||
"socialMediaCard": {
|
"socialMediaCard": {
|
||||||
"widgetTitle": "Social Media",
|
"widgetTitle": "Socials",
|
||||||
"widgetSubtitle": "We are online!"
|
"widgetSubtitle": "We are online!"
|
||||||
},
|
},
|
||||||
"appSelectorView": {
|
"appSelectorView": {
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
"viewTitle": "Select patches",
|
"viewTitle": "Select patches",
|
||||||
"searchBarHint": "Search patches",
|
"searchBarHint": "Search patches",
|
||||||
"doneButton": "Done",
|
"doneButton": "Done",
|
||||||
"noPatchesFound": "No patches found for the selected app."
|
"noPatchesFound": "No patches found for the selected app"
|
||||||
},
|
},
|
||||||
"patchItem": {
|
"patchItem": {
|
||||||
"unsupportedWarningButton": "Unsupported version",
|
"unsupportedWarningButton": "Unsupported version",
|
||||||
@@ -113,13 +113,13 @@
|
|||||||
"frenchOption": "French",
|
"frenchOption": "French",
|
||||||
"sourcesLabel": "Sources",
|
"sourcesLabel": "Sources",
|
||||||
"sourcesLabelHint": "Configure your custom sources",
|
"sourcesLabelHint": "Configure your custom sources",
|
||||||
"orgPatchesLabel" : "Patches Org",
|
"orgPatchesLabel" : "Patches Organization",
|
||||||
"sourcesPatchesLabel" : "Patches Source",
|
"sourcesPatchesLabel" : "Patches Source",
|
||||||
"orgIntegrationsLabel": "Integrations Org",
|
"orgIntegrationsLabel": "Integrations Organization",
|
||||||
"sourcesIntegrationsLabel": "Integrations Source",
|
"sourcesIntegrationsLabel": "Integrations Source",
|
||||||
"sourcesResetDialogTitle": "Reset",
|
"sourcesResetDialogTitle": "Reset",
|
||||||
"sourcesResetDialogText": "Are you sure you want to reset custom sources to their default values?",
|
"sourcesResetDialogText": "Are you sure you want to reset custom sources to their default values?",
|
||||||
"apiURLResetDialogText": "Are you sure you want to reset API URL to their default values?",
|
"apiURLResetDialogText": "Are you sure you want to reset API URL to its default value?",
|
||||||
"contributorsLabel": "Contributors",
|
"contributorsLabel": "Contributors",
|
||||||
"contributorsHint": "A list of contributors of ReVanced",
|
"contributorsHint": "A list of contributors of ReVanced",
|
||||||
"logsLabel": "Logs",
|
"logsLabel": "Logs",
|
||||||
|
|||||||
3
crowdin.yml
Normal file
3
crowdin.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
files:
|
||||||
|
- source: /assets/i18n/en.json
|
||||||
|
translation: /assets/i18n/%two_letters_code%.json
|
||||||
@@ -70,10 +70,14 @@ class PatcherAPI {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<List<Patch>> getFilteredPatches(String packageName) async {
|
Future<List<Patch>> getFilteredPatches(String packageName) async {
|
||||||
|
String newPackageName = packageName.replaceFirst(
|
||||||
|
'app.revanced.',
|
||||||
|
'com.google.',
|
||||||
|
);
|
||||||
return _patches
|
return _patches
|
||||||
.where((patch) =>
|
.where((patch) =>
|
||||||
!patch.name.contains('settings') &&
|
!patch.name.contains('settings') &&
|
||||||
patch.compatiblePackages.any((pack) => pack.name == packageName))
|
patch.compatiblePackages.any((pack) => pack.name == newPackageName))
|
||||||
.toList();
|
.toList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -178,6 +178,7 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
_app.patchDate = DateTime.now();
|
_app.patchDate = DateTime.now();
|
||||||
_app.appliedPatches = _patches.map((p) => p.name).toList();
|
_app.appliedPatches = _patches.map((p) => p.name).toList();
|
||||||
if (hasMicroG) {
|
if (hasMicroG) {
|
||||||
|
_app.name += ' ReVanced';
|
||||||
_app.packageName = _app.packageName.replaceFirst(
|
_app.packageName = _app.packageName.replaceFirst(
|
||||||
'com.google.',
|
'com.google.',
|
||||||
'app.revanced.',
|
'app.revanced.',
|
||||||
|
|||||||
@@ -60,64 +60,68 @@ class _ApplicationItemState extends State<ApplicationItem>
|
|||||||
hasIcon: false,
|
hasIcon: false,
|
||||||
animationDuration: Duration(milliseconds: 450),
|
animationDuration: Duration(milliseconds: 450),
|
||||||
),
|
),
|
||||||
header: CustomCard(
|
header: Padding(
|
||||||
onTap: () {
|
padding: const EdgeInsets.only(bottom: 16.0),
|
||||||
expController.toggle();
|
child: CustomCard(
|
||||||
_animationController.isCompleted
|
onTap: () {
|
||||||
? _animationController.reverse()
|
expController.toggle();
|
||||||
: _animationController.forward();
|
_animationController.isCompleted
|
||||||
},
|
? _animationController.reverse()
|
||||||
child: Row(
|
: _animationController.forward();
|
||||||
children: <Widget>[
|
},
|
||||||
SizedBox(
|
child: Row(
|
||||||
width: 40,
|
children: <Widget>[
|
||||||
child: Image.memory(widget.icon, height: 40, width: 40),
|
SizedBox(
|
||||||
),
|
width: 40,
|
||||||
const SizedBox(width: 4),
|
child: Image.memory(widget.icon, height: 40, width: 40),
|
||||||
Padding(
|
),
|
||||||
padding: const EdgeInsets.only(left: 15.0),
|
const SizedBox(width: 4),
|
||||||
child: Column(
|
Padding(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
padding: const EdgeInsets.only(left: 15.0),
|
||||||
children: <Widget>[
|
child: Column(
|
||||||
Text(
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
widget.name.length > 9
|
children: <Widget>[
|
||||||
? '${widget.name.substring(0, 9)}...'
|
Text(
|
||||||
: widget.name,
|
widget.name.length > 9
|
||||||
style: const TextStyle(
|
? '${widget.name.substring(0, 9)}...'
|
||||||
fontSize: 16,
|
: widget.name,
|
||||||
fontWeight: FontWeight.w500,
|
style: const TextStyle(
|
||||||
|
fontSize: 16,
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
|
Text(format(widget.patchDate)),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const Spacer(),
|
||||||
|
RotationTransition(
|
||||||
|
turns:
|
||||||
|
Tween(begin: 0.0, end: 0.50).animate(_animationController),
|
||||||
|
child: const Padding(
|
||||||
|
padding: EdgeInsets.all(8.0),
|
||||||
|
child: Icon(Icons.arrow_drop_down),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Column(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.end,
|
||||||
|
children: <Widget>[
|
||||||
|
CustomMaterialButton(
|
||||||
|
label: widget.isUpdatableApp
|
||||||
|
? I18nText('applicationItem.patchButton')
|
||||||
|
: I18nText('applicationItem.infoButton'),
|
||||||
|
onPressed: widget.onPressed,
|
||||||
),
|
),
|
||||||
Text(format(widget.patchDate)),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
const Spacer(),
|
),
|
||||||
RotationTransition(
|
|
||||||
turns: Tween(begin: 0.0, end: 0.50).animate(_animationController),
|
|
||||||
child: const Padding(
|
|
||||||
padding: EdgeInsets.all(8.0),
|
|
||||||
child: Icon(Icons.arrow_drop_down),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
Column(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.end,
|
|
||||||
children: <Widget>[
|
|
||||||
CustomMaterialButton(
|
|
||||||
label: widget.isUpdatableApp
|
|
||||||
? I18nText('applicationItem.patchButton')
|
|
||||||
: I18nText('applicationItem.infoButton'),
|
|
||||||
onPressed: widget.onPressed,
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
collapsed: const SizedBox(),
|
collapsed: const SizedBox(),
|
||||||
expanded: Padding(
|
expanded: Padding(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 16.0, horizontal: 16.0),
|
padding: const EdgeInsets.all(16.0).copyWith(top: 0.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ homepage: https://github.com/revanced/revanced-manager
|
|||||||
|
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 0.0.15+15
|
version: 0.0.17+17
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.17.5 <3.0.0"
|
sdk: ">=2.17.5 <3.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user