Git Product home page Git Product logo

Comments (6)

HelloZeroNet avatar HelloZeroNet commented on May 16, 2024

I had compatibility problems with earlier macos versions with pyinstaller (it was missing some dlls), so I switched to py2app there: dfe0955

With the upcoming py3 version I will try it again.

For Linux I'm still not sure if we should keep the current ZeroNet.sh version (have the Python distribution in a directory) or create our own binary.
Reasons for .sh: It would be more transparent, because you can compare the python binaries with the original ones, less side-effects.
Reason for custom zeronet binary: It would appear in process list as zeronet and not as python

from zerobundle.

rllola avatar rllola commented on May 16, 2024

I would remove the .sh for linux and instead create a .deb. You can still create a install/uninstall script I believe. It will package it in a cleaner way (and we can also add the .desktop file to have Zeronet showing in the menu).

I don't know if we should create a binary actually... The advantage seems a bit thin for it.

from zerobundle.

HelloZeroNet avatar HelloZeroNet commented on May 16, 2024

I don't know much about .deb format, but what about non-apt distributions? Are they also able to install .deb? Also what about if you don't have root on the machine?

I assume it would have the same pro/cons as installer/portable on windows:

  • Portable (unpack zip, run): You don't need root/admin access, you can run it from external drive and move it to other machine easily
  • Installer/deb: Creates icons / puts binary/data to proper location in users home dir, easier for most users

from zerobundle.

rllola avatar rllola commented on May 16, 2024

but what about non-apt distributions? Are they also able to install .deb?

I think you just need to have dpkg install to have it to work.

Also what about if you don't have root on the machine?

I guess it depends what your install script does... If you install the app locally (e.g /home/lola/.local/share/ ) you good.

It would definitey be cleaner and we can indeed create icon and access from launcher. If this not what the user want it can just download the zip of the source file.

I don't have lots of experience creating those kind of package neither but I believe it is a good thing to have.

from zerobundle.

HelloZeroNet avatar HelloZeroNet commented on May 16, 2024

Yes, it would be great to have it and also a setup.exe/msi for windows

from zerobundle.

rllola avatar rllola commented on May 16, 2024

I was wrong. We still need the root access and it will install it in the system. What worries me then is the data_dir it will need to use the data from the users and we would preferably want to have them saved inside a /home/lola/.zeronet/ folder. It will definitely be more standard but might require some changes that could be breaking.

It would also require to have the zeronet.conf inside /home/lola/.zeronet/ so it would need to look at eitheir the current folder or the user space. Not much code but would change a bit the way it is working for linux.

One of the main advantage would be to have something more standard.... ?

from zerobundle.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.