opencpn-manuals / development

Part of opencpn-manuals/main, not maintained as a separate manual
1 stars 2 forks source link

User Install Path is it Plugin Install Path? #41

Open rgleason opened 3 years ago

rgleason commented 3 years ago

Later: Some corrections made.

See Dev Manual "User Install Path" https://opencpn-manuals.github.io/development/plugin-installer/0.0.1/Terminology.html#_user_config_path

The "User" in this case refers to the location in the users directory, where the data is first installed. For windows this is %LOCALAPPDATA% or %HOME%\Appdata\Local on window This directory cannot be written to by the User because it is owned by the system! Instead another User writable data directory has to be created. So why is it called the "User Config Path"? I think this is confusing. terminology.

I think perhaps it is intended to be called "Plugin Install Path" https://opencpn-manuals.github.io/development/plugin-installer/0.0.1/Terminology.html#_user_install_path

rgleason commented 3 years ago

Later: Corrections made.

"User Install Path" %LOCALAPPDATA%\opencpn\plugins\celestial_navigation_pi\data C:\Users\Frederick\AppData\Local\opencpn\plugins\celestial_navigation_pi\data (not writable)

I guess this could be considered the "User Install Path" but it is not writable by the USER and is really a "Plugin Config Path"

What would the old legacy location be called? I think that is correctly xxxbetterxxxx called "User Config Path" because it is writable by the user. C:\ProgramData\opencpn\plugins\celestial_navigation <---This is where the User writable "Sights.xml" file is stored!