mirror of
https://github.com/marktext/marktext.git
synced 2025-05-02 07:31:18 +08:00
Remove Wayland workaround (#3147)
This commit is contained in:
parent
51f5f4c70c
commit
f01e30c59a
@ -33,11 +33,6 @@ const args = cli()
|
||||
const appEnvironment = setupEnvironment(args)
|
||||
initializeLogger(appEnvironment)
|
||||
|
||||
// Workaround for GH#1359
|
||||
if (process.platform === 'linux' && process.env.XDG_SESSION_TYPE === 'wayland') {
|
||||
app.disableHardwareAcceleration()
|
||||
}
|
||||
|
||||
if (args['--disable-gpu']) {
|
||||
app.disableHardwareAcceleration()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user