file association fix

This commit is contained in:
Stef Tervelde
2025-08-13 14:29:24 +02:00
parent 144e8b4f3a
commit 62af87b26d
3 changed files with 24 additions and 6 deletions
+4 -4
View File
@@ -89,10 +89,10 @@ compose.desktop {
// Fix fonts on some Linux distributions
jvmArgs("-Dawt.useSystemAAFontSettings=on")
fileAssociation("application/x-processing","pde", "Processing Source Code",rootProject.file("build/shared/lib/icons/pde-1024.png"))
fileAssociation("application/x-processing","pyde", "Processing Python Source Code",rootProject.file("build/shared/lib/icons/pde-1024.png"))
fileAssociation("application/x-processing","pdez", "Processing Sketch Bundle",rootProject.file("build/shared/lib/icons/pde-1024.png"))
fileAssociation("application/x-processing","pdex", "Processing Contribution Bundle", rootProject.file("build/shared/lib/icons/pde-1024.png"))
fileAssociation("application/x-processing","pde", "Processing Source Code",rootProject.file("build/shared/lib/icons/pde-512.png"))
fileAssociation("application/x-processing","pyde", "Processing Python Source Code",rootProject.file("build/shared/lib/icons/pde-512.png"))
fileAssociation("application/x-processing","pdez", "Processing Sketch Bundle",rootProject.file("build/shared/lib/icons/pde-512.png"))
fileAssociation("application/x-processing","pdex", "Processing Contribution Bundle", rootProject.file("build/shared/lib/icons/pde-512.png"))
}
}
}
+1 -2
View File
@@ -21,7 +21,6 @@ modules:
- mv opt/processing/* /app/
- find /app/lib/app/resources/jdk/bin -type f -exec chmod +x {} +
# Install the desktop file and icon
- install -D /app/lib/processing-Processing.desktop /app/share/applications/org.processing.pde.desktop
- sed -i 's/^Icon=.*/Icon=org.processing.pde/' /app/share/applications/org.processing.pde.desktop
@@ -31,7 +30,7 @@ modules:
- install -D /app/lib/processing-Processing-MimeInfo.xml /app/share/mime/packages/org.processing.pde.xml
# - install -D /app/lib/Processing.png /app/share/icons/hicolor/512x512/apps/org.processing.pde.png
# - install -D /app/lib/application-x-processing.png /app/share/icons/hicolor/512x512/mimetypes/org.processing.pde-text-x-processing.png
- install -D /app/lib/application-x-processing.png /app/share/icons/hicolor/512x512/mimetypes/org.processing.pde-text-x-processing.png
sources:
- type: file
+19
View File
@@ -0,0 +1,19 @@
<svg width="825" height="825" viewBox="0 0 825 825" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_2067_354)">
<mask id="mask0_2067_354" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="825" height="825">
<rect x="0.5" y="0.82666" width="824" height="824" rx="50" fill="#1369C9"/>
</mask>
<g mask="url(#mask0_2067_354)">
<rect x="0.5" y="0.82666" width="824" height="824" rx="50" fill="#1369C9"/>
<rect x="0.5" y="-19.1733" width="824" height="824" rx="50" fill="#489EFF"/>
<path d="M447.435 527.359C682.619 527.359 682.619 213.453 447.435 213.453" stroke="white" stroke-width="117.1"/>
<path d="M436.583 322.783L215.828 632.892" stroke="#9FCFFF" stroke-width="117.738"/>
<path d="M209.521 353.27L285.208 539.86" stroke="#1C48B5" stroke-width="117.044"/>
</g>
</g>
<defs>
<clipPath id="clip0_2067_354">
<rect width="824" height="824" fill="white" transform="translate(0.5 0.82666)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 958 B