mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 12:47:37 +02:00
fix: Export patcher logs as a file instead of text
This commit is contained in:
@ -151,7 +151,7 @@ class InstallerViewModel extends BaseViewModel {
|
||||
}
|
||||
|
||||
void shareLog() {
|
||||
_patcherAPI.shareLog(logs);
|
||||
_patcherAPI.sharePatcherLog(logs);
|
||||
}
|
||||
|
||||
Future<void> cleanPatcher() async {
|
||||
|
@ -235,7 +235,7 @@ class SettingsViewModel extends BaseViewModel {
|
||||
.replaceAll(':', '')
|
||||
.replaceAll('T', '')
|
||||
.replaceAll('.', '');
|
||||
File logcat = File('${logDir.path}/revanced-manager_$dateTime.log');
|
||||
File logcat = File('${logDir.path}/revanced-manager_logcat_$dateTime.log');
|
||||
String logs = await Logcat.execute();
|
||||
logcat.writeAsStringSync(logs);
|
||||
ShareExtend.share(logcat.path, 'file');
|
||||
|
Reference in New Issue
Block a user