Skip to content

Commit f5dbb00

Browse files
author
CIS Guru
committed
fix: AppImage packaging and branding corrections
- electron-builder.json: restore entry wrapper with full desktop fields (Comment, Name, Icon, Type, Categories, Keywords, etc.) required by electron-builder 26.0.x schema; add co.nineapp paths for extraFiles - Rename com.nineapp.nine.appdata.xml -> co.nineapp.nine.appdata.xml; update internal <id> and <launchable> from com.nineapp to co.nineapp - nine.desktop: mark as reference template (electron-builder generates its own) - LinuxKeychainService: rename Schema constant from org.aquiis.database to co.nineapp.database - Remove desktop-config.bk scratch file
1 parent fba3324 commit f5dbb00

5 files changed

Lines changed: 17 additions & 83 deletions

File tree

1-Nine.Infrastructure/Services/LinuxKeychainService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Nine.Infrastructure.Services;
1010
/// </summary>
1111
public class LinuxKeychainService : IKeychainService
1212
{
13-
private const string Schema = "org.aquiis.database";
13+
private const string Schema = "co.nineapp.database";
1414
private const string KeyAttribute = "key-type";
1515
private readonly string _keyValue;
1616

4-Nine/Assets/com.nineapp.nine.appdata.xml renamed to 4-Nine/Assets/co.nineapp.nine.appdata.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<component type="desktop-application">
3-
<id>com.nineapp.nine</id>
3+
<id>co.nineapp.nine</id>
44
<metadata_license>MIT</metadata_license>
55
<project_license>MIT</project_license>
66
<name>Nine</name>
@@ -29,7 +29,7 @@
2929
</p>
3030
</description>
3131

32-
<launchable type="desktop-id">com.nineapp.nine.desktop</launchable>
32+
<launchable type="desktop-id">co.nineapp.nine.desktop</launchable>
3333

3434
<screenshots>
3535
<screenshot type="default">

4-Nine/Assets/nine.desktop

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
# This file serves as a reference template for the desktop entry fields
2+
# configured in electron-builder.json under linux.desktop.
3+
# electron-builder generates the actual embedded desktop file at build time;
4+
# the values here should remain in sync with that configuration.
5+
16
[Desktop Entry]
27
Name=Nine
38
Comment=Property management desktop application.
49
Exec=Nine-1.0.0-x86_64.AppImage
5-
Icon=nine
10+
Icon=Nine
611
Type=Application
712
Categories=Office;Finance;
813
Terminal=false

4-Nine/Properties/electron-builder.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@
3333
"artifactName": "${productName}-${version}-${arch}.${ext}",
3434
"desktop": {
3535
"entry": {
36+
"Name": "Nine",
37+
"Comment": "Property management desktop application.",
38+
"Icon": "Nine",
39+
"Type": "Application",
40+
"Categories": "Office;Finance;",
41+
"Terminal": "false",
42+
"StartupWMClass": "Nine",
43+
"Keywords": "property;management;landlord;rental;lease;tenant;invoice;",
3644
"X-AppImage-Payload-License": "MIT"
3745
}
3846
},

4-Nine/desktop-config.bk

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)