Comments (15)
Well, I have no problem with that, but have no experiences with Cocolatey...
Also, python is not dependency of Windows version, as it's "compiled" into executable. In fact, installer installs all dependencies and dlls into /Program Files/Syncthing-GTK directory.
There will be probably need to create syncthing package, mark syncthing-gtk as dependency of it and compile specific Windows version of both, with autoupdates disabled.
from syncthing-gtk.
Chocolatey offers a great doc, so experience isn't a problem I think. If you don't want / have time to look into it, I can help you (but I have no experience either 😄).
It's one way among others. Not the one Chocolatey recommends though, but I think it's fine.
create syncthing package, mark syncthing-gtk as dependency of it
Didn't you mean the opposite (syncthing-gtk depends of syncthing) or did I misunderstood?
Since there isn't currently a Chocolatey package of syncthing (and I personally think that it's up to the syncthing developpers to take care of it) and since syncthing-gtk can automatically download and install syncthing, I think it's fine to keep it that way.
from syncthing-gtk.
If you don't want / have time to look into it, I can help you (but I have no experience either 😄).
Well, if you have means of creating and testing Chocolatey package, feel free to do so. I'm afraid that my Windows 7 "stripped to commandline" virtual machine will not be up to such task :D
from syncthing-gtk.
I've packaged version v0.5.1 to Chocolatey, and I'm waiting for admin review.
I will probably create an auto-updater script that will update the package to the lastest GitHub release, but probably without using Chocolatey Tools, because even if they are very useful for different scenario, it looks like it requires a lot of configuration for a such simple task (updating XML with last release infos and typing two commands to package and push to Chocolatey). Also, I would be sure that it will work for your "stripped to commandline" VM.
from syncthing-gtk.
Actually, autoupdater is on "roadmap", or rather in list of things I'll probably implement when I'll be bored enough. Code to parse latest release from GitHub is already there, just used only for daemon updates.
But I imagine it more like InfoBar that will at first ask for permission and then download & run installer. How would updating with script look like and how big is change that have average Windows user will be able to understand and use it?
from syncthing-gtk.
Oh, I realize I wasn't clear enough. Sorry about that. I meant I want to do a script that fetch infos from the lastest release from GitHub, in order to update the Chocolatey package on the Chocolatey online database. You can't have an "any version" package on the database witch automatically fetch lastest release on install, so you have to update it for every update. The script will be for you and me, not for the user itself 😄.
I can only agree with the way you will implement your auto-application-updater, and the only thing I can say is that when the software have been installed from Chocolatey, I think it should be turned off by default, to keep with Chocolatey principles. What do you think about it?
from syncthing-gtk.
I think it should be turned off by default, to keep with Chocolatey principles. What do you think about it?
Yes, that sounds like a good idea. That should be easy to do, if you can write registry value from installation script - key will be most likely User/Software/Syncthing GTK/autoupdate
, dword, 1 for enabled.
from syncthing-gtk.
Fine, I'll check that when auto-updater will be released.
from syncthing-gtk.
Moderation delayed for another business day, because I should have added a description about syncthing. I'll close the issue when it will be accepted.
I've added the script I talked about and the sources of the package in #36.
from syncthing-gtk.
The package have been approved!
You can see it here: https://chocolatey.org/packages/syncthing-gtk
Remember to create an account on https://chocolatey.org, and add your username to the <owners>
list (comma separated) so even if I'm unable to update the package, you will still be able to.
from syncthing-gtk.
👍
from syncthing-gtk.
Ok, I did. Just one question: I tested installing with Chocolatey and this message was displayed during uninstalation:
Uninstalling from folder C:\ProgramData\chocolatey\lib\syncthing-gtk.0.5.2
This package has a chocolateyInstall.ps1 without a chocolateyUninstall.ps1. You will need to manually reverse whatever steps the installer did. Please ask the package maker to include a chocolateyUninstall.ps1 in the file to really remove the package.
And it truly looks like uninstall entry was removed, but uninstaller was not executed - all files were left in /Program Files/Syncthing-GTK
. How big problem this is?
from syncthing-gtk.
I totally forgot that syncthing-gtk
had an uninstaller. I'll add chocolateyUninstall.ps1
as soon as I can, and also push your name in the same time.
edit: English
from syncthing-gtk.
#42 fixes this.
from syncthing-gtk.
@GeoffreyFrogeye Thanks again :)
from syncthing-gtk.
Related Issues (20)
- Russian translate
- Incorrect speed display
- Crashing with KeyError in daemon.py _syncthing_cb_connections when starting daemon HOT 4
- Pacstall
- Upload rate showing as 0 B/s when there is an active upload
- Syncthinggtk not working on steam deck when CEF remote debugging enabled HOT 1
- GUI settings save button not inactive
- Doesn't Launch After Updating HOT 1
- Apostrophe character in GUI is converted to '
- Any forks on this? HOT 40
- Connection to daemon failed. Check your configuration and try again - Invalid HTTP response (ON STEAM DECK )
- Fedora Flatpak Wayland icon issue
- Tray icon not visible on Fedora 36 Flatpak HOT 4
- Installing latest version from Discover App breaks Discover App
- Move to python3 HOT 1
- Link to DEB seems broken
- Configuration Modification HOT 1
- Application menu button placement causing issues in Wayland HOT 2
- (Windows) Fails to download the Daemon
- error: Info: org.gnome.Platform//43 is end-of-life HOT 3
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 syncthing-gtk.