mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-11 21:56:17 +00:00
Compare commits
11 Commits
v1.19.2
...
v1.19.4-de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e52a6ce734 | ||
|
|
add49e14fb | ||
|
|
ab13895196 | ||
|
|
846afb420b | ||
|
|
dca8a1dab6 | ||
|
|
d1c36c1bcc | ||
|
|
c209c32613 | ||
|
|
9e5e89ac95 | ||
|
|
7cc6b88e4e | ||
|
|
5cd1cba668 | ||
|
|
ca365bac6e |
1
.github/workflows/open_pull_request.yml
vendored
1
.github/workflows/open_pull_request.yml
vendored
@@ -25,3 +25,4 @@ jobs:
|
||||
pr_body: |
|
||||
This pull request will ${{ env.MESSAGE }}.
|
||||
pr_draft: true
|
||||
github_token: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
||||
|
||||
18
.github/workflows/sync_crowdin.yml
vendored
18
.github/workflows/sync_crowdin.yml
vendored
@@ -2,9 +2,13 @@ name: Sync Crowdin
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: 00 12 * * 1
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
paths:
|
||||
- assets/i18n/*.json
|
||||
- assets/i18n/*.dart
|
||||
- .github/workflows/sync_crowdin.yml
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
@@ -16,7 +20,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Dart
|
||||
- name: Setup Dart
|
||||
uses: dart-lang/setup-dart@v1
|
||||
|
||||
- name: Sync translations from Crowdin
|
||||
@@ -32,15 +36,17 @@ jobs:
|
||||
pull_request_body: "Sync translations from [crowdin.com/project/revanced](https://crowdin.com/project/revanced)"
|
||||
pull_request_base_branch_name: "dev"
|
||||
commit_message: "chore: Sync translations"
|
||||
github_user_name: revanced-bot
|
||||
github_user_email: github@revanced.app
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
||||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
|
||||
- name: Remove empty values from JSON
|
||||
run: |
|
||||
cd assets/i18n
|
||||
sudo chmod 777 *
|
||||
sudo chmod 777 *.json
|
||||
dart nuke.dart >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
- name: Commit translations
|
||||
@@ -51,5 +57,3 @@ jobs:
|
||||
git add assets/i18n/*.json
|
||||
git commit -m "chore: Remove empty values from JSON" assets/i18n/*.json
|
||||
git push origin HEAD:feat/translations
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
10
SECURITY.md
10
SECURITY.md
@@ -70,8 +70,8 @@ If a vulnerability is confirmed and accepted, you can join our [Discord](https:/
|
||||
|
||||
### ⏳ Supported Versions
|
||||
|
||||
| Version | Branch | Supported |
|
||||
| -------------------------------------------------------------------------------------------------------- | ----------- | ------------------ |
|
||||
|  | main | :white_check_mark: |
|
||||
|  | dev | :white_check_mark: |
|
||||
|  | compose-dev | :white_check_mark: |
|
||||
| Version | Branch | Supported |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------- | ----------- | ------------------ |
|
||||
|  | main | :white_check_mark: |
|
||||
|  | dev | :white_check_mark: |
|
||||
|  | compose-dev | :white_check_mark: |
|
||||
|
||||
@@ -116,5 +116,5 @@ dependencies {
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.22")
|
||||
|
||||
implementation("app.revanced:revanced-patcher:19.3.1")
|
||||
implementation("app.revanced:revanced-library:2.2.0")
|
||||
implementation("app.revanced:revanced-library:2.2.1")
|
||||
}
|
||||
|
||||
@@ -85,6 +85,9 @@ class GithubAPI {
|
||||
updates++;
|
||||
}
|
||||
for (int i = 1; i < updates; i++) {
|
||||
if (response.data[i]['prerelease']) {
|
||||
continue;
|
||||
}
|
||||
releases.update(
|
||||
'body',
|
||||
(value) =>
|
||||
|
||||
@@ -171,7 +171,10 @@ class PatcherAPI {
|
||||
if (integrationsFile != null) {
|
||||
_dataDir.createSync();
|
||||
_tmpDir.createSync();
|
||||
final Directory workDir = _tmpDir.createTempSync('tmp-');
|
||||
final Directory workDir = await _tmpDir.createTemp('tmp-');
|
||||
|
||||
final File inApkFile = File('${workDir.path}/in.apk');
|
||||
await File(apkFilePath).copy(inApkFile.path);
|
||||
|
||||
outFile = File('${workDir.path}/out.apk');
|
||||
|
||||
@@ -182,7 +185,7 @@ class PatcherAPI {
|
||||
await patcherChannel.invokeMethod(
|
||||
'runPatcher',
|
||||
{
|
||||
'inFilePath': apkFilePath,
|
||||
'inFilePath': inApkFile.path,
|
||||
'outFilePath': outFile!.path,
|
||||
'integrationsPath': integrationsFile.path,
|
||||
'selectedPatches': selectedPatches.map((p) => p.name).toList(),
|
||||
|
||||
@@ -4,7 +4,7 @@ homepage: https://github.com/ReVanced/revanced-manager
|
||||
|
||||
publish_to: 'none'
|
||||
|
||||
version: 1.19.2+101800004
|
||||
version: 1.19.4-dev.1+101800007
|
||||
|
||||
environment:
|
||||
sdk: '>=3.0.0 <4.0.0'
|
||||
|
||||
Reference in New Issue
Block a user