install resource files. fix #39, #46