glzr-io / zebar

Zebar is a tool for creating customizable and cross-platform taskbars, desktop widgets, and popups.
GNU General Public License v3.0
160 stars 13 forks source link

Winget and Scoop support #37

Open azinsharaf opened 3 months ago

azinsharaf commented 3 months ago

hi, is there any plan to make the new releases available in winget, scoop or choco?

lars-berger commented 3 months ago

Yes, would like to get Zebar added to Winget and Scoop at some point. From what I can remember, they have some star requirements so not sure whether we're eligible currently.

azinsharaf commented 3 months ago

ok. currently the setup file needs admin access. can it be changed so it can be installed without admin access?

lars-berger commented 3 months ago

I believe it needs elevation just to save to C:\Program Files\. It could be changed to not save to C:\Program Files\, but that’s the most standard install location on Windows

azinsharaf commented 3 months ago

even with changing it to home folder, it says it needs admin privilege.

lars-berger commented 3 months ago

Hm yeah, I'm seeing the same. We're running a custom Wix template - I tried just now to change it to the default Tauri one and encountering the same behavior where elevation is needed for the home folder. A bit surprising since there's surely a lot of Tauri apps on Scoop.

melMass commented 3 months ago

I came to ask the same (scoop), that would be great, along the same lines a portable version would be nice: publishing the exe like you do for Glaze.

lars-berger commented 3 months ago

I came to ask the same (scoop), that would be great, along the same lines a portable version would be nice: publishing the exe like you do for Glaze.

Apparently packaging a Tauri app as a portable .exe is possible but not really ideal https://github.com/tauri-apps/tauri/discussions/3048

Does scoop/winget disallow .msi's that require elevation? Trying to find some relevant docs for this @azinsharaf

azinsharaf commented 3 months ago

i use a portable version of scoop that allows to install the apps in the home folder without admin right. winget needs admin right since i haven't found a portable winget version.

melMass commented 3 months ago

Apparently packaging a Tauri app as a portable .exe is possible but not really ideal https://github.com/tauri-apps/tauri/discussions/3048

It makes sense, I'm going to ask on the Tauri board about the current status of things about this and scoop msi extraction mechanism and report here

i use a portable version of scoop that allows to install the apps in the home folder without admin right.

That's how scoop works by default

azinsharaf commented 3 months ago

i use a portable version of scoop that allows to install the apps in the home folder without admin right.

That's how scoop works by default

that is true. i meant choco portable.

melMass commented 3 months ago

I think in the case of zebar just extracting the binary seems to work. I made a very basic recipe for scoop here: zebar.json

And this is the tree it installs (in ~/scoop/apps):

I made this quickly but I think wrapping the shims by the bat zebar provides is possible