mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-02 17:44:57 -05:00
Fix snap so it does not have so many warnings when running GUI
This commit is contained in:
parent
f8437c4fea
commit
01841eb4f2
10
cli/setup.py
10
cli/setup.py
@ -25,15 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
import os
|
import os
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
with open(
|
version = "2.3.dev1"
|
||||||
os.path.join(
|
|
||||||
os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "pyproject.toml"
|
|
||||||
)
|
|
||||||
) as f:
|
|
||||||
for line in f.readlines():
|
|
||||||
if line.startswith("version = "):
|
|
||||||
version = line.split('"')[1]
|
|
||||||
break
|
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="onionshare-cli",
|
name="onionshare-cli",
|
||||||
|
@ -21,6 +21,8 @@ apps:
|
|||||||
- network
|
- network
|
||||||
- network-bind
|
- network-bind
|
||||||
- removable-media
|
- removable-media
|
||||||
|
extensions:
|
||||||
|
- gnome-3-34
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
common-id: org.onionshare.OnionShareCli
|
common-id: org.onionshare.OnionShareCli
|
||||||
@ -51,58 +53,66 @@ parts:
|
|||||||
- stem
|
- stem
|
||||||
- urllib3
|
- urllib3
|
||||||
stage-packages:
|
stage-packages:
|
||||||
|
- libasound2
|
||||||
|
- libatk1.0-0
|
||||||
|
- libcairo2
|
||||||
|
- libcairo-gobject2
|
||||||
|
- libcups2
|
||||||
- libdrm2
|
- libdrm2
|
||||||
- libfontconfig1
|
- libegl1
|
||||||
- libfreetype6
|
- libfreetype6
|
||||||
|
- libgdk-pixbuf2.0-0
|
||||||
- libgl1
|
- libgl1
|
||||||
- libglvnd0
|
- libglvnd0
|
||||||
- libglx0
|
- libglx0
|
||||||
- libpng16-16
|
|
||||||
- libx11-6
|
|
||||||
- libx11-xcb1
|
|
||||||
- libxau6
|
|
||||||
- libxcb-glx0
|
|
||||||
- libxcb-sync1
|
|
||||||
- libxcb-xkb1
|
|
||||||
- libxcb1
|
|
||||||
- libxdamage1
|
|
||||||
- libxdmcp6
|
|
||||||
- libxext6
|
|
||||||
- libxfixes3
|
|
||||||
- libxkbcommon-x11-0
|
|
||||||
- libxkbcommon0
|
|
||||||
- libegl1
|
|
||||||
- libxcomposite1
|
|
||||||
- libxcursor1
|
|
||||||
- libxi6
|
|
||||||
- libxrandr2
|
|
||||||
- libxrender1
|
|
||||||
- libxtst6
|
|
||||||
- libasound2
|
|
||||||
- libatk1.0-0
|
|
||||||
- libcairo-gobject2
|
|
||||||
- libcairo2
|
|
||||||
- libcups2
|
|
||||||
- libgtk-3-0
|
- libgtk-3-0
|
||||||
- libgdk-pixbuf2.0-0
|
|
||||||
- libharfbuzz0b
|
- libharfbuzz0b
|
||||||
- libicu60
|
- libicu60
|
||||||
- libjpeg8
|
- libjpeg8
|
||||||
- liblcms2-2
|
- liblcms2-2
|
||||||
- libnspr4
|
- libnspr4
|
||||||
- libnss3
|
- libnss3
|
||||||
|
- libodbc1
|
||||||
- libpango-1.0-0
|
- libpango-1.0-0
|
||||||
- libpangocairo-1.0-0
|
- libpangocairo-1.0-0
|
||||||
|
- libpng16-16
|
||||||
|
- libpq5
|
||||||
|
- libpulse-mainloop-glib0
|
||||||
- librsvg2-2
|
- librsvg2-2
|
||||||
|
- libspeechd2
|
||||||
- libwayland-client0
|
- libwayland-client0
|
||||||
- libwayland-cursor0
|
- libwayland-cursor0
|
||||||
- libwayland-egl1
|
- libwayland-egl1
|
||||||
- libwayland-server0
|
- libwayland-server0
|
||||||
|
- libx11-6
|
||||||
|
- libx11-xcb1
|
||||||
|
- libxau6
|
||||||
|
- libxcb1
|
||||||
|
- libxcb-glx0
|
||||||
|
- libxcb-icccm4
|
||||||
|
- libxcb-image0
|
||||||
|
- libxcb-keysyms1
|
||||||
- libxcb-render0
|
- libxcb-render0
|
||||||
|
- libxcb-render-util0
|
||||||
- libxcb-shm0
|
- libxcb-shm0
|
||||||
|
- libxcb-sync1
|
||||||
- libxcb-xfixes0
|
- libxcb-xfixes0
|
||||||
|
- libxcb-xinerama0
|
||||||
|
- libxcb-xkb1
|
||||||
|
- libxcomposite1
|
||||||
|
- libxcursor1
|
||||||
|
- libxdamage1
|
||||||
|
- libxdmcp6
|
||||||
|
- libxext6
|
||||||
|
- libxfixes3
|
||||||
|
- libxi6
|
||||||
|
- libxkbcommon0
|
||||||
|
- libxkbcommon-x11-0
|
||||||
- libxml2
|
- libxml2
|
||||||
|
- libxrandr2
|
||||||
|
- libxrender1
|
||||||
- libxslt1.1
|
- libxslt1.1
|
||||||
|
- libxtst6
|
||||||
after: [onionshare-cli, tor, obfs4]
|
after: [onionshare-cli, tor, obfs4]
|
||||||
|
|
||||||
onionshare-cli:
|
onionshare-cli:
|
||||||
@ -111,6 +121,16 @@ parts:
|
|||||||
python-version: python3
|
python-version: python3
|
||||||
python-packages:
|
python-packages:
|
||||||
- poetry
|
- poetry
|
||||||
|
- Click
|
||||||
|
- Flask
|
||||||
|
- Flask-HTTPAuth
|
||||||
|
- flask-socketio
|
||||||
|
- pycryptodome
|
||||||
|
- PySocks
|
||||||
|
- requests
|
||||||
|
- stem
|
||||||
|
- urllib3
|
||||||
|
- eventlet
|
||||||
after: [tor, obfs4]
|
after: [tor, obfs4]
|
||||||
|
|
||||||
tor:
|
tor:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user