Create separate templates and static folder, and make the web app use both of these. Yay, now we have real static resources

This commit is contained in:
Micah Lee 2018-03-06 02:54:12 -08:00
parent baede53632
commit ce852fc60a
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
12 changed files with 39 additions and 66 deletions

View file

@ -52,7 +52,8 @@ data_files=[
(os.path.join(sys.prefix, 'share/onionshare'), file_list('share')),
(os.path.join(sys.prefix, 'share/onionshare/images'), file_list('share/images')),
(os.path.join(sys.prefix, 'share/onionshare/locale'), file_list('share/locale')),
(os.path.join(sys.prefix, 'share/onionshare/html'), file_list('share/html')),
(os.path.join(sys.prefix, 'share/onionshare/templates'), file_list('share/templates')),
(os.path.join(sys.prefix, 'share/onionshare/static'), file_list('share/static'))
]
if platform.system() != 'OpenBSD':
data_files.append(('/usr/share/nautilus-python/extensions/', ['install/scripts/onionshare-nautilus.py']))