diff --git a/src/NexusMods.App/.gitignore b/src/NexusMods.App/.gitignore new file mode 100644 index 0000000000..c9e642adbe --- /dev/null +++ b/src/NexusMods.App/.gitignore @@ -0,0 +1 @@ +Deploy/ diff --git a/src/NexusMods.App/NexusMods.App.csproj b/src/NexusMods.App/NexusMods.App.csproj index d59e1bcd8e..1253585d42 100644 --- a/src/NexusMods.App/NexusMods.App.csproj +++ b/src/NexusMods.App/NexusMods.App.csproj @@ -1,9 +1,10 @@ WinExe - nexus-logo.ico + icon.ico app.manifest + @@ -55,9 +56,28 @@ - - Always - + + Always + app.pupnet.conf + + + app.pupnet.conf + + + app.pupnet.conf + + + app.pupnet.conf + + + app.pupnet.conf + + + app.pupnet.conf + + + app.pupnet.conf + - + - + + + + + amd64 + + @@ -11,7 +17,7 @@ and is designed to work with. Uncomment the appropriate elements and Windows will automatically select the most compatible environment. --> - + diff --git a/src/NexusMods.App/app.metainfo.xml b/src/NexusMods.App/app.metainfo.xml deleted file mode 100644 index 4435bab5cf..0000000000 --- a/src/NexusMods.App/app.metainfo.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - MIT - - - ${APP_ID} - ${APP_FRIENDLY_NAME} - ${APP_SHORT_SUMMARY} - ${PUBLISHER_NAME} - ${PUBLISHER_LINK_URL} - ${APP_LICENSE_ID} - - - ${APP_ID}.desktop - - - ${APPSTREAM_DESCRIPTION_XML} - - - - - ${PRIME_CATEGORY} - - - - - - - - - ${APPSTREAM_CHANGELOG_XML} - - - diff --git a/src/NexusMods.App/app.pupnet.conf b/src/NexusMods.App/app.pupnet.conf index eaebd8da68..bf391f925d 100644 --- a/src/NexusMods.App/app.pupnet.conf +++ b/src/NexusMods.App/app.pupnet.conf @@ -18,7 +18,7 @@ AppChangeFile = # PUBLISHER PublisherName = Nexus Mods -PublisherCopyright = Copyright (C) Nexus Mods 2023 +PublisherCopyright = Copyright (C) Nexus Mods 2024 PublisherLinkName = Home Page PublisherLinkUrl = https://nexusmods.com PublisherEmail = @@ -26,12 +26,11 @@ PublisherEmail = # DESKTOP INTEGRATION DesktopNoDisplay = false DesktopTerminal = false -DesktopFile = app.desktop -StartCommand = -PrimeCategory = -MetaFile = app.metainfo.xml +DesktopFile = com.nexusmods.app.desktop +MetaFile = com.nexusmods.app.metainfo.xml IconFiles = """ - nexus-logo.ico + icon.ico + icon.svg """ # DOTNET PUBLISH @@ -48,47 +47,22 @@ OutputDirectory = Deploy/OUT AppImageArgs = AppImageVersionOutput = false -# FLATPAK OPTIONS -FlatpakPlatformRuntime = org.freedesktop.Platform -FlatpakPlatformSdk = org.freedesktop.Sdk -FlatpakPlatformVersion = 22.08 -FlatpakFinishArgs = """ - --socket=wayland - --socket=x11 - --filesystem=host - --share=network -""" -FlatpakBuilderArgs = - -# RPM OPTIONS -RpmAutoReq = false -RpmAutoProv = true -RpmRequires = """ - krb5-libs - libicu - openssl-libs - zlib -""" - -# DEBIAN OPTIONS -DebianRecommends = """ - libc6 - libgcc1 - libgcc-s1 - libgssapi-krb5-2 - libicu - libssl - libstdc++6 - libunwind - zlib1g -""" - # WINDOWS SETUP OPTIONS SetupAdminInstall = false SetupCommandPrompt = SetupMinWindowsVersion = 10 -# TODO: signing SetupSignTool = SetupSuffixOutput = SetupVersionOutput = false SetupUninstallScript = "uninstall.bat" + + + + + + + +# unused but required +FlatpakPlatformRuntime = org.freedesktop.Platform +FlatpakPlatformSdk = org.freedesktop.Sdk +FlatpakPlatformVersion = 23.08 diff --git a/src/NexusMods.App/com.nexusmods.app.desktop b/src/NexusMods.App/com.nexusmods.app.desktop new file mode 100644 index 0000000000..1f6b16e9f5 --- /dev/null +++ b/src/NexusMods.App/com.nexusmods.app.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Nexus Mods App +GenericName=Mod Manager +Comment=Mod Manager for your games +Categories=Game +Terminal=false +MimeType=x-scheme-handler/nxm +Icon=com.nexusmods.app +Exec=${INSTALL_EXEC} %u +TryExec=${INSTALL_EXEC} +X-AppImage-Integrate=true +X-AppImage-Name=NexusMods.App +X-AppImage-Arch=x86_64 diff --git a/src/NexusMods.App/com.nexusmods.app.metainfo.xml b/src/NexusMods.App/com.nexusmods.app.metainfo.xml new file mode 100644 index 0000000000..2c7b50e48e --- /dev/null +++ b/src/NexusMods.App/com.nexusmods.app.metainfo.xml @@ -0,0 +1,52 @@ + + + + + com.nexusmods.app + CC0-1.0 + GPL-3.0-only + + Nexus Mods App + Mod Manager for your games + + + The Nexus Mods Team + + + +

The Nexus Mods App is a mod manager for your games and the successor to Vortex with native support for Linux.

+
+ + com.nexusmods.app.desktop + + https://github.com/Nexus-Mods/NexusMods.App + https://github.com/Nexus-Mods/NexusMods.App/issues + https://nexus-mods.github.io/NexusMods.App/users/FAQ/ + https://nexus-mods.github.io/NexusMods.App/users + https://nexus-mods.github.io/NexusMods.App/developers/Contributing/ + https://discord.gg/ReWTxb93jS + https://github.com/Nexus-Mods/NexusMods.App + https://nexus-mods.github.io/NexusMods.App/developers/Contributing/ + + + moderate + + + + Game + + + + 1024 + + always + 360 + + com.valvesoftware.Steam + + + + com.usebottles.bottles + + +
diff --git a/src/NexusMods.App/nexus-logo.ico b/src/NexusMods.App/icon.ico similarity index 100% rename from src/NexusMods.App/nexus-logo.ico rename to src/NexusMods.App/icon.ico diff --git a/src/NexusMods.App/icon.svg b/src/NexusMods.App/icon.svg new file mode 100644 index 0000000000..95c68dec14 --- /dev/null +++ b/src/NexusMods.App/icon.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + +