Multiple Values for a single Local-Variable (Second value be used as an alternative when first one invalid)

A

Astra 076

Hello everyone. I use many services that use XDG (mainly AI projects) and these projects cache of XDG can be huge in size. The cache location can be manually defined with XDG_CACHE_HOME a user-variable. I was wondering, is there a way to define an alternative for an environment variable? If the first value was not available, try the seconds value, something like this.This is because I use Whisper for speech recognition, and Godot for making game, and I store the project whisper files in an external drive which the project is stored on it as well. meanwhile I don't connect this Drive to my syst

Continue reading...
 

Similar threads

P
Replies
0
Views
151
Panos Panay, Chief Product Officer, Windows and
P
A
Replies
1
Views
352
Pegasus \(MVP\)
P
N
Replies
0
Views
1K
NewsBot
N
Back
Top Bottom