android icons generated
@ -10,7 +10,7 @@
|
||||
</intent>
|
||||
</queries>
|
||||
|
||||
<application android:label="spotube" android:name="${applicationName}" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true">
|
||||
<application android:label="Spotube" android:name="${applicationName}" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true">
|
||||
<activity android:name=".MainActivity" android:exported="true" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
|
||||
<!-- Specifies an Android theme to apply to this Activity as soon as
|
||||
the Android process has started. This theme is visible to the user
|
||||
|
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 721 B After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 28 KiB |
@ -1,19 +0,0 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:path/path.dart' as path;
|
||||
import 'package:dotenv/dotenv.dart';
|
||||
|
||||
void main() async {
|
||||
load();
|
||||
final bool hasKey = env.containsKey("SECRET");
|
||||
final val = hasKey ? jsonDecode(env["SECRET"]!) : null;
|
||||
if (!hasKey || (hasKey && val is! Map && val is! List)) {
|
||||
return;
|
||||
}
|
||||
|
||||
await File(path.join(
|
||||
Directory.current.path, "lib/models/generated_secrets.dart"))
|
||||
.writeAsString(
|
||||
"final List<Map<String, dynamic>> secrets = ${env["SECRET"]};");
|
||||
}
|
14
pubspec.lock
@ -148,13 +148,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.4"
|
||||
dotenv:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
name: dotenv
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.0.0"
|
||||
fake_async:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -202,6 +195,13 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.18.2+1"
|
||||
flutter_launcher_icons:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
name: flutter_launcher_icons
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.9.2"
|
||||
flutter_lints:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
|
@ -67,7 +67,7 @@ dev_dependencies:
|
||||
# package. See that file for information about deactivating specific lint
|
||||
# rules and activating additional ones.
|
||||
flutter_lints: ^1.0.0
|
||||
dotenv: ^3.0.0
|
||||
flutter_launcher_icons: ^0.9.2
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
@ -117,4 +117,9 @@ msix_config:
|
||||
identity_name: oss.krtirtho.spotube
|
||||
msix_version: 1.0.1.0
|
||||
logo_path: .\assets\spotube-logo.png
|
||||
capabilities: "internetClient,internetClientServer,backgroundMediaPlayback"
|
||||
capabilities: "internetClient,internetClientServer,backgroundMediaPlayback"
|
||||
|
||||
|
||||
flutter_icons:
|
||||
android: true
|
||||
image_path: "assets/spotube-logo.png"
|