File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/backend/storeManagers/legendary Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -81,12 +81,7 @@ import { Path } from 'backend/schemas'
81
81
import { mkdirSync } from 'fs'
82
82
import { configStore } from 'backend/constants/key_value_stores'
83
83
import { epicRedistPath , legendaryInstalled } from './constants'
84
- import {
85
- isCLINoGui ,
86
- isLinux ,
87
- isMac ,
88
- isWindows
89
- } from 'backend/constants/environment'
84
+ import { isCLINoGui , isMac , isWindows } from 'backend/constants/environment'
90
85
import { fakeEpicExePath } from 'backend/constants/paths'
91
86
92
87
import type LogWriter from 'backend/logger/log_writer'
@@ -1049,7 +1044,7 @@ export async function stop(appName: string, stopWine = true) {
1049
1044
// not a perfect solution but it's the only choice for now
1050
1045
1051
1046
// @adityaruplaha : this is kinda arbitary and I don't understand it.
1052
- const pattern = isLinux ? appName : 'legendary'
1047
+ const pattern = isWindows ? 'legendary' : appName
1053
1048
killPattern ( pattern )
1054
1049
1055
1050
if ( stopWine && ! isNative ( appName ) ) {
You can’t perform that action at this time.
0 commit comments