Skip to content

Commit 7cfe87c

Browse files
committed
Begin using buildIcons.nix for creating res/
1 parent d686df9 commit 7cfe87c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

android/AndroidManifest.xml.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ in ''
1818
android:versionCode="${version.code}"
1919
android:versionName="${version.name}">
2020
<application android:label="@string/app_name"
21-
android:icon="${iconPath}"
21+
android:icon="@drawable/ic_launcher"
2222
android:allowBackup="${boolStr allowBackup}"
2323
android:fullBackupContent="${boolStr fullBackupContent}"
2424
android:hardwareAccelerated="true"

android/impl.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ in {
139139
}
140140
'') abiVersions) + ''
141141
rsync -r --chmod=+w "${assets}"/ "$out/assets/"
142-
rsync -r --chmod=+w "${resources}"/ "$out/res/"
142+
rsync -r --chmod=+w "${nixpkgs.callPackage ./buildIcons.nix {} { src = iconPath; }}"/ "$out/res/"
143143
[ -d "$out/assets" ]
144144
[ -d "$out/res" ]
145145
'');

0 commit comments

Comments
 (0)