mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
0398a957ad
* changed protonPath to protonFolder * log stdout for running bsipa executable
15 lines
490 B
TypeScript
15 lines
490 B
TypeScript
import { from, of } from "rxjs";
|
|
import { IpcService } from "../services/ipc.service";
|
|
import { StaticConfigurationService } from "../services/static-configuration.service";
|
|
|
|
const ipc = IpcService.getInstance();
|
|
const staticConfig = StaticConfigurationService.getInstance();
|
|
|
|
ipc.on("static-configuration.get", (args, reply) => {
|
|
reply(of(staticConfig.get(args)));
|
|
});
|
|
|
|
ipc.on("static-configuration.set", (args, reply) => {
|
|
reply(from(staticConfig.set(args.key, args.value)));
|
|
});
|