Fix URL update script
This commit is contained in:
parent
8ea3b300c0
commit
a84384df34
1 changed files with 2 additions and 2 deletions
|
|
@ -83,8 +83,8 @@ Future<void> _updateVersion(String version) async {
|
|||
|
||||
Future<void> _updateUrl(String url) async {
|
||||
await _replaceInFile(
|
||||
'lib/screens/main_screen.dart',
|
||||
RegExp(r'https://demo\.traccar\.org'),
|
||||
'lib/preferences.dart',
|
||||
RegExp(r'https://demo\.traccar\.org:5055'),
|
||||
url,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue