Exporting Platform-Based Variables

Godot Version

Godot 4.2.2 Stable

Is there any way to make a variable value, when exporting the project, have a different value based on the Platform it’s being exported to?

For example, I have a .pck auto-updatable system, and some changes might be platform-specific, so when exporting the platform-specific .pck, I always need to change many variables to correctly identify the exported executable for future updates.

E.G.

var platform:String="Windows64"
#var platform:String="Linux64"

While exporting to Windows x64, I wanted the variable “platform” to have a value equal to “Windows64”, and while xporting to Linux x64, I wanted the variable “platform” to have a value equal to “Linux64”

Tried really hard to search if there’s anything like that before submitting a feature request or any tips on how to better deal with such issue, but the related keywords are always too close to the @export variables topics, which are not related at all to my case.