mirror of
https://github.com/stonega/tsacdop
synced 2025-01-21 19:35:28 +01:00
57bf41114b
Storage management Syncing setting
11 lines
258 B
Dart
11 lines
258 B
Dart
import 'dart:convert';
|
|
import 'dart:io';
|
|
|
|
Future<void> main() async {
|
|
final config = {
|
|
'apiKey': Platform.environment['API_KEY'],
|
|
};
|
|
|
|
final filename = 'lib/.env.dart';
|
|
File(filename).writeAsString('final environment = ${json.encode(config)};');
|
|
} |