Skip to content

Commit

Permalink
Temporarily disable winetricks (in-progress #58)
Browse files Browse the repository at this point in the history
+ explicitly add `--gui` argument to winetricks launcher
  • Loading branch information
blackxfiied committed May 21, 2024
1 parent 3e46c00 commit bdb47f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Mythic/Controllers/Wine/WineInterface.swift
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,12 @@ class Wine { // TODO: https://forum.winehq.org/viewtopic.php?t=15416
let task = Process()
task.executableURL = Engine.directory.appending(path: "winetricks")
task.environment = ["WINEPREFIX": prefix.path(percentEncoded: false)]
task.arguments = ["--gui"]

do {
try task.run()
} catch {
throw error
// TODO: implement
// doesn't work if zenity isn't installed
}
Expand Down
2 changes: 1 addition & 1 deletion Mythic/Views/OnboardingR2.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ struct OnboardingR2: View {
.init(NSColor.windowBackgroundColor)
]
@State private var colorfulAnimationSpeed: Double = 1
@State private var colorfulAnimationNoise: Double = 15
@State private var colorfulAnimationNoise: Double = 0

@State private var isOpacityAnimated: Bool = false
@State private var areOthersAnimated: Bool = false
Expand Down

0 comments on commit bdb47f4

Please sign in to comment.