Actually fixed shaders work

This commit is contained in:
Observer KRypt0n_ 2022-01-06 19:48:55 +02:00
parent 9118c433be
commit 6bbd40ca62
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA

View file

@ -88,7 +88,7 @@ export default (launcher: Launcher): Promise<void> => {
if (shaders !== 'custom')
{
const userShadersFile = `${constants.paths.shadersDir}/public/shaders/${shaders}/vkBasalt.conf`;
const userShadersFile = `${constants.paths.shadersDir}/${shaders}/vkBasalt.conf`;
await Neutralino.filesystem.writeFile(launcherShadersFile, await Neutralino.filesystem.readFile(userShadersFile));
}