* XOWA does not run /xowa/bin/[OS_NAME]/xowa/cfg/os.default.gfs
* XOWA does run /xowa/user/anonymous/app/cfg/os.gfs
When XOWA starts, it will check for an os.gfs file
* If os.gfs doesn't exist, it will copy os.default.gfs to os.gfs
* If os.gfs does exist, it won't do anything. In other words, it'll leave the existing os.gfs in place.
After the check, XOWA will then run os.gfs.
The current contents of os.gfs are entirely path-related. If the paths are different on you system, feel free to change them.
*/
app.scripts.fail_if_unhandled = 'n';
app.gui {
browser_type = 'mozilla'; // 'mozilla' or 'webkit'
xul_runner_path = '~{<>bin_plat_dir<>}xulrunner/v24'; // path should be set to xulrunner location; '~{<>bin_plat_dir<>}xulrunner/' defaults to '/xowa/bin/platform_name/xulrunner/' (EX: on Windows 'C:\xowa\bin\windows_64\xulrunner\')
set_dflt('xowa.files.apps.make.img_size_get' , <:{'/usr/bin/identify|-ping -format "<{%w,%h}>" "~{file}"'}:>); // <{ and }> is hard-coded; do not change without changing source
set_dflt('xowa.files.apps.make.img_size_set' , <:{'/usr/bin/convert|"~{source}" -coalesce -resize ~{width}x~{height} "~{target}"'}:>); // coalesce needed for some gifs; EX:w.Chess:[[File:ChessCastlingMovie.gif|thumb|250px|Examples of castling]]
set_dflt('xowa.html.tidy.cmd' , <:{'~{<>bin_plat_dir<>}tidy/tidy|-utf8 --force-output y --quiet y --tidy-mark n --doctype '' --wrap 0 --indent y --quote-nbsp y --literal-attributes y --wrap-attributes n --fix-url n --fix-backslash n --enclose-block-text y -o "~{target}" "~{source}"'}:>);