mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
feat: adjust python log file
This commit is contained in:
parent
0baaf843eb
commit
b48393c296
@ -6,8 +6,8 @@ log.transports.file.resolvePathFn = (
|
|||||||
_: log.PathVariables,
|
_: log.PathVariables,
|
||||||
message?: log.LogMessage | undefined
|
message?: log.LogMessage | undefined
|
||||||
) => {
|
) => {
|
||||||
if (message?.scope === "python-instance") {
|
if (message?.scope === "python-rpc") {
|
||||||
return path.join(logsPath, "pythoninstance.txt");
|
return path.join(logsPath, "pythonrpc.txt");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (message?.scope == "achievements") {
|
if (message?.scope == "achievements") {
|
||||||
|
@ -49,7 +49,7 @@ export class WindowManager {
|
|||||||
minHeight: 540,
|
minHeight: 540,
|
||||||
backgroundColor: "#1c1c1c",
|
backgroundColor: "#1c1c1c",
|
||||||
titleBarStyle: process.platform === "linux" ? "default" : "hidden",
|
titleBarStyle: process.platform === "linux" ? "default" : "hidden",
|
||||||
...(process.platform === "linux" ? { icon } : {}),
|
icon,
|
||||||
trafficLightPosition: { x: 16, y: 16 },
|
trafficLightPosition: { x: 16, y: 16 },
|
||||||
titleBarOverlay: {
|
titleBarOverlay: {
|
||||||
symbolColor: "#DADBE1",
|
symbolColor: "#DADBE1",
|
||||||
|
Loading…
Reference in New Issue
Block a user