taviso / 123elf

A native port of Lotus 1-2-3 to Linux.
1.17k stars 59 forks source link

New unified directory structure #70

Closed vrza closed 2 years ago

vrza commented 2 years ago

This is to simplify supporting both developer/portable installation and system-wide installation with default config. New structure is:

# binary
${PREFIX}/bin/123
# runtime files
${PREFIX}/share/lotus/123.v10
# keymaps
${PREFIX}/share/lotus/keymaps
# default config
${PREFIX}/share/lotus/etc/l123set.cf

Where ${PREFIX} can be developer's project directory 123elf, or /usr, or /usr/local, or /opt/lotus etc.

Replaces the following PRs:

Will simplify implementation of:

Also should fix the issue with slow file seek onWSL2.

taviso commented 2 years ago

Thanks for the rebase, merged with these changes:

It seems to work okay, looks much neater for eventual packaging!

vrza commented 2 years ago

@taviso Thanks! A couple of remarks:

Now that the foundation is in place I'll look into creating an install target and then we're ready for packaging!

taviso commented 2 years ago

Good points, fixed!