|
|
@ -52,10 +52,6 @@ copy_nextcloud_app_svg notifications external/nextcloud-notifications |
|
|
|
# Nextcloud logo |
|
|
|
# Nextcloud logo |
|
|
|
wget https://raw.githubusercontent.com/nextcloud/promo/master/nextcloud-logo-inverted.svg -O assets/logo_nextcloud.svg |
|
|
|
wget https://raw.githubusercontent.com/nextcloud/promo/master/nextcloud-logo-inverted.svg -O assets/logo_nextcloud.svg |
|
|
|
|
|
|
|
|
|
|
|
# Neon logo |
|
|
|
|
|
|
|
wget https://raw.githubusercontent.com/Templarian/MaterialDesign/master/svg/cable-data.svg -O assets/logo_neon.svg |
|
|
|
|
|
|
|
sed -i "s/<path /<path fill=\"$color\" /g" assets/logo_neon.svg |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fvm dart run build_runner build --delete-conflicting-outputs |
|
|
|
fvm dart run build_runner build --delete-conflicting-outputs |
|
|
|
fvm flutter gen-l10n |
|
|
|
fvm flutter gen-l10n |
|
|
|
) |
|
|
|
) |
|
|
@ -63,13 +59,17 @@ copy_nextcloud_app_svg notifications external/nextcloud-notifications |
|
|
|
( |
|
|
|
( |
|
|
|
cd packages/app |
|
|
|
cd packages/app |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Neon logo |
|
|
|
|
|
|
|
wget https://raw.githubusercontent.com/Templarian/MaterialDesign/master/svg/cable-data.svg -O assets/logo_neon.svg |
|
|
|
|
|
|
|
sed -i "s/<path /<path fill=\"$color\" /g" assets/logo_neon.svg |
|
|
|
|
|
|
|
|
|
|
|
# Splash screens |
|
|
|
# Splash screens |
|
|
|
inkscape ../neon/assets/logo_neon.svg -o img/splash_icon.png -w 768 -h 768 # 768px at xxxhdpi is 192dp |
|
|
|
inkscape assets/logo_neon.svg -o img/splash_icon.png -w 768 -h 768 # 768px at xxxhdpi is 192dp |
|
|
|
convert -size 1152x1152 xc:none img/splash_icon.png -gravity center -composite img/splash_icon_android_12.png # 1152px at xxxhdpi is 288dp |
|
|
|
convert -size 1152x1152 xc:none img/splash_icon.png -gravity center -composite img/splash_icon_android_12.png # 1152px at xxxhdpi is 288dp |
|
|
|
exiftool -overwrite_original -all= img/splash_icon_android_12.png # To remove timestamps |
|
|
|
exiftool -overwrite_original -all= img/splash_icon_android_12.png # To remove timestamps |
|
|
|
|
|
|
|
|
|
|
|
# Android launcher icons |
|
|
|
# Android launcher icons |
|
|
|
export_mipmap_icon_all "../neon/neon/assets/logo_neon.svg" "ic_launcher" & |
|
|
|
export_mipmap_icon_all "assets/logo_neon.svg" "ic_launcher" & |
|
|
|
for id in files news notes notifications; do |
|
|
|
for id in files news notes notifications; do |
|
|
|
export_mipmap_icon_all "../neon/neon_$id/assets/app.svg" "app_$id" & |
|
|
|
export_mipmap_icon_all "../neon/neon_$id/assets/app.svg" "app_$id" & |
|
|
|
done |
|
|
|
done |
|
|
|