Skip to content

Instantly share code, notes, and snippets.

@PyYoshi
Created June 5, 2025 00:36
Show Gist options
  • Select an option

  • Save PyYoshi/a0818cf6dfe92665de53a188ec00296e to your computer and use it in GitHub Desktop.

Select an option

Save PyYoshi/a0818cf6dfe92665de53a188ec00296e to your computer and use it in GitHub Desktop.

Claude Desktop v0.9.4 for Windows を Linuxで使えるようにするためのパッチ (メモ)

TitleBarにClaudeのメニューを表示する

File: app.asar.contents/.vite/renderer/main_window/assets/MainWindowPage-Ber3pIf8.js

if(!T&&e)return null;

if(T&&e)return null;

TitleBarにQuitボタンなどを表示する

File: app.asar.contents/.vite/build/index.js

t=OSe({x:e.x,y:e.y,width:e.width,height:e.height,titleBarStyle:"hidden",titleBarOverlay:vo,trafficLightPosition:aRe,show:QRe||px,webPreferences:{preload:Fe.join(k.app.getAppPath(),".vite/build/mainWindow.js"),additionalArguments:gS}})

t=OSe({x:e.x,y:e.y,width:e.width,height:e.height,titleBarStyle:"hidden",titleBarOverlay:true,trafficLightPosition:aRe,show:QRe||px,webPreferences:{preload:Fe.join(k.app.getAppPath(),".vite/build/mainWindow.js"),additionalArguments:gS}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment