Comments (6)
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.
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.
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.
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.
Yes, it would be great to have it and also a setup.exe/msi for windows
from zerobundle.
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)
- Please update dist/ZeroBundle-win.zip HOT 1
- Win64 Bundle
- Tell us how to pack HOT 2
- Visual C++ Redistributable Packages 2013 is required on Windows after update OpenSSL HOT 2
- Please provide an AppImage for Linux HOT 12
- Please provide a zeronet.desktop and zeronet.png file for Linux HOT 1
- Linux-arm Bundle
- try.gogs.io not working HOT 1
- python shell script can't handle files with spaces in it HOT 1
- Version for Python 3
- Create a new release HOT 10
- Signed downloads HOT 3
- Tkinter GUI download progress HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zerobundle.