v0.5.0 — Rename save folders, bump version
Rename data folders from KCCClient to "Krunker Civilian Client" for swapper, userscripts, and documents output. Bump version to 0.5.0. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "krunker-civilian-client",
|
"name": "krunker-civilian-client",
|
||||||
"version": "4.1.22",
|
"version": "0.5.0",
|
||||||
"description": "Cross-platform Krunker game client",
|
"description": "Cross-platform Krunker game client",
|
||||||
"main": "dist/main/index.js",
|
"main": "dist/main/index.js",
|
||||||
"homepage": "https://gitea.crjlab.net/bigjakk/krunker-civilian-client",
|
"homepage": "https://gitea.crjlab.net/bigjakk/krunker-civilian-client",
|
||||||
|
|||||||
+3
-3
@@ -210,13 +210,13 @@ async function launchApp(): Promise<void> {
|
|||||||
|
|
||||||
// ── Resource swapper ──
|
// ── Resource swapper ──
|
||||||
const swapperConfig = config.get('swapper');
|
const swapperConfig = config.get('swapper');
|
||||||
const swapDir = swapperConfig.path || join(app.getPath('userData'), 'KCCClient', 'swapper');
|
const swapDir = swapperConfig.path || join(app.getPath('userData'), 'Krunker Civilian Client', 'swapper');
|
||||||
const swapper = swapperConfig.enabled ? new ResourceSwapper(swapDir) : null;
|
const swapper = swapperConfig.enabled ? new ResourceSwapper(swapDir) : null;
|
||||||
electronLog.log(`[KCC] Resource swapper: ${swapper ? 'enabled' : 'disabled'} (${swapDir})`);
|
electronLog.log(`[KCC] Resource swapper: ${swapper ? 'enabled' : 'disabled'} (${swapDir})`);
|
||||||
|
|
||||||
// ── Userscript manager ──
|
// ── Userscript manager ──
|
||||||
const usConfig = config.get('userscripts') || { enabled: true, path: '' };
|
const usConfig = config.get('userscripts') || { enabled: true, path: '' };
|
||||||
const usDir = usConfig.path || join(app.getPath('userData'), 'KCCClient');
|
const usDir = usConfig.path || join(app.getPath('userData'), 'Krunker Civilian Client');
|
||||||
const userscriptManager = usConfig.enabled ? new UserscriptManager(usDir) : null;
|
const userscriptManager = usConfig.enabled ? new UserscriptManager(usDir) : null;
|
||||||
electronLog.log(`[KCC] Userscripts: ${userscriptManager ? 'enabled' : 'disabled'} (${usDir})`);
|
electronLog.log(`[KCC] Userscripts: ${userscriptManager ? 'enabled' : 'disabled'} (${usDir})`);
|
||||||
|
|
||||||
@@ -301,7 +301,7 @@ async function launchApp(): Promise<void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ── Common output directory (used by folder actions) ──
|
// ── Common output directory (used by folder actions) ──
|
||||||
const outputDir = join(app.getPath('documents'), 'KrunkerCivilianClient');
|
const outputDir = join(app.getPath('documents'), 'Krunker Civilian Client');
|
||||||
|
|
||||||
// ── Configurable keybinds via before-input-event ──
|
// ── Configurable keybinds via before-input-event ──
|
||||||
win.webContents.on('before-input-event', (event, input) => {
|
win.webContents.on('before-input-event', (event, input) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user