mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
chore: merge dev
to main
(#1399)
This commit is contained in:
commit
ee43fa6311
75
.releaserc
75
.releaserc
@ -1,75 +0,0 @@
|
|||||||
{
|
|
||||||
"branches": [
|
|
||||||
"main",
|
|
||||||
{
|
|
||||||
"name": "dev",
|
|
||||||
"prerelease": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
"semantic-release-export-data",
|
|
||||||
"@semantic-release/commit-analyzer",
|
|
||||||
[
|
|
||||||
"@semantic-release/release-notes-generator",
|
|
||||||
{
|
|
||||||
"presetConfig": {
|
|
||||||
"types": [
|
|
||||||
{
|
|
||||||
"type": "build",
|
|
||||||
"section": "Dependency Updates"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chore",
|
|
||||||
"section": "Other Changes",
|
|
||||||
"hidden": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "perf",
|
|
||||||
"section": "Performance Improvements",
|
|
||||||
"hidden": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "refactor",
|
|
||||||
"section": "Code Improvements",
|
|
||||||
"hidden": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@semantic-release/changelog",
|
|
||||||
"semantic-release-flutter-plugin",
|
|
||||||
[
|
|
||||||
"@semantic-release/git",
|
|
||||||
{
|
|
||||||
"assets": [
|
|
||||||
"CHANGELOG.md",
|
|
||||||
"pubspec.yaml"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"@semantic-release/github",
|
|
||||||
{
|
|
||||||
"assets": [
|
|
||||||
{
|
|
||||||
"path": "build/app/outputs/apk/release/revanced-manager-*.apk"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"successComment": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"@saithodev/semantic-release-backmerge",
|
|
||||||
{
|
|
||||||
"backmergeBranches": [
|
|
||||||
{
|
|
||||||
"from": "main",
|
|
||||||
"to": "dev"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"clearWorkspace": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
]
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
|
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"okButton": "OK",
|
"okButton": "OK",
|
||||||
"cancelButton": "Cancel",
|
"cancelButton": "Cancel",
|
||||||
|
"dismissButton": "Dismiss",
|
||||||
"quitButton": "Quit",
|
"quitButton": "Quit",
|
||||||
"updateButton": "Update",
|
"updateButton": "Update",
|
||||||
"enabledLabel": "Enabled",
|
"enabledLabel": "Enabled",
|
||||||
@ -134,6 +135,7 @@
|
|||||||
"setRequiredOption": "Some patches require options to be set:\n\n{patches}\n\nPlease set them before continuing."
|
"setRequiredOption": "Some patches require options to be set:\n\n{patches}\n\nPlease set them before continuing."
|
||||||
},
|
},
|
||||||
"patchOptionsView": {
|
"patchOptionsView": {
|
||||||
|
"resetOptionsTooltip": "Reset patch options",
|
||||||
"viewTitle": "Patch options",
|
"viewTitle": "Patch options",
|
||||||
"saveOptions": "Save",
|
"saveOptions": "Save",
|
||||||
|
|
||||||
@ -232,7 +234,7 @@
|
|||||||
"universalPatchesLabel": "Show universal patches",
|
"universalPatchesLabel": "Show universal patches",
|
||||||
"universalPatchesHint": "Display all apps and universal patches (may slow down the app list)",
|
"universalPatchesHint": "Display all apps and universal patches (may slow down the app list)",
|
||||||
"versionCompatibilityCheckLabel": "Version compatibility check",
|
"versionCompatibilityCheckLabel": "Version compatibility check",
|
||||||
"versionCompatibilityCheckHint": "Restricts patches to supported versions",
|
"versionCompatibilityCheckHint": "Restricts patches to supported app versions",
|
||||||
|
|
||||||
"aboutLabel": "About",
|
"aboutLabel": "About",
|
||||||
"snackbarMessage": "Copied to clipboard",
|
"snackbarMessage": "Copied to clipboard",
|
||||||
|
@ -139,7 +139,6 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<void> runPatcher() async {
|
Future<void> runPatcher() async {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await _patcherAPI.runPatcher(
|
await _patcherAPI.runPatcher(
|
||||||
_app.packageName,
|
_app.packageName,
|
||||||
@ -159,7 +158,7 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
|
|
||||||
// Necessary to reset the state of patches so that they
|
// Necessary to reset the state of patches so that they
|
||||||
// can be reloaded again.
|
// can be reloaded again.
|
||||||
_managerAPI.patches.clear();
|
_managerAPI.patches.clear();
|
||||||
await _patcherAPI.loadPatches();
|
await _patcherAPI.loadPatches();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@ -185,26 +184,27 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
|
|
||||||
final formattedLogs = [
|
final formattedLogs = [
|
||||||
'```',
|
'```',
|
||||||
'~ Device Info',
|
'- Device Info',
|
||||||
'ReVanced Manager: ${info['version']}',
|
'ReVanced Manager: ${info['version']}',
|
||||||
'Build: ${info['flavor']}',
|
'Build: ${info['flavor']}',
|
||||||
'Model: ${info['model']}',
|
'Model: ${info['model']}',
|
||||||
'Android version: ${info['androidVersion']}',
|
'Android version: ${info['androidVersion']}',
|
||||||
'Supported architectures: ${info['supportedArch'].join(", ")}',
|
'Supported architectures: ${info['supportedArch'].join(", ")}',
|
||||||
|
'Root permissions: ${isRooted ? 'Yes' : 'No'}',
|
||||||
'\n~ Patch Info',
|
|
||||||
|
'\n- Patch Info',
|
||||||
'App: ${_app.packageName} v${_app.version}',
|
'App: ${_app.packageName} v${_app.version}',
|
||||||
'Patches version: ${_managerAPI.patchesVersion}',
|
'Patches version: ${_managerAPI.patchesVersion}',
|
||||||
'Patches: ${_patches.map((p) => p.name).toList().join(", ")}',
|
'Patches: ${_patches.map((p) => p.name + (p.options.isEmpty ? '' : ' [${p.options.map((o) => '${o.title}: ${o.value}').join(", ")}]')).toList().join(", ")}',
|
||||||
|
|
||||||
'\n~ Settings',
|
'\n- Settings',
|
||||||
'Allow changing patch selection: ${_managerAPI.isPatchesChangeEnabled()}',
|
'Allow changing patch selection: ${_managerAPI.isPatchesChangeEnabled()}',
|
||||||
'Show universal patches: ${_managerAPI.areUniversalPatchesEnabled()}',
|
|
||||||
'Version compatibility check: ${_managerAPI.isVersionCompatibilityCheckEnabled()}',
|
'Version compatibility check: ${_managerAPI.isVersionCompatibilityCheckEnabled()}',
|
||||||
|
'Show universal patches: ${_managerAPI.areUniversalPatchesEnabled()}',
|
||||||
'Patches source: ${_managerAPI.getPatchesRepo()}',
|
'Patches source: ${_managerAPI.getPatchesRepo()}',
|
||||||
'Integration source: ${_managerAPI.getIntegrationsRepo()}',
|
'Integration source: ${_managerAPI.getIntegrationsRepo()}',
|
||||||
|
|
||||||
'\n~ Logs',
|
'\n- Logs',
|
||||||
logs,
|
logs,
|
||||||
'```',
|
'```',
|
||||||
];
|
];
|
||||||
|
@ -48,6 +48,10 @@ class PatchOptionsView extends StatelessWidget {
|
|||||||
icon: const Icon(
|
icon: const Icon(
|
||||||
Icons.history,
|
Icons.history,
|
||||||
),
|
),
|
||||||
|
tooltip: FlutterI18n.translate(
|
||||||
|
context,
|
||||||
|
'patchOptionsView.resetOptionsTooltip',
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
@ -147,7 +147,7 @@ class PatchOptionsViewModel extends BaseViewModel {
|
|||||||
),
|
),
|
||||||
actions: [
|
actions: [
|
||||||
CustomMaterialButton(
|
CustomMaterialButton(
|
||||||
label: I18nText('okButton'),
|
label: I18nText('cancelButton'),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
},
|
},
|
||||||
@ -165,7 +165,7 @@ class PatchOptionsViewModel extends BaseViewModel {
|
|||||||
.map((e) {
|
.map((e) {
|
||||||
return CustomCard(
|
return CustomCard(
|
||||||
padding: const EdgeInsets.all(4),
|
padding: const EdgeInsets.all(4),
|
||||||
backgroundColor: Theme.of(context).colorScheme.secondaryContainer,
|
backgroundColor: Theme.of(context).colorScheme.surface,
|
||||||
onTap: () {
|
onTap: () {
|
||||||
addOption(e);
|
addOption(e);
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
@ -186,9 +186,9 @@ class PatchOptionsViewModel extends BaseViewModel {
|
|||||||
e.description,
|
e.description,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
color: Theme.of(context).colorScheme.onSecondaryContainer,
|
color: Theme.of(context).colorScheme.onSurface,
|
||||||
),
|
),
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -52,8 +52,8 @@ class SocialMediaWidget extends StatelessWidget {
|
|||||||
SocialMediaItem(
|
SocialMediaItem(
|
||||||
icon: FaIcon(FontAwesomeIcons.github),
|
icon: FaIcon(FontAwesomeIcons.github),
|
||||||
title: Text('GitHub'),
|
title: Text('GitHub'),
|
||||||
subtitle: Text('github.com/revanced'),
|
subtitle: Text('github.com/ReVanced'),
|
||||||
url: 'https://github.com/revanced',
|
url: 'https://github.com/ReVanced',
|
||||||
),
|
),
|
||||||
SocialMediaItem(
|
SocialMediaItem(
|
||||||
icon: FaIcon(FontAwesomeIcons.discord),
|
icon: FaIcon(FontAwesomeIcons.discord),
|
||||||
@ -74,10 +74,10 @@ class SocialMediaWidget extends StatelessWidget {
|
|||||||
url: 'https://reddit.com/r/revancedapp',
|
url: 'https://reddit.com/r/revancedapp',
|
||||||
),
|
),
|
||||||
SocialMediaItem(
|
SocialMediaItem(
|
||||||
icon: FaIcon(FontAwesomeIcons.twitter),
|
icon: FaIcon(FontAwesomeIcons.xTwitter),
|
||||||
title: Text('Twitter'),
|
title: Text('X'),
|
||||||
subtitle: Text('@revancedapp'),
|
subtitle: Text('@revancedapp'),
|
||||||
url: 'https://twitter.com/revancedapp',
|
url: 'https://x.com/revancedapp',
|
||||||
),
|
),
|
||||||
SocialMediaItem(
|
SocialMediaItem(
|
||||||
icon: FaIcon(FontAwesomeIcons.youtube),
|
icon: FaIcon(FontAwesomeIcons.youtube),
|
||||||
|
7179
package-lock.json
generated
7179
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"devDependencies": {
|
|
||||||
"@saithodev/semantic-release-backmerge": "^3.1.0",
|
|
||||||
"@semantic-release/changelog": "^6.0.3",
|
|
||||||
"@semantic-release/git": "^10.0.1",
|
|
||||||
"semantic-release": "^21.0.1",
|
|
||||||
"semantic-release-export-data": "^1.0.1",
|
|
||||||
"semantic-release-flutter-plugin": "^1.1.2"
|
|
||||||
}
|
|
||||||
}
|
|
@ -41,7 +41,7 @@ dependencies:
|
|||||||
sdk: flutter
|
sdk: flutter
|
||||||
flutter_svg: ^2.0.4
|
flutter_svg: ^2.0.4
|
||||||
fluttertoast: ^8.2.1
|
fluttertoast: ^8.2.1
|
||||||
font_awesome_flutter: ^10.4.0
|
font_awesome_flutter: ^10.6.0
|
||||||
get_it: 7.2.0
|
get_it: 7.2.0
|
||||||
google_fonts: ^4.0.3
|
google_fonts: ^4.0.3
|
||||||
http: ^0.13.5
|
http: ^0.13.5
|
||||||
|
Loading…
Reference in New Issue
Block a user