mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-07 05:42:20 -04:00
build_deb.sh successfully builds a debian package, including the .desktop launcher
This commit is contained in:
parent
ecaf2a97a3
commit
afb7e8007a
2 changed files with 4 additions and 5 deletions
|
@ -5,4 +5,3 @@ include onionshare/*.html
|
||||||
include onionshare/strings.json
|
include onionshare/strings.json
|
||||||
include onionshare_gui/templates/*
|
include onionshare_gui/templates/*
|
||||||
include onionshare_gui/static/*
|
include onionshare_gui/static/*
|
||||||
include setup/*
|
|
||||||
|
|
8
setup.py
8
setup.py
|
@ -16,9 +16,8 @@ version = open('version').read().strip()
|
||||||
|
|
||||||
def get_data_files():
|
def get_data_files():
|
||||||
if platform.system == 'Linux':
|
if platform.system == 'Linux':
|
||||||
print 'linux oh yeah'
|
return [('/usr/share/applications', ['setup/onionshare.desktop']),
|
||||||
return [('/usr/share/applications', 'setup/onionshare.desktop'),
|
('/usr/share/pixmaps', ['setup/onionshare80.xpm'])]
|
||||||
('/usr/share/pixmaps', 'setup/onionshare80.xpm')]
|
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
@ -39,5 +38,6 @@ setup(
|
||||||
keywords='onion, share, onionshare, tor, anonymous, web server',
|
keywords='onion, share, onionshare, tor, anonymous, web server',
|
||||||
packages=['onionshare', 'onionshare_gui'],
|
packages=['onionshare', 'onionshare_gui'],
|
||||||
scripts=['bin/onionshare', 'bin/onionshare-gui'],
|
scripts=['bin/onionshare', 'bin/onionshare-gui'],
|
||||||
data_files=get_data_files()
|
data_files=[('/usr/share/applications', ['setup/onionshare.desktop']),
|
||||||
|
('/usr/share/pixmaps', ['setup/onionshare80.xpm'])]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue