fix: disable GPU sandbox on Linux to prevent fatal GPU process crash
All checks were successful
Build & Release / build (push) Successful in 2m26s
All checks were successful
Build & Release / build (push) Successful in 2m26s
Fixes freeze/crash on AMD GPUs under CachyOS. Also fixes Discord RPC branding to say Sanctum instead of Stoat. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fb9d583c71
commit
04cae9d50b
2 changed files with 8 additions and 2 deletions
|
|
@ -8,6 +8,12 @@ import { initTray } from "./native/tray";
|
|||
import { checkForUpdates } from "./native/updater";
|
||||
import { BUILD_URL, createMainWindow, mainWindow } from "./native/window";
|
||||
|
||||
// Linux GPU sandbox causes fatal crash on some AMD/CachyOS setups
|
||||
if (process.platform === "linux") {
|
||||
app.commandLine.appendSwitch("disable-gpu-sandbox");
|
||||
app.commandLine.appendSwitch("disable-software-rasterizer");
|
||||
}
|
||||
|
||||
// Squirrel-specific logic
|
||||
// create/remove shortcuts on Windows when installing / uninstalling
|
||||
// we just need to close out of the app immediately
|
||||
|
|
|
|||
|
|
@ -19,10 +19,10 @@ export async function initDiscordRpc() {
|
|||
state: "mithraic.space",
|
||||
details: "Chatting with others",
|
||||
largeImageKey: "qr",
|
||||
largeImageText: "Join Stoat!",
|
||||
largeImageText: "Join Sanctum!",
|
||||
buttons: [
|
||||
{
|
||||
label: "Join Stoat",
|
||||
label: "Join Sanctum",
|
||||
url: "https://mithraic.space/",
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue