Skip to content
Snippets Groups Projects
Commit ae286ef6 authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Merge branch '1-add-minimal-empty-application' into 'master'

Resolve "Add minimal empty application"

Closes #1

See merge request !1
parents bd4321cb 0b591288
No related branches found
No related tags found
1 merge request!1Resolve "Add minimal empty application"
Pipeline #1847 passed
Showing
with 284 additions and 0 deletions
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
app.versionName=0.0.1
app.versionCode=1
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
include ':app'
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()
assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
assets/icons/application.png

7.76 KiB

Add initial empty app
Stepper plotter helper application
fastlane/metadata/android/en-US/images/icon.png

23.3 KiB

Stepper plotter helper application
Stepper plotter helper application
Création de l'application minimale, vide.
Application assistante du traceur pas à pas
Application assistante du traceur pas à pas
Application assistante du traceur pas à pas
#! /bin/bash
# Check dependencies
command -v inkscape >/dev/null 2>&1 || { echo >&2 "I require inkscape but it's not installed. Aborting."; exit 1; }
command -v scour >/dev/null 2>&1 || { echo >&2 "I require scour but it's not installed. Aborting."; exit 1; }
command -v optipng >/dev/null 2>&1 || { echo >&2 "I require optipng but it's not installed. Aborting."; exit 1; }
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
BASE_DIR="$(dirname "${CURRENT_DIR}")"
OPTIPNG_OPTIONS="-preserve -quiet -o7"
# optimize svg
function optimize_svg() {
SOURCE="$1"
cp ${SOURCE} ${SOURCE}.tmp
scour \
--remove-descriptive-elements \
--enable-id-stripping \
--enable-viewboxing \
--enable-comment-stripping \
--nindent=4 \
-i ${SOURCE}.tmp \
-o ${SOURCE}
rm ${SOURCE}.tmp
}
# build icons
function build_asset_image() {
ICON_SIZE=192
SOURCE="$1"
TARGET="$2"
optimize_svg "${SOURCE}"
inkscape \
--export-width=${ICON_SIZE} \
--export-height=${ICON_SIZE} \
--export-filename=${TARGET} \
${SOURCE}
optipng ${OPTIPNG_OPTIONS} ${TARGET}
}
# Icons
build_asset_image ${CURRENT_DIR}/icon.svg ${BASE_DIR}/assets/icons/application.png
#! /bin/bash
# Check dependencies
command -v inkscape >/dev/null 2>&1 || { echo >&2 "I require inkscape but it's not installed. Aborting."; exit 1; }
command -v scour >/dev/null 2>&1 || { echo >&2 "I require scour but it's not installed. Aborting."; exit 1; }
command -v optipng >/dev/null 2>&1 || { echo >&2 "I require optipng but it's not installed. Aborting."; exit 1; }
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
BASE_DIR="$(dirname "${CURRENT_DIR}")"
SOURCE="${CURRENT_DIR}/icon.svg"
OPTIPNG_OPTIONS="-preserve -quiet -o7"
# optimize svg
cp ${SOURCE} ${SOURCE}.tmp
scour \
--remove-descriptive-elements \
--enable-id-stripping \
--enable-viewboxing \
--enable-comment-stripping \
--nindent=4 \
-i ${SOURCE}.tmp \
-o ${SOURCE}
rm ${SOURCE}.tmp
# build icons
function build_icon() {
ICON_SIZE="$1"
TARGET="$2"
TARGET_PNG="${TARGET}.png"
inkscape \
--export-width=${ICON_SIZE} \
--export-height=${ICON_SIZE} \
--export-filename=${TARGET_PNG} \
${SOURCE}
optipng ${OPTIPNG_OPTIONS} ${TARGET_PNG}
}
build_icon 72 ${BASE_DIR}/android/app/src/main/res/mipmap-hdpi/ic_launcher
build_icon 48 ${BASE_DIR}/android/app/src/main/res/mipmap-mdpi/ic_launcher
build_icon 96 ${BASE_DIR}/android/app/src/main/res/mipmap-xhdpi/ic_launcher
build_icon 144 ${BASE_DIR}/android/app/src/main/res/mipmap-xxhdpi/ic_launcher
build_icon 192 ${BASE_DIR}/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher
build_icon 512 ${BASE_DIR}/fastlane/metadata/android/en-US/images/icon
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" viewBox="0 0 28.747 28.747" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="filter6206-7" x="-.072" y="-.072" width="1.144" height="1.144" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="0.658125"/>
</filter>
</defs>
<g transform="translate(0 -1093.8)">
<path transform="matrix(1.0781 0 0 1.0641 -.093733 2.7509)" d="m4.4177 1028.2v1.6051h-1.6052v18.192h1.6052v2.1402h18.192v-2.1402h2.1402v-18.192h-2.1402v-1.6051z" fill="#263238" filter="url(#filter6206-7)" opacity=".2"/>
<rect x="2.9987" y="1096.8" width="22.749" height="22.749" rx="1.1973" ry="1.1974" fill="#607d8b"/>
<g transform="translate(-22.32 1056.5)">
<path d="m0 0h51.2v51.2h-51.2z" fill="none" stroke-width="1.0667"/>
<g transform="matrix(.33601 0 0 .33601 1.5296 73.043)">
<path d="m0 0h51.2v51.2h-51.2z" fill="none" stroke-width="1.0667"/>
</g>
<g transform="matrix(.37187 0 0 .37187 38.802 63.239)">
<path d="m0 0h51.2v51.2h-51.2z" fill="none" stroke-width="1.0667"/>
<g transform="matrix(2.6891 0 0 2.6891 -82.906 -48.45)">
<path d="m0 0h51.2v51.2h-51.2z" fill="none" stroke-width="1.0667"/>
</g>
</g>
</g>
<path d="m4.1958 1096.8c-0.66332 0-1.1979 0.5346-1.1979 1.1979v0.3334c0-0.6634 0.53459-1.1979 1.1979-1.1979h20.354c0.66332 0 1.1979 0.5345 1.1979 1.1979v-0.3334c0-0.6633-0.5346-1.1979-1.1979-1.1979z" fill="#fff" opacity=".2"/>
<rect x="128" y="546.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="128" y="631.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="128" y="674.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="128" y="589.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="128" y="717.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="213.33" y="546.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="213.33" y="631.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="213.33" y="674.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="213.33" y="589.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="213.33" y="717.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="298.67" y="546.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="298.67" y="631.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="298.67" y="674.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="298.67" y="589.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="298.67" y="717.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="170.67" y="546.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="170.67" y="631.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="170.67" y="674.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="170.67" y="589.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="170.67" y="717.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="256" y="546.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="256" y="631.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="256" y="674.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="256" y="589.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="256" y="717.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="128" y="759.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="213.33" y="759.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="298.67" y="759.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="170.67" y="759.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="256" y="759.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="341.33" y="589.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="341.33" y="631.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="341.33" y="717.19" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="341.33" y="546.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="341.33" y="674.52" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="341.33" y="759.85" width="42.667" height="42.667" fill="none" stroke-width="1.0667"/>
<rect x="160" y="578.52" width="192" height="192" fill="none" stroke-width="1.0667"/>
<g transform="matrix(.37344 0 0 .37344 4.7333 1097.4)">
<path d="m0 0h51.2v51.2h-51.2z" fill="none" stroke-width="1.0667"/>
</g>
<g transform="matrix(.36471 0 0 .36471 5.1356 1097.4)">
<path d="m0 0h51.2v51.2h-51.2z" fill="none" stroke-width="1.0667"/>
</g>
<g transform="matrix(.41585 0 0 .41585 84.325 1055.9)">
<g transform="matrix(.062269 0 0 .062269 -28.238 185.29)">
<g transform="matrix(38.618 0 0 38.618 14724 -13542)">
<g transform="matrix(.71436 0 0 .71436 -400.52 188.34)">
<path d="m1293.2-120.67c-181.75 0.2763-511.18 0.13525-699.05 0.13998-2.3216 10.413-3.593 21.251-3.593 32.384v114c207.65 0.73695 494.72 0.38136 706.23 0.3733v-114.37c0-11.18-1.2522-22.07-3.593-32.523zm-458.69 295.56c-78.385-4e-3 -158.85 0.17892-243.95 0.55995v138.63c286.34-0.39317 421.73-0.13827 706.23-0.32664v-137.75c-163.2-0.53005-311.22-1.1113-462.28-1.1199z" opacity="0" stroke-width="1.4932"/>
</g>
</g>
</g>
</g>
<path d="m24.549 1119.5c0.66325 0 1.1979-0.5346 1.1979-1.1979v-0.3333c0 0.6632-0.53461 1.1978-1.1979 1.1978h-20.354c-0.66325 0-1.1979-0.5346-1.1979-1.1978v0.3333c0 0.6633 0.53461 1.1979 1.1979 1.1979z" fill="#263238" opacity=".2"/>
</g>
<g transform="matrix(.14457 0 0 .14457 7.1593 7.1448)" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003">
<circle cx="33.5" cy="7.8" r="1.6"/>
<circle cx="20.2" cy="53.9" r="1.6"/>
<path d="m2.2 84.6h-0.2c-0.6-0.1-1-0.7-0.9-1.3l3.9-25.7c0.1-0.5 0.5-0.9 1.1-1 0.5 0 1 0.3 1.2 0.8 1.6 5.9 7 10 13.1 10s11.5-4.1 13.1-10c0.1-0.5 0.6-0.8 1.2-0.8 0.5 0 1 0.4 1.1 1l3.9 25.7c0.1 0.6-0.3 1.2-0.9 1.3s-1.2-0.3-1.3-0.9l-3.3-21.7c-2.8 4.8-7.9 7.8-13.6 7.8s-10.8-3.1-13.6-7.8l-3.7 21.6c-0.1 0.6-0.6 1-1.1 1z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m20.2 61.7c-4.3 0-7.8-3.5-7.8-7.8s3.5-7.8 7.8-7.8 7.8 3.5 7.8 7.8-3.5 7.8-7.8 7.8zm0-13.3c-3.1 0-5.5 2.5-5.5 5.5 0 3.1 2.5 5.5 5.5 5.5 3.1 0 5.5-2.5 5.5-5.5s-2.5-5.5-5.5-5.5z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m33.5 15.6c-4.3 0-7.8-3.5-7.8-7.8s3.5-7.8 7.8-7.8 7.8 3.5 7.8 7.8-3.5 7.8-7.8 7.8zm0-13.3c-3.1 0-5.5 2.5-5.5 5.5 0 3.1 2.5 5.5 5.5 5.5 3.1 0 5.5-2.5 5.5-5.5 0-3.1-2.4-5.5-5.5-5.5z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m64.7 12.6h-19.6c-0.6 0-1.1-0.5-1.1-1.1s0.5-1.1 1.1-1.1h19.6c0.6 0 1.1 0.5 1.1 1.1s-0.5 1.1-1.1 1.1z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m77 2.3h-33.3c-0.6 0-1.1-0.5-1.1-1.1-0.1-0.7 0.4-1.2 1.1-1.2h33.3c0.6 0 1.1 0.5 1.1 1.1 0 0.7-0.5 1.2-1.1 1.2z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m13.5 42.8c-0.3 0-0.5-0.1-0.7-0.3-0.4-0.3-0.5-0.8-0.3-1.2l10.1-26.8c0.2-0.6 0.9-0.9 1.5-0.7s0.9 0.9 0.7 1.5l-9.2 24.3c3.5-1.1 7.4-0.9 10.7 0.5l7.7-20.7c0.2-0.6 0.9-0.9 1.5-0.7s0.9 0.9 0.7 1.5l-8.3 21.8c-0.1 0.3-0.4 0.5-0.7 0.7-0.3 0.1-0.6 0.1-0.9-0.1-3.7-2-8.5-2-12.2 0-0.2 0.1-0.4 0.2-0.6 0.2z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m83.8 21.8c-0.6 0-1.1-0.5-1.1-1.1v-12.8c0-3.1-2.6-5.7-5.7-5.7-0.6 0-1.1-0.5-1.1-1.1s0.5-1.1 1.1-1.1c4.4 0 7.9 3.6 7.9 7.9v12.8c0 0.6-0.5 1.1-1.1 1.1z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m66.7 45.8c-0.4 0-0.7-0.2-1-0.5l-2.2-3.5c-2.4-3.7-2.4-8.3-0.1-12.1l5.6-9.3v-8.9c0-0.6 0.5-1.1 1.1-1.1s1.1 0.5 1.1 1.1v9.2c0 0.2-0.1 0.4-0.2 0.6l-5.8 9.6c-1.8 3-1.8 6.8 0.1 9.7l2.2 3.5c0.3 0.5 0.2 1.2-0.3 1.6 0 0.1-0.3 0.1-0.5 0.1z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m86.7 46.7c-0.2 0-0.4-0.1-0.6-0.2-0.5-0.3-0.7-1-0.3-1.6l2.8-4.4c1.9-3 1.9-6.7 0.1-9.7l-5.8-9.6c-0.3-0.5-0.2-1.2 0.4-1.5 0.5-0.3 1.2-0.2 1.5 0.4l5.8 9.6c2.3 3.8 2.2 8.4-0.1 12.1l-2.8 4.4c-0.2 0.3-0.6 0.5-1 0.5z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m82.9 35h-11.7v-5.8c0-0.8 0.3-1.5 0.9-2.1s1.3-0.9 2.1-0.9h5.8c1.6 0 2.9 1.3 2.9 2.9zm-9.5-2.2h7.2v-3.5c0-0.4-0.3-0.7-0.7-0.7h-5.8c-0.2 0-0.4 0.1-0.5 0.2s-0.2 0.3-0.2 0.5z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m77.1 80.6c-0.4 0-0.8-0.2-1-0.5l-4.8-7.9c-0.1-0.2-0.2-0.4-0.2-0.6l0.1-37.7c0-0.6 0.5-1.1 1.1-1.1h9.4c0.3 0 0.6 0.1 0.8 0.3s0.3 0.5 0.3 0.8l-0.1 37.7c0 0.2-0.1 0.4-0.2 0.6l-4.5 7.8c-0.2 0.4-0.5 0.6-0.9 0.6zm-3.7-9.3 3.7 6 3.5-6v-36.3h-7.2z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m77 71.2c-0.6 0-1.1-0.5-1.1-1.1v-9.9c0-0.6 0.5-1.1 1.1-1.1s1.1 0.5 1.1 1.1v9.9c0 0.6-0.5 1.1-1.1 1.1z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m38.2 100h-36c-0.7 0-1.2-0.5-1.2-1.1v-15.4c0-0.6 0.5-1.1 1.1-1.1h9.4c0.6 0 1.1 0.5 1.1 1.1s-0.5 1.1-1.1 1.1h-8.2v13.1h33.8v-14.2c0-0.6 0.5-1.1 1.1-1.1s1.1 0.5 1.1 1.1v15.4c0 0.6-0.5 1.1-1.1 1.1z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m38.2 84.6h-10.3c-0.6 0-1.1-0.5-1.1-1.1s0.5-1.1 1.1-1.1h10.3c0.6 0 1.1 0.5 1.1 1.1s-0.5 1.1-1.1 1.1z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m59.9 100c-4.7 0-8.4-1.2-11.1-3.6-1.8-1.6-3.2-5-2.3-8.3 0.5-1.8 2.1-4.9 7.5-5.8 8.4-1.4 15.2 2.6 21.2 6.1 0.2 0.1 0.4 0.2 0.5 0.3 5.9 3.5 11.1 6.3 16.7 3.3 3.5-1.9 4.2-5.4 4.2-10.1 0-0.6 0.5-1.1 1.1-1.1s1.1 0.5 1.1 1.1c0 4.7-0.7 9.5-5.4 12.1-6.4 3.5-12 0.7-17.9-2.7-3.8 7.6-11.3 8.7-15.6 8.7zm-2.5-15.7c-1 0-2 0.1-3 0.2-3.1 0.5-5.1 1.9-5.7 4.2-0.7 2.3 0.3 4.9 1.6 6 2.4 2 5.5 3 9.7 3 4.6 0 10.5-1.3 13.8-7.5-5.1-2.9-10.3-5.9-16.4-5.9z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
<path d="m76.8 84.6h-0.1c-0.6-0.1-1.1-0.6-1-1.3 0.1-1.2 0.2-2.5 0.2-3.9 0-0.6 0.5-1.1 1.1-1.1s1.1 0.5 1.1 1.1c0 1.4-0.1 2.8-0.2 4.2 0 0.6-0.5 1-1.1 1z" fill="#fff" stroke="#fff" stroke-linejoin="round" stroke-width="1.003"/>
</g>
</svg>
*.mode1v3
*.mode2v3
*.moved-aside
*.pbxuser
*.perspectivev3
**/*sync/
.sconsign.dblite
.tags*
**/.vagrant/
**/DerivedData/
Icon?
**/Pods/
**/.symlinks/
profile
xcuserdata
**/.generated/
Flutter/App.framework
Flutter/Flutter.framework
Flutter/Flutter.podspec
Flutter/Generated.xcconfig
Flutter/ephemeral/
Flutter/app.flx
Flutter/app.zip
Flutter/flutter_assets/
Flutter/flutter_export_environment.sh
ServiceDefinitions.json
Runner/GeneratedPluginRegistrant.*
# Exceptions to above rules.
!default.mode1v3
!default.mode2v3
!default.pbxuser
!default.perspectivev3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>App</string>
<key>CFBundleIdentifier</key>
<string>io.flutter.flutter.app</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>App</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>8.0</string>
</dict>
</plist>
#include "Generated.xcconfig"
#include "Generated.xcconfig"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment