chore: add resources
BIN
resources/icon.psd
Normal file
BIN
resources/icon/app/android/play_store_512.png
Normal file
After Width: | Height: | Size: 18 KiB |
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@mipmap/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
<monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
|
||||
</adaptive-icon>
|
BIN
resources/icon/app/android/res/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 854 B |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 3.2 KiB |
BIN
resources/icon/app/android/res/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 461 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.2 KiB |
BIN
resources/icon/app/android/res/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 4.9 KiB |
BIN
resources/icon/app/android/res/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 7.8 KiB |
After Width: | Height: | Size: 7.8 KiB |
BIN
resources/icon/app/android/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 12 KiB |
BIN
resources/icon/app/ios/AppIcon-20@2x.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
resources/icon/app/ios/AppIcon-20@2x~ipad.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
resources/icon/app/ios/AppIcon-20@3x.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
resources/icon/app/ios/AppIcon-20~ipad.png
Normal file
After Width: | Height: | Size: 539 B |
BIN
resources/icon/app/ios/AppIcon-29.png
Normal file
After Width: | Height: | Size: 664 B |
BIN
resources/icon/app/ios/AppIcon-29@2x.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
resources/icon/app/ios/AppIcon-29@2x~ipad.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
resources/icon/app/ios/AppIcon-29@3x.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
resources/icon/app/ios/AppIcon-29~ipad.png
Normal file
After Width: | Height: | Size: 664 B |
BIN
resources/icon/app/ios/AppIcon-40@2x.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
resources/icon/app/ios/AppIcon-40@2x~ipad.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
resources/icon/app/ios/AppIcon-40@3x.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
resources/icon/app/ios/AppIcon-40~ipad.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
resources/icon/app/ios/AppIcon-60@2x~car.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
resources/icon/app/ios/AppIcon-60@3x~car.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
resources/icon/app/ios/AppIcon-83.5@2x~ipad.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
resources/icon/app/ios/AppIcon@2x.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
resources/icon/app/ios/AppIcon@2x~ipad.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
resources/icon/app/ios/AppIcon@3x.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
resources/icon/app/ios/AppIcon~ios-marketing.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
resources/icon/app/ios/AppIcon~ipad.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
134
resources/icon/app/ios/Contents.json
Normal file
@ -0,0 +1,134 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"filename": "AppIcon@2x.png",
|
||||
"idiom": "iphone",
|
||||
"scale": "2x",
|
||||
"size": "60x60"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon@3x.png",
|
||||
"idiom": "iphone",
|
||||
"scale": "3x",
|
||||
"size": "60x60"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon~ipad.png",
|
||||
"idiom": "ipad",
|
||||
"scale": "1x",
|
||||
"size": "76x76"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon@2x~ipad.png",
|
||||
"idiom": "ipad",
|
||||
"scale": "2x",
|
||||
"size": "76x76"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-83.5@2x~ipad.png",
|
||||
"idiom": "ipad",
|
||||
"scale": "2x",
|
||||
"size": "83.5x83.5"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-40@2x.png",
|
||||
"idiom": "iphone",
|
||||
"scale": "2x",
|
||||
"size": "40x40"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-40@3x.png",
|
||||
"idiom": "iphone",
|
||||
"scale": "3x",
|
||||
"size": "40x40"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-40~ipad.png",
|
||||
"idiom": "ipad",
|
||||
"scale": "1x",
|
||||
"size": "40x40"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-40@2x~ipad.png",
|
||||
"idiom": "ipad",
|
||||
"scale": "2x",
|
||||
"size": "40x40"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-20@2x.png",
|
||||
"idiom": "iphone",
|
||||
"scale": "2x",
|
||||
"size": "20x20"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-20@3x.png",
|
||||
"idiom": "iphone",
|
||||
"scale": "3x",
|
||||
"size": "20x20"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-20~ipad.png",
|
||||
"idiom": "ipad",
|
||||
"scale": "1x",
|
||||
"size": "20x20"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-20@2x~ipad.png",
|
||||
"idiom": "ipad",
|
||||
"scale": "2x",
|
||||
"size": "20x20"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-29.png",
|
||||
"idiom": "iphone",
|
||||
"scale": "1x",
|
||||
"size": "29x29"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-29@2x.png",
|
||||
"idiom": "iphone",
|
||||
"scale": "2x",
|
||||
"size": "29x29"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-29@3x.png",
|
||||
"idiom": "iphone",
|
||||
"scale": "3x",
|
||||
"size": "29x29"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-29~ipad.png",
|
||||
"idiom": "ipad",
|
||||
"scale": "1x",
|
||||
"size": "29x29"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-29@2x~ipad.png",
|
||||
"idiom": "ipad",
|
||||
"scale": "2x",
|
||||
"size": "29x29"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-60@2x~car.png",
|
||||
"idiom": "car",
|
||||
"scale": "2x",
|
||||
"size": "60x60"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon-60@3x~car.png",
|
||||
"idiom": "car",
|
||||
"scale": "3x",
|
||||
"size": "60x60"
|
||||
},
|
||||
{
|
||||
"filename": "AppIcon~ios-marketing.png",
|
||||
"idiom": "ios-marketing",
|
||||
"scale": "1x",
|
||||
"size": "1024x1024"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "iconkitchen",
|
||||
"version": 1
|
||||
}
|
||||
}
|
BIN
resources/icon/app/macos/AppIcon.icns
Normal file
18
resources/icon/app/web/README.txt
Normal file
@ -0,0 +1,18 @@
|
||||
Add this to your HTML <head>:
|
||||
|
||||
<link rel="icon" href="/favicon.ico" sizes="any">
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||||
|
||||
Add this to your app's manifest.json:
|
||||
|
||||
...
|
||||
{
|
||||
"icons": [
|
||||
{ "src": "/favicon.ico", "type": "image/x-icon", "sizes": "16x16 32x32" },
|
||||
{ "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" },
|
||||
{ "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" },
|
||||
{ "src": "/icon-192-maskable.png", "type": "image/png", "sizes": "192x192", "purpose": "maskable" },
|
||||
{ "src": "/icon-512-maskable.png", "type": "image/png", "sizes": "512x512", "purpose": "maskable" }
|
||||
]
|
||||
}
|
||||
...
|
BIN
resources/icon/app/web/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
resources/icon/app/web/favicon.ico
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
resources/icon/app/web/icon-192-maskable.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
resources/icon/app/web/icon-192.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
resources/icon/app/web/icon-512-maskable.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
resources/icon/app/web/icon-512.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
resources/icon/icon.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
resources/icon/icon.psd
Normal file
42
resources/icon/icon.svg
Normal file
@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 512 512">
|
||||
<!-- Generator: Adobe Illustrator 29.0.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 192) -->
|
||||
<defs>
|
||||
<style>
|
||||
.st0, .st1 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.st2 {
|
||||
fill: #4a90e2;
|
||||
}
|
||||
|
||||
.st3 {
|
||||
fill: #d0021b;
|
||||
}
|
||||
|
||||
.st1 {
|
||||
fill: #fff;
|
||||
font-family: ArialMT, Arial;
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
.st4 {
|
||||
fill: #f5a623;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<g>
|
||||
<path class="st2" d="M69,69.9h80c11,0,20,6,20,13.5v81c0,7.5-9,13.5-20,13.5h-80c-11,0-20-6-20-13.5v-81c0-7.5,9-13.5,20-13.5Z"/>
|
||||
<g class="st0">
|
||||
<text class="st1" transform="translate(60 141.7)"><tspan x="0" y="0">ODT</tspan></text>
|
||||
</g>
|
||||
</g>
|
||||
<polygon class="st4" points="189 145 260.7 145 260.7 162.9 296.6 127 260.7 91.2 260.7 109.1 189 109.1 189 145"/>
|
||||
<g>
|
||||
<path class="st3" d="M336.6,69.9h80c11,0,20,6,20,13.5v81c0,7.5-9,13.5-20,13.5h-80c-11,0-20-6-20-13.5v-81c0-7.5,9-13.5,20-13.5Z"/>
|
||||
<g class="st0">
|
||||
<text class="st1" transform="translate(332.6 141.2)"><tspan x="0" y="0">PDF</tspan></text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
BIN
resources/ins_background.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
13
resources/tools/crea_universal.sh
Executable file
@ -0,0 +1,13 @@
|
||||
APP_NAME=dir-odt-to-pdf
|
||||
|
||||
# Apple Silicon (arm64)
|
||||
cargo build --target aarch64-apple-darwin --release
|
||||
# Intel (x86_64)
|
||||
cargo build --target x86_64-apple-darwin --release
|
||||
|
||||
|
||||
lipo -create \
|
||||
-output $APP_NAME \
|
||||
target/aarch64-apple-darwin/release/$APP_NAME \
|
||||
target/x86_64-apple-darwin/release/$APP_NAME
|
||||
|