Skip to content

Commit e99ec96

Browse files
Update to new setup for AppImage
1 parent f260b62 commit e99ec96

16 files changed

+26
-89
lines changed

MSURandomizer/MSURandomizer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<!--Condition
3535
below is needed to remove Avalonia.Diagnostics package from build output in Release
3636
configuration.-->
37-
<PackageReference Include="MattEqualsCoder.AppImageDesktopFileCreator" Version="0.2.0" />
37+
<PackageReference Include="MattEqualsCoder.AppImageDesktopFileCreator" Version="0.3.2" />
3838
<PackageReference Include="MattEqualsCoder.AvaloniaControls" Version="1.9.0" />
3939
<PackageReference Include="MattEqualsCoder.GitHubReleaseChecker" Version="1.1.3" />
4040
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.9" />

MSURandomizer/Program.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,7 @@ public static void Main(string[] args)
9696
[SupportedOSPlatform("linux")]
9797
internal static CreateDesktopFileResponse BuildLinuxDesktopFile()
9898
{
99-
var assembly = Assembly.GetExecutingAssembly();
10099
return new DesktopFileBuilder("org.mattequalscoder.msurandomizer", "MSU Randomizer")
101-
.AddDescription("UI application for applying, randomizing, and shuffling MSUs")
102-
.AddCategory(DesktopFileCategories.Game)
103-
.AddWindowClass("MSURandomizer")
104-
.AddIcon(assembly, "MSURandomizer.Assets.icon.16.png", 16)
105-
.AddIcon(assembly, "MSURandomizer.Assets.icon.32.png", 32)
106-
.AddIcon(assembly, "MSURandomizer.Assets.icon.48.png", 48)
107-
.AddIcon(assembly, "MSURandomizer.Assets.icon.64.png", 64)
108-
.AddIcon(assembly, "MSURandomizer.Assets.icon.128.png", 128)
109-
.AddIcon(assembly, "MSURandomizer.Assets.icon.256.png", 256)
110-
.AddIcon(assembly, "MSURandomizer.Assets.icon.512.png", 512)
111-
.AddIcon(assembly, "MSURandomizer.Assets.icon.svg")
112100
.AddUninstallAction(Directories.AppDataFolder)
113101
.Build();
114102
}

Setup/AppImage.pupnet.conf

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ DesktopTerminal = false
101101
# in order to use the correct install location. Other macros may be used to help automate the content.
102102
# Note. PupNet Deploy can generate you a desktop file. Use --help and 'pupnet --help macro' for reference.
103103
# See: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
104-
DesktopFile = msurandomizer.desktop
104+
DesktopFile = MSURandomizer.desktop
105105

106106
# Optional command name to start the application from the terminal. If, for example, AppBaseName is
107107
# 'Zone.Kuiper.HelloWorld', the value here may be set to a simpler and/or lower-case variant such as
@@ -127,13 +127,15 @@ MetaFile = app.metainfo.xml
127127
# of a scalable SVG is preferable on Linux, whereas PNGs must be one of the standard sizes and MUST
128128
# include the size in the filename in the form: name.32x32.png' or 'name.32.png'.
129129
IconFiles = """
130-
../MSURandomizer/Assets/icon.512.png
131-
../MSURandomizer/Assets/icon.256.png
132-
../MSURandomizer/Assets/icon.128.png
133-
../MSURandomizer/Assets/icon.64.png
134-
../MSURandomizer/Assets/icon.32.png
135-
../MSURandomizer/Assets/icon.24.png
136-
../MSURandomizer/Assets/icon.16.png
130+
Icons/icon.512.png
131+
Icons/icon.256.png
132+
Icons/icon.128.png
133+
Icons/icon.64.png
134+
Icons/icon.48.png
135+
Icons/icon.32.png
136+
Icons/icon.24.png
137+
Icons/icon.16.png
138+
Icons/icon.svg
137139
"""
138140

139141
########################################

0 commit comments

Comments
 (0)