Giter Site home page Giter Site logo

jiayisoftware / jiayilauncher Goto Github PK

View Code? Open in Web Editor NEW
58.0 7.0 18.0 931 KB

Minecraft for Windows mod manager

Home Page: https://jiayisoftware.github.io/launcher

License: GNU General Public License v3.0

C# 46.94% HTML 41.96% CSS 11.10%
modding shaders version-switcher bedrock minecraft mod-manager

jiayilauncher's Issues

Proposal: Consider using Appx Packages

This would have many advantages:

  • Easy installation
  • Easy to uninstall
  • Follows the overall standard of a Windows application
  • Allows to reset app data from settings (and cache, ...)
  • File extension can be specified in package manifest
  • Easy for other apps to find the program on your system

Edit:

  • You can (or need to) sign the appx package, this would allow people verify that the package is legit
  • (Microsoft Store!?)

The Toasts Room

general discussion for how to implement toasts. even if you're not a developer, you can throw in your two cents on how they should look and behave

very deep crash when trying to switch versions

log for reference:

[...]
[18:55:36] [VersionManager - Info]: Switching to version 1.18.12.1
[18:55:36] [TargetInvocationException - Error]: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.InvalidCastException: Specified cast is not valid.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at WinRT.IObjectReference.As[T](Guid iid)
   at WinRT.IObjectReference.As[T]()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at WinRT.SingleInterfaceOptimizedObject..ctor(Type type, IObjectReference objRef, Boolean requireQI)
   at WinRT.SingleInterfaceOptimizedObject..ctor(Type type, IObjectReference objRef)
   at Windows.Storage.ApplicationData.Make__lazy_global__System_IDisposable()
   at Windows.Storage.ApplicationData.AsInternal(InterfaceTag`1 _)
   at Windows.Storage.ApplicationData.Dispose()
   at JiayiLauncher.Features.Versions.VersionManager.Switch(String version) in D:\projects\JiayiLauncher\JiayiLauncher\Features\Versions\VersionManager.cs:line 135
   at JiayiLauncher.Pages.Extra.FullVersionList.SwitchClicked(String ver) in D:\projects\JiayiLauncher\JiayiLauncher\Pages\Extra\FullVersionList.razor:line 215
   at JiayiLauncher.Pages.Extra.FullVersionList.<>c__DisplayClass0_0.<<BuildRenderTree>b__6>d.MoveNext() in D:\projects\JiayiLauncher\JiayiLauncher\Pages\Extra\FullVersionList.razor:line 67
[...]

i think it's an issue with winrt because of how deep this stack trace is but i could be wrong

IMPORTANT: HURRY!

my friends and parents all left after i instlaled jiayi please help

[Injector - Error]: Every native call succeeded, but the module wasn't loaded.

I tried to launch latite client dll with Jiayi launcher, but it does not work. It does work if I inject it with fate injector.
It still doesn't work after disabling Windows Defender (my only antivirus).
it was like this even before the 1.21 update, just did not think of opening an issue back then.

Log:

[12:05:34] [Launcher - Info]: Launching Latite
[12:05:34] [Minecraft - Info]: Current game version is 1.21.3.0 and mod supports Any version
[12:05:35] [Launcher - Info]: Opened game, waiting to launch mod...
[12:05:38] [Discord - Info]: Presence updated: 正在玩 no mods - 在 1.21.3.0
[12:05:43] [Discord - Info]: Presence updated: 正在玩 no mods - 在 1.21.3.0
[12:05:43] [Launcher - Info]: Detected internal mod
[12:05:43] [Injector - Info]: Injecting C:\Users\User\AppData\Local\JiayiLauncher\Mods\Latite.dll
[12:05:44] [Injector - Error]: Every native call succeeded, but the module wasn't loaded.

Full log

Jiayi Launcher

image

Fate Injector

image

Launcher crash when downloading version (so far 1.18.31, which had no error but straight up just closed the launcher, 1.19.71 and 1.19.73 are the ones that don't seem to work, though I havent tried anything else.)

[16:49:18] [JiayiSettings - Info]: Loaded settings.
[16:49:18] [ModCollection - Info]: Loaded mod collection at C:\Users\dpr39\AppData\Local\JiayiLauncher\Mods
[16:49:19] [JiayiSettings - Info]: Saved settings.
[16:49:19] [ThemeManager - Info]: Applied theme.
[16:49:19] [JiayiStats - Info]: Loaded stats.
[16:49:19] [Discord - Info]: Connected to GoldenMeerket#8554
[16:49:20] [Discord - Info]: Presence updated: Playing with no mods - on 1.19.83.1
[16:49:32] [TargetInvocationException - Error]: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.Runtime.InteropServices.COMException (0x80040403): 0x80040403
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at JiayiLauncher.Features.Versions.RequestFactory.GetUpdateToken() in D:\projects\JiayiLauncher\JiayiLauncher\Features\Versions\RequestFactory.cs:line 46
at JiayiLauncher.Features.Versions.RequestFactory.BuildUpdateTickets() in D:\projects\JiayiLauncher\JiayiLauncher\Features\Versions\RequestFactory.cs:line 64
at JiayiLauncher.Features.Versions.RequestFactory.BuildHeader(String url, String methodName) in D:\projects\JiayiLauncher\JiayiLauncher\Features\Versions\RequestFactory.cs:line 78
at JiayiLauncher.Features.Versions.RequestFactory.GetDownloadUrl(String updateId) in D:\projects\JiayiLauncher\JiayiLauncher\Features\Versions\RequestFactory.cs:line 99
at JiayiLauncher.Features.Versions.VersionManager.DownloadVersion(MinecraftVersion version) in D:\projects\JiayiLauncher\JiayiLauncher\Features\Versions\VersionManager.cs:line 39
at JiayiLauncher.Pages.Extra.FullVersionList.DownloadClicked(MinecraftVersion ver) in D:\projects\JiayiLauncher\JiayiLauncher\Pages\Extra\FullVersionList.razor:line 151
at JiayiLauncher.Pages.Extra.FullVersionList.<>c__DisplayClass0_0.<b__8>d.MoveNext() in D:\projects\JiayiLauncher\JiayiLauncher\Pages\Extra\FullVersionList.razor:line 73
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
at Microsoft.AspNetCore.Components.WebView.Wpf.WpfDispatcher.InvokeAsync(Action workItem)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at JiayiLauncher.App.Main()

Launcher starts and closes almost instantly

.NET was installed by the Jiayi installer ;
I click the start menu shortcut and the Launcher window appears and disappears almost instantly.
taskkill reveals no process like JiayiLauncher.exe is up

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.