Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
7e2d7f56df
|
|||
|
c7b2fff7e7
|
|||
|
a6a3d9d5a9
|
|||
|
5a90cc7e82
|
|||
|
1e3d2701fc
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "publish-scripts"]
|
||||
path = publish-scripts
|
||||
url = https://git.pilzinsel64.de/pilz-framework/publish-scripts.git
|
||||
@@ -306,7 +306,7 @@ public partial class MainForm : Window
|
||||
|
||||
private async void MainForm_Loaded(object? sender, RoutedEventArgs e)
|
||||
{
|
||||
var updates = new AppUpdates("manager", this);
|
||||
var updates = new AppUpdates("client", this);
|
||||
updates.OnDownloadProgramUpdate += (_, _) => SetStatus(GeneralLangRes.DownloadProgramUpdate, AppGlobals.Symbols.GetImageSource(AppSymbols.software_installer));
|
||||
await updates.UpdateApp();
|
||||
ClearStatus();
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
pupnet -y -v "$1[1]" -r linux-x64 -k appimage
|
||||
#pupnet -y -v "$1[1]" -r linux-x64 -k flatpak -p DefineConstants=DISABLE_UPDATE
|
||||
#pupnet -y -v "$1[1]"-r linux-x64 -k deb -p DefineConstants=DISABLE_UPDATE
|
||||
#pupnet -y -v "$1[1]"-r linux-x64 -k rpm -p DefineConstants=DISABLE_UPDATE
|
||||
pupnet -y -v "$1[1]" -r linux-arm64 -k appimage
|
||||
#pupnet -y -v "$1[1]" -r linux-arm64 -k flatpak -p DefineConstants=DISABLE_UPDATE
|
||||
#pupnet -y -v "$1[1]"-r linux-arm64 -k deb -p DefineConstants=DISABLE_UPDATE
|
||||
#pupnet -y -v "$1[1]"-r linux-arm64 -k rpm -p DefineConstants=DISABLE_UPDATE
|
||||
pupnet -y -v "$1[1]" -r win-x64 -k zip
|
||||
pupnet -y -v "$1[1]" -r win-arm64 -k zip
|
||||
pupnet -y -v "$1[1]" -r osx-x64 -k zip
|
||||
pupnet -y -v "$1[1]" -r osx-arm64 -k zip
|
||||
@@ -1,12 +0,0 @@
|
||||
pupnet -y -v "$1[1]" -r linux-x64 -k appimage
|
||||
#pupnet -y -v "$1[1]" -r linux-x64 -k flatpak
|
||||
#pupnet -y -v "$1[1]"-r linux-x64 -k deb
|
||||
#pupnet -y -v "$1[1]"-r linux-x64 -k rpm
|
||||
pupnet -y -v "$1[1]" -r linux-arm64 -k appimage
|
||||
#pupnet -y -v "$1[1]" -r linux-arm64 -k flatpak
|
||||
#pupnet -y -v "$1[1]"-r linux-arm64 -k deb
|
||||
#pupnet -y -v "$1[1]"-r linux-arm64 -k rpm
|
||||
pupnet -y -v "$1[1]" -r win-x64 -k zip
|
||||
pupnet -y -v "$1[1]" -r win-arm64 -k zip
|
||||
pupnet -y -v "$1[1]" -r osx-x64 -k zip
|
||||
pupnet -y -v "$1[1]" -r osx-arm64 -k zip
|
||||
@@ -11,46 +11,32 @@ namespace ModpackUpdater.Apps.Manager.LangRes {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class GeneralLangRes {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
private static System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
private static System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal GeneralLangRes() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ModpackUpdater.Apps.Manager.LangRes.GeneralLangRes", typeof(GeneralLangRes).Assembly);
|
||||
if (object.Equals(null, resourceMan)) {
|
||||
System.Resources.ResourceManager temp = new System.Resources.ResourceManager("ModpackUpdater.Apps.Manager.LangRes.GeneralLangRes", typeof(GeneralLangRes).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
@@ -59,418 +45,286 @@ namespace ModpackUpdater.Apps.Manager.LangRes {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Add.
|
||||
/// </summary>
|
||||
public static string Add {
|
||||
get {
|
||||
return ResourceManager.GetString("Add", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Create update.
|
||||
/// </summary>
|
||||
public static string CreateUpdate {
|
||||
get {
|
||||
return ResourceManager.GetString("CreateUpdate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Destination.
|
||||
/// </summary>
|
||||
public static string Destination {
|
||||
get {
|
||||
return ResourceManager.GetString("Destination", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Destination path.
|
||||
/// </summary>
|
||||
public static string DestinationPath {
|
||||
get {
|
||||
return ResourceManager.GetString("DestinationPath", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to File location of "install.json".
|
||||
/// </summary>
|
||||
public static string FileLocationOfInstallJson {
|
||||
get {
|
||||
return ResourceManager.GetString("FileLocationOfInstallJson", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to File location of "update.json".
|
||||
/// </summary>
|
||||
public static string FileLocationOfUpdateJson {
|
||||
get {
|
||||
return ResourceManager.GetString("FileLocationOfUpdateJson", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to General.
|
||||
/// </summary>
|
||||
public static string General {
|
||||
get {
|
||||
return ResourceManager.GetString("General", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to GitLab Api token.
|
||||
/// </summary>
|
||||
public static string GitLabApiToken {
|
||||
get {
|
||||
return ResourceManager.GetString("GitLabApiToken", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to GitLab instance url.
|
||||
/// </summary>
|
||||
public static string GitLabInstanceUrl {
|
||||
get {
|
||||
return ResourceManager.GetString("GitLabInstanceUrl", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Id.
|
||||
/// </summary>
|
||||
public static string Id {
|
||||
get {
|
||||
return ResourceManager.GetString("Id", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Inherit from.
|
||||
/// </summary>
|
||||
public static string InheritFrom {
|
||||
get {
|
||||
return ResourceManager.GetString("InheritFrom", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Is directory.
|
||||
/// </summary>
|
||||
public static string IsDirectory {
|
||||
get {
|
||||
return ResourceManager.GetString("IsDirectory", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Is extra.
|
||||
/// </summary>
|
||||
public static string IsExtra {
|
||||
get {
|
||||
return ResourceManager.GetString("IsExtra", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Is Zip archive.
|
||||
/// </summary>
|
||||
public static string IsZipArchive {
|
||||
get {
|
||||
return ResourceManager.GetString("IsZipArchive", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Metadata.
|
||||
/// </summary>
|
||||
public static string Metadata {
|
||||
get {
|
||||
return ResourceManager.GetString("Metadata", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Modlist for v{0}.
|
||||
/// </summary>
|
||||
public static string ModlistForVersionX {
|
||||
get {
|
||||
return ResourceManager.GetString("ModlistForVersionX", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Modpack config url.
|
||||
/// </summary>
|
||||
public static string ModpackConfigUrl {
|
||||
public static string GitLabInstanceUrl {
|
||||
get {
|
||||
return ResourceManager.GetString("ModpackConfigUrl", resourceCulture);
|
||||
return ResourceManager.GetString("GitLabInstanceUrl", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Name.
|
||||
/// </summary>
|
||||
public static string Name {
|
||||
public static string GitLabApiToken {
|
||||
get {
|
||||
return ResourceManager.GetString("Name", resourceCulture);
|
||||
return ResourceManager.GetString("GitLabApiToken", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to New workspace.
|
||||
/// </summary>
|
||||
public static string NewWorkspace {
|
||||
get {
|
||||
return ResourceManager.GetString("NewWorkspace", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Public.
|
||||
/// </summary>
|
||||
public static string Public {
|
||||
get {
|
||||
return ResourceManager.GetString("Public", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Recent workspace.
|
||||
/// </summary>
|
||||
public static string RecentWorkspaces {
|
||||
get {
|
||||
return ResourceManager.GetString("RecentWorkspaces", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Remove.
|
||||
/// </summary>
|
||||
public static string Remove {
|
||||
get {
|
||||
return ResourceManager.GetString("Remove", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Remove update.
|
||||
/// </summary>
|
||||
public static string RemoveUpdate {
|
||||
get {
|
||||
return ResourceManager.GetString("RemoveUpdate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Repository Id.
|
||||
/// </summary>
|
||||
public static string RepositoryId {
|
||||
get {
|
||||
return ResourceManager.GetString("RepositoryId", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Root folder path.
|
||||
/// </summary>
|
||||
public static string RootFolderPath {
|
||||
get {
|
||||
return ResourceManager.GetString("RootFolderPath", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Save workspace.
|
||||
/// </summary>
|
||||
public static string SaveWorkspace {
|
||||
public static string FileLocationOfInstallJson {
|
||||
get {
|
||||
return ResourceManager.GetString("SaveWorkspace", resourceCulture);
|
||||
return ResourceManager.GetString("FileLocationOfInstallJson", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Search.
|
||||
/// </summary>
|
||||
public static string Search {
|
||||
public static string FileLocationOfUpdateJson {
|
||||
get {
|
||||
return ResourceManager.GetString("Search", resourceCulture);
|
||||
return ResourceManager.GetString("FileLocationOfUpdateJson", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Select.
|
||||
/// </summary>
|
||||
public static string Select {
|
||||
public static string ModpackConfigUrl {
|
||||
get {
|
||||
return ResourceManager.GetString("Select", resourceCulture);
|
||||
return ResourceManager.GetString("ModpackConfigUrl", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Select root folder.
|
||||
/// </summary>
|
||||
public static string SelectRootFolder {
|
||||
public static string Remove {
|
||||
get {
|
||||
return ResourceManager.GetString("SelectRootFolder", resourceCulture);
|
||||
return ResourceManager.GetString("Remove", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Side.
|
||||
/// </summary>
|
||||
public static string Side {
|
||||
get {
|
||||
return ResourceManager.GetString("Side", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Source.
|
||||
/// </summary>
|
||||
public static string Source {
|
||||
get {
|
||||
return ResourceManager.GetString("Source", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Source name.
|
||||
/// </summary>
|
||||
public static string SourceName {
|
||||
get {
|
||||
return ResourceManager.GetString("SourceName", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Source owner.
|
||||
/// </summary>
|
||||
public static string SourceOwner {
|
||||
get {
|
||||
return ResourceManager.GetString("SourceOwner", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Source path.
|
||||
/// </summary>
|
||||
public static string SourcePath {
|
||||
get {
|
||||
return ResourceManager.GetString("SourcePath", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Source RegEx.
|
||||
/// </summary>
|
||||
public static string SourceRegex {
|
||||
get {
|
||||
return ResourceManager.GetString("SourceRegex", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Source type.
|
||||
/// </summary>
|
||||
public static string SourceType {
|
||||
get {
|
||||
return ResourceManager.GetString("SourceType", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Source URL.
|
||||
/// </summary>
|
||||
public static string SourceUrl {
|
||||
get {
|
||||
return ResourceManager.GetString("SourceUrl", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to State.
|
||||
/// </summary>
|
||||
public static string State {
|
||||
get {
|
||||
return ResourceManager.GetString("State", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Tools.
|
||||
/// </summary>
|
||||
public static string Tools {
|
||||
get {
|
||||
return ResourceManager.GetString("Tools", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Update.
|
||||
/// </summary>
|
||||
public static string Update {
|
||||
get {
|
||||
return ResourceManager.GetString("Update", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Updates.
|
||||
/// </summary>
|
||||
public static string Updates {
|
||||
get {
|
||||
return ResourceManager.GetString("Updates", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Update type.
|
||||
/// </summary>
|
||||
public static string UpdateType {
|
||||
get {
|
||||
return ResourceManager.GetString("UpdateType", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Website.
|
||||
/// </summary>
|
||||
public static string Website {
|
||||
get {
|
||||
return ResourceManager.GetString("Website", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Workspace.
|
||||
/// </summary>
|
||||
public static string Workspace {
|
||||
get {
|
||||
return ResourceManager.GetString("Workspace", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Workspace preferences.
|
||||
/// </summary>
|
||||
public static string WorkspacePreferences {
|
||||
get {
|
||||
return ResourceManager.GetString("WorkspacePreferences", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to ZIP archive path.
|
||||
/// </summary>
|
||||
public static string SaveWorkspace {
|
||||
get {
|
||||
return ResourceManager.GetString("SaveWorkspace", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string NewWorkspace {
|
||||
get {
|
||||
return ResourceManager.GetString("NewWorkspace", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string RecentWorkspaces {
|
||||
get {
|
||||
return ResourceManager.GetString("RecentWorkspaces", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Workspace {
|
||||
get {
|
||||
return ResourceManager.GetString("Workspace", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CreateUpdate {
|
||||
get {
|
||||
return ResourceManager.GetString("CreateUpdate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string RemoveUpdate {
|
||||
get {
|
||||
return ResourceManager.GetString("RemoveUpdate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Update {
|
||||
get {
|
||||
return ResourceManager.GetString("Update", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Tools {
|
||||
get {
|
||||
return ResourceManager.GetString("Tools", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Updates {
|
||||
get {
|
||||
return ResourceManager.GetString("Updates", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Add {
|
||||
get {
|
||||
return ResourceManager.GetString("Add", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Public {
|
||||
get {
|
||||
return ResourceManager.GetString("Public", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Id {
|
||||
get {
|
||||
return ResourceManager.GetString("Id", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Side {
|
||||
get {
|
||||
return ResourceManager.GetString("Side", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string UpdateType {
|
||||
get {
|
||||
return ResourceManager.GetString("UpdateType", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SourceType {
|
||||
get {
|
||||
return ResourceManager.GetString("SourceType", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string DestinationPath {
|
||||
get {
|
||||
return ResourceManager.GetString("DestinationPath", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string State {
|
||||
get {
|
||||
return ResourceManager.GetString("State", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string InheritFrom {
|
||||
get {
|
||||
return ResourceManager.GetString("InheritFrom", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SourcePath {
|
||||
get {
|
||||
return ResourceManager.GetString("SourcePath", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string IsDirectory {
|
||||
get {
|
||||
return ResourceManager.GetString("IsDirectory", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string General {
|
||||
get {
|
||||
return ResourceManager.GetString("General", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Name {
|
||||
get {
|
||||
return ResourceManager.GetString("Name", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string IsExtra {
|
||||
get {
|
||||
return ResourceManager.GetString("IsExtra", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Destination {
|
||||
get {
|
||||
return ResourceManager.GetString("Destination", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Source {
|
||||
get {
|
||||
return ResourceManager.GetString("Source", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string IsZipArchive {
|
||||
get {
|
||||
return ResourceManager.GetString("IsZipArchive", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SourceOwner {
|
||||
get {
|
||||
return ResourceManager.GetString("SourceOwner", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SourceName {
|
||||
get {
|
||||
return ResourceManager.GetString("SourceName", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SourceTag {
|
||||
get {
|
||||
return ResourceManager.GetString("SourceTag", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SourceRegex {
|
||||
get {
|
||||
return ResourceManager.GetString("SourceRegex", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SourceUrl {
|
||||
get {
|
||||
return ResourceManager.GetString("SourceUrl", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string ZipArchivePath {
|
||||
get {
|
||||
return ResourceManager.GetString("ZipArchivePath", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Metadata {
|
||||
get {
|
||||
return ResourceManager.GetString("Metadata", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Website {
|
||||
get {
|
||||
return ResourceManager.GetString("Website", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Select {
|
||||
get {
|
||||
return ResourceManager.GetString("Select", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SelectRootFolder {
|
||||
get {
|
||||
return ResourceManager.GetString("SelectRootFolder", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Search {
|
||||
get {
|
||||
return ResourceManager.GetString("Search", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -231,6 +231,9 @@
|
||||
<data name="SourceName" xml:space="preserve">
|
||||
<value>Source name</value>
|
||||
</data>
|
||||
<data name="SourceTag" xml:space="preserve">
|
||||
<value>Source tag</value>
|
||||
</data>
|
||||
<data name="SourceRegex" xml:space="preserve">
|
||||
<value>Source RegEx</value>
|
||||
</data>
|
||||
|
||||
@@ -374,7 +374,7 @@
|
||||
<!-- Source -->
|
||||
<Grid
|
||||
ColumnDefinitions="150,*"
|
||||
RowDefinitions="Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto"
|
||||
RowDefinitions="Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto"
|
||||
RowSpacing="6"
|
||||
ColumnSpacing="6">
|
||||
|
||||
@@ -420,23 +420,30 @@
|
||||
x:Name="TextBoxInstallActionSourceName"
|
||||
Text="{Binding SourceName}"/>
|
||||
|
||||
<!-- Source RegEx -->
|
||||
<Label Grid.Row="5" Grid.Column="0" Content="{x:Static langRes:GeneralLangRes.SourceRegex}" Target="TextBoxInstallActionSourceRegEx"/>
|
||||
<!-- Source tag -->
|
||||
<Label Grid.Row="5" Grid.Column="0" Content="{x:Static langRes:GeneralLangRes.SourceTag}" Target="TextBoxInstallActionSourceTag"/>
|
||||
<TextBox
|
||||
Grid.Row="5" Grid.Column="1"
|
||||
x:Name="TextBoxInstallActionSourceTag"
|
||||
Text="{Binding SourceTag}"/>
|
||||
|
||||
<!-- Source RegEx -->
|
||||
<Label Grid.Row="6" Grid.Column="0" Content="{x:Static langRes:GeneralLangRes.SourceRegex}" Target="TextBoxInstallActionSourceRegEx"/>
|
||||
<TextBox
|
||||
Grid.Row="6" Grid.Column="1"
|
||||
x:Name="TextBoxInstallActionSourceRegEx"
|
||||
Text="{Binding SourceRegex}"/>
|
||||
|
||||
<!-- Source url -->
|
||||
<Label Grid.Row="6" Grid.Column="0" Content="{x:Static langRes:GeneralLangRes.SourceUrl}" Target="TextBoxInstallActionSourceUrl"/>
|
||||
<Label Grid.Row="7" Grid.Column="0" Content="{x:Static langRes:GeneralLangRes.SourceUrl}" Target="TextBoxInstallActionSourceUrl"/>
|
||||
<TextBox
|
||||
Grid.Row="6" Grid.Column="1"
|
||||
Grid.Row="7" Grid.Column="1"
|
||||
x:Name="TextBoxInstallActionSourceUrl" Text="{Binding SourceUrl}"/>
|
||||
|
||||
<!-- Zip archive path -->
|
||||
<Label Grid.Row="7" Grid.Column="0" Content="{x:Static langRes:GeneralLangRes.ZipArchivePath}" Target="TextBoxInstallActionZipArchivePath"/>
|
||||
<Label Grid.Row="8" Grid.Column="0" Content="{x:Static langRes:GeneralLangRes.ZipArchivePath}" Target="TextBoxInstallActionZipArchivePath"/>
|
||||
<TextBox
|
||||
Grid.Row="7" Grid.Column="1"
|
||||
Grid.Row="8" Grid.Column="1"
|
||||
x:Name="TextBoxInstallActionZipArchivePath"
|
||||
Text="{Binding ZipPath}"/>
|
||||
</Grid>
|
||||
|
||||
@@ -127,7 +127,7 @@ public partial class MainWindow : Window, IMainApi
|
||||
|
||||
private async void Window_OnLoaded(object? sender, RoutedEventArgs e)
|
||||
{
|
||||
var updater = new AppUpdates("client", this)
|
||||
var updater = new AppUpdates("manager", this)
|
||||
{
|
||||
UsePopups = true,
|
||||
};
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
pupnet -y -v "$1[1]" -r linux-x64 -k appimage
|
||||
#pupnet -y -v "$1[1]" -r linux-x64 -k flatpak -p DefineConstants=DISABLE_UPDATE
|
||||
#pupnet -y -v "$1[1]"-r linux-x64 -k deb -p DefineConstants=DISABLE_UPDATE
|
||||
#pupnet -y -v "$1[1]"-r linux-x64 -k rpm -p DefineConstants=DISABLE_UPDATE
|
||||
pupnet -y -v "$1[1]" -r linux-arm64 -k appimage
|
||||
#pupnet -y -v "$1[1]" -r linux-arm64 -k flatpak -p DefineConstants=DISABLE_UPDATE
|
||||
#pupnet -y -v "$1[1]"-r linux-arm64 -k deb -p DefineConstants=DISABLE_UPDATE
|
||||
#pupnet -y -v "$1[1]"-r linux-arm64 -k rpm -p DefineConstants=DISABLE_UPDATE
|
||||
pupnet -y -v "$1[1]" -r win-x64 -k zip
|
||||
pupnet -y -v "$1[1]" -r win-arm64 -k zip
|
||||
pupnet -y -v "$1[1]" -r osx-x64 -k zip
|
||||
pupnet -y -v "$1[1]" -r osx-arm64 -k zip
|
||||
@@ -12,7 +12,10 @@ public class ModpackFactory
|
||||
{
|
||||
Credentials = new Credentials("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"),
|
||||
};
|
||||
private readonly ApiClient curseForge = new("$2a$10$pE4dD09gmr7IcOe8hjWhleWWjXopJcDNpq1P9FlrDMCBw05pCyAXa", "pilzinsel64@gmx.de");
|
||||
private readonly ApiClient curseForge = new("$2a$10$pE4dD09gmr7IcOe8hjWhleWWjXopJcDNpq1P9FlrDMCBw05pCyAXa", "pilzinsel64@gmx.de")
|
||||
{
|
||||
RequestTimeout = new TimeSpan(0, 0, 30),
|
||||
};
|
||||
private readonly ModrinthClient modrinth = new(new ModrinthClientConfig
|
||||
{
|
||||
ModrinthToken = "mrp_zUlDSET5actMUdTU3FK242TXgvlWgaErSSEFuegNG7thLgkC50IiK2NCGOzW",
|
||||
@@ -70,7 +73,7 @@ public class ModpackFactory
|
||||
{
|
||||
var repo = await github.Repository.Get(action.SourceOwner, action.SourceName);
|
||||
var releases = await github.Repository.Release.GetAll(repo.Id);
|
||||
return releases.Select(r => new ModVersionInfo(r.TagName, r.Name ?? r.TagName)).ToArray();
|
||||
return releases.Select(r => new ModVersionInfo(r.Name ?? r.TagName, r.TagName)).ToArray();
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
1
publish-scripts
Submodule
1
publish-scripts
Submodule
Submodule publish-scripts added at fd658bd9d1
@@ -1,9 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
for dir in ModpackUpdater.Apps.Client ModpackUpdater.Apps.Client.Gui ModpackUpdater.Apps.Manager; do
|
||||
( cd "$dir" && ./publish.sh "$1" )
|
||||
done
|
||||
|
||||
# Remove artifacts
|
||||
rm -r publish/*/Artifacts*
|
||||
Reference in New Issue
Block a user