mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-03 23:15:18 -04:00
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:
parent
baede53632
commit
ce852fc60a
12 changed files with 39 additions and 66 deletions
3
setup.py
3
setup.py
|
@ -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']))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue