| 23 Jan 2025 |
GGG | 6pak how did you manage to get dnSpy working on Wine on that PR? I'm trying to package a .NET Framework app using wine and it opens complaining about missing Wine Mono and then if I tell it to install it, it just fails to launch the app | 16:44:33 |
| Kamilla 'ova joined the room. | 18:04:44 |
6pak | dnspy is .net core now, so no wine-mono needed | 20:32:42 |
6pak |
it just fails to launch the app
any errors?
| 20:32:59 |
GGG | I managed to get further | 20:33:11 |
GGG | but in the end I had to disable d3d9 for it to fully work | 20:33:19 |
GGG | I was trying to get PerfView.exe working on wine | 20:33:27 |
GGG | this is what I got in the end: https://github.com/GGG-KILLER/nixos-configs/blob/96b61c8cb703546410a1cabc65fe8729d0310c0d/packages/perfview.nix | 20:34:15 |
GGG | I tried a bunch of mkWineApp, mkWindowsApp and etc wrappers, but yours was the only one that didn't spit out a bunch of garbage | 20:34:39 |
6pak | tbf my wrapper script was based on something from nixpkgs | 20:38:59 |
6pak | you've got DNSPY_HOME there | 20:39:10 |
6pak | and this sounds painful | 20:39:27 |
6pak |  Download image.png | 20:39:29 |
6pak | installing net framework with wine takes forever | 20:39:47 |
GGG | .NET Framework 4.8 goes quite fast | 20:40:35 |
6pak | does it not need to install all the earlier versions anymore? | 20:40:54 |
GGG | The .NET Framework 4.7.2 one is really slow because it installs 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 and 4.7.2 | 20:41:07 |
GGG | But .NET Framework 4.8 seems to only install itself | 20:41:27 |
GGG | In reply to @6pak:matrix.org you've got DNSPY_HOME there Yeah, forgot to change that one | 20:41:40 |
GGG | But I don't have any choice really, it needs all of that (I think, got tired of waiting for setup to see if it works without component A, B or C) | 20:42:22 |
6pak | would be nice to replace winetricks with nix | 20:44:34 |
GGG | Don't think it's possible really | 20:46:46 |
GGG | The installers need to actually run | 20:46:59 |
GGG | And registry keys and wine parameters need to be set | 20:47:16 |
GGG | Might be possible by messing with wine internals but I honestly cannot be bothered | 20:47:38 |
6pak | it's only files and registry changes | 20:47:40 |
GGG | * Might be possible by messing with wine commands but I honestly cannot be bothered | 20:47:49 |
6pak | so you can just save those in a nix package | 20:48:26 |
6pak | and then combine those as a nix wine prefix ala nixos system path | 20:48:43 |
GGG | I don't think I will, sounds like too much work to just avoid a one time setup | 20:49:10 |