Always show Accounts button, fix Linux CI electronDist
Show Accounts menu button even with no saved accounts so users can add accounts from the in-game menu. Remove hardcoded electronDist from electron-builder.yml — let electron-builder auto-detect on Linux CI, Windows CI overrides via -c.electronDist flag. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
appId: com.krunkercivilian.client
|
||||
productName: Krunker Civilian Client
|
||||
electronDist: node_modules/electron/dist
|
||||
directories:
|
||||
output: out
|
||||
buildResources: build
|
||||
|
||||
@@ -1493,9 +1493,7 @@ ipcRenderer.on('main_did-finish-load', () => {
|
||||
}
|
||||
// ── In-game Accounts quick-switch button ──
|
||||
if (isGamePage) {
|
||||
ipcRenderer.invoke('alt-list').then((accounts: any[]) => {
|
||||
if (!accounts || accounts.length === 0) return;
|
||||
|
||||
ipcRenderer.invoke('alt-list').then(() => {
|
||||
const altBtn = document.createElement('div');
|
||||
altBtn.id = 'kpcAltBtn';
|
||||
altBtn.className = 'menuItem';
|
||||
|
||||
Reference in New Issue
Block a user