Marxsal / polly

Batch file system to restore TiddlyWiki files from download directory to their original home directory
9 stars 1 forks source link

O/S Settings Containment #8

Closed TiddlyTweeter closed 5 years ago

TiddlyTweeter commented 5 years ago

I'm looking at shifting part of # INTERNAL SETTINGS to .\lib scripts for each o/s.

One PS script per platform. But ONLY components that can't be shared.

It would NOT be an ".ini", as I suggested previously on GG, but rather a hard-coded ".ps1" with a settings section at the start. Invoked from main script on startup.

As part of this I will see if I can shift window scaling initial settings out of the batch files for Win into the # CONSOLE section. Then all window settings are in one place. And other platforms we can work out as needed. Not sure yet how much of # CONSOLE generalises & how much is Win specific.

Hope this is clear.

I updated this note.

TiddlyTweeter commented 5 years ago

Dumped the idea for now as PS Core seems very well equipped cross-platform,