Here's the English translation:
There are at least a couple more files that mention PMDG:
mainsrc\EnvironmentCheck\Configs\MSFS2020Config.js
mainsrc\GamePresets\msfs2020GamePresets.js
For example, one of them has this function: MSFS2020GamePreset.traverseDirectorySync = ({ directoryPath }) => { let resultPath = '' if (fs.lstatSync(directoryPath).isDirectory()) { const files = fs.readdirSync(directoryPath) files.forEach(item => { const fullPath = path.join(directoryPath, item); // Check if it's a directory if (fs.lstatSync(fullPath).isDirectory()) { // If folder name contains 'pmdg-aircraft-738' if (item.includes('pmdg-aircraft-738')) { const workFilePath = path.join(fullPath, 'work', '737_Options.ini'); where you can directly add if (item.includes('pmdg-aircraft-738') || item.includes('pmdg-aircraft-737'))
Basically, wherever I saw it I changed it, packed it back, but it doesn't work and crashes with an error: The specified module could not be found. bla bla electron/js2/asar.js:140:31
I'm not familiar with this framework and this approach. Maybe I'm not packaging it correctly.