The-Wineskin-Project / WineskinServer

Wineskin
GNU Lesser General Public License v2.1
2.47k stars 170 forks source link

"View Last Run Log File" in Wineskin should use Console instead of TextEdit #358

Closed The-Minecraft-Scientist closed 1 year ago

The-Minecraft-Scientist commented 1 year ago

pretty self-explanatory. the Console app has a lot of nice tools that make working with log files a lot less painful than in textedit.

Gcenx commented 1 year ago

Weirdly it’s the first time anyone has requested this, I’ll try to remember when working on the next wrapper update.

Gcenx commented 1 year ago

It's strange that open considers the default textedit

Current wrappers "View Last Run Logs" function

[self systemCommand:@"/usr/bin/open" withArgs:@[@"-e",[NSString stringWithFormat:@"%@/LastRunWine.log",logsFolder]]];

Next wrappers "View Last Run Logs" function

[self systemCommand:@"/usr/bin/open" withArgs:@[@"-a", @"Console",[NSString stringWithFormat:@"%@/LastRunWine.log",logsFolder]]];
The-Minecraft-Scientist commented 1 year ago

Awesome! not having to manually open Console every time I want to make sense of a crash will be really nice