-
Notifications
You must be signed in to change notification settings - Fork 11
setup.bat
S e t u p . b a t
jeforth applications often need their own home directory. Chrome App and Chrome Extension both require a 'manifest.json' file at their home directory. So the jeforth.3we directory can not be the common home. Other requirements like 3nw's package.json and jeforth.3nw.html; 3nd's jeforth.3nd.js; and 3htm's index.html although they are not conflicting. Each application to have their own directory but share the same GitHub repository through mirror linkages of symbolic link and hard link is thus the solution for Windows 8 or Windows 10.
This batch program ~\GitHub\jeforth.3we\batch.bat creates application directories: ~\GitHub\jeforth.3ca, ~\GitHub\jeforth.3ce, ~\GitHub\jeforth.3hta, ~\GitHub\jeforth.3nw, and \GitHub\jeforth.3nd, they are mirrors of subset of jeforth.3we, where "\GitHub" represents a referenced directory address. It's safe to delete application directories. Run setup.bat again to rebuild those ones that are not existing. setup.bat won't rebuild existing applications if their directories are already existing.
Note! This batch program must be "Run as administrator" due to privilege commands like mklink.exe and fsutil.exe are utilized. Right click setup.bat and select "Run as administrator" to run it.
H.C. Chen 13:24 2016-11-22