mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-06-02 06:14:48 +02:00
style: apply hook formatting
This commit is contained in:
@@ -5,7 +5,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- 'release/**'
|
||||
- "release/**"
|
||||
|
||||
jobs:
|
||||
text-integrity:
|
||||
|
||||
@@ -224,7 +224,11 @@ export class NativeAddon {
|
||||
for (const pending of drained) {
|
||||
if (pending.type === "list") pending.resolve([]);
|
||||
else
|
||||
pending.resolve({ processMap: {}, winePrefixMap: {}, linuxProcesses: [] });
|
||||
pending.resolve({
|
||||
processMap: {},
|
||||
winePrefixMap: {},
|
||||
linuxProcesses: [],
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -143,8 +143,11 @@ const findGamePathByProcess = async (
|
||||
};
|
||||
|
||||
const getSystemProcessMap = async () => {
|
||||
const { processMap: rawMap, winePrefixMap: rawWineMap, linuxProcesses } =
|
||||
await NativeAddon.getSystemProcessMap();
|
||||
const {
|
||||
processMap: rawMap,
|
||||
winePrefixMap: rawWineMap,
|
||||
linuxProcesses,
|
||||
} = await NativeAddon.getSystemProcessMap();
|
||||
|
||||
const processMap = new Map<string, Set<string>>(
|
||||
Object.entries(rawMap).map(([k, v]) => [k, new Set(v)])
|
||||
|
||||
@@ -93,7 +93,6 @@ export function SettingsDownloadSources() {
|
||||
return () => clearInterval(intervalId);
|
||||
}, [downloadSources]);
|
||||
|
||||
|
||||
const handleRemoveSource = async (downloadSource: DownloadSource) => {
|
||||
setIsRemovingDownloadSource(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user