GoodBoyNinja / Get-Layers-Label-Colors-using-CEP

Why adobe, why?
11 stars 0 forks source link

will not work on Beta version #4

Open rendertom opened 2 years ago

rendertom commented 2 years ago

The prefs files for Beta version of AE are stored in a different location. Here's where they live.

Screenshot 2022-08-31 at 18 39 38
rendertom commented 2 years ago

This should be an easy fix, something along the lines:

let folderName = isBeta ? 'After Effects (Beta)' : 'After Effects';
<...>
let prefsFolder = isMacOS ? path.join(path.dirname(userDataFolder), "Preferences", "Adobe", folderName, version) : path.join(userDataFolder, "Adobe", folderName, version);

All you need to figure out is to how identify if AE is official or beta.