diff --git a/src/servers/supportedVersions/main.ts b/src/servers/supportedVersions/main.ts index b9e794129..16e02eb72 100644 --- a/src/servers/supportedVersions/main.ts +++ b/src/servers/supportedVersions/main.ts @@ -47,12 +47,7 @@ export function decode(token: string) { export async function readBuiltinSupportedVersions(): Promise { try { - let filePath; - if (process.env.NODE_ENV === 'development') { - filePath = path.join(__dirname, 'supportedVersions.jwt'); - } else { - filePath = path.join(app.getAppPath(), 'supportedVersions.jwt'); - } + const filePath = path.join(__dirname, 'supportedVersions.jwt'); const builtinSupportedVersionsJWT = await fs.promises.readFile( filePath, 'utf8'