Coder Social home page Coder Social logo

handywinget's People

Contributors

ghost1372 avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

handywinget's Issues

Update manager

Hi, great idea... :-) will HandyWinGet be able to check for app updates for my installed apps?

RFF: Ability to verify which version of software is actually installed?

HWG pulls data from WG repository - I get that. However, a few items I have installed a shown as installed by HWG more than once - perfect example is Discord, which I only have the Public Test Build installed, but HWG is reporting I have both PTB and regular release installed, which have 2 different versions:

09

Is there any way to differentiate?

For example, for Discord PTB, the uninstaller has PTB in name string:

Computer\HKEY_USERS{MY UISER STRING}\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiscordPTB

I realize that the User string will be variable for every single user across a multitude of Windows installations, but if therre were a way to get the string anyway, it would help preventing duplicate versions being reported as installed.

If it cannot be done, now worries, just close this out - I figured I'd ask, and won't complain if there is not real way to accomplish this.

Installed repositories showing apps not actually installed

HI,

good work on 3.3.0.0. I have a feeling this bug report is not related to HWG directly, but to WinGet / parsing of metadata / some other issue.

Using 3.3.0.0, and selecting Show only installed button at bottom right, I get a lot of apps listed that are actually not installed.

  • Concept2 - Utility (if I try to uninstall it the uninstaller for my NetGear ProSafe mgmt utility comes up. Maybe it makes use of the Concept2 utility?
  • dnGrep dnGrep (never installed it, uninstaller says unable to uninstall, even when running HWG as admin)
  • gnome - Dia and gnome gedit (never installed either one, uninstaller says unable to uninstall, even when running HWG as admin)
  • GoCD - Server (uninstaller tries to uninstall my RivaTuner Statistics Server that comes with MSI Afterburner)
  • Golang - Go (uninstaller attempts to uninstall Google Drive FileStream app)
  • Johannes - Schindelin Git (never installed it, uninstaller says unable to uninstall, even when running HWG as admin)
  • LINE Corporation - LINE (never installed it, uninstaller says unable to uninstall, even when running HWG as admin)
  • Nicholas H Tollervey - Mu (never installed, Uninstall brings up a generic Windows uninstaller dialog box so I have no idea what actual app it is trying to uninstall)
  • richasy - Bili (never installed it, uninstaller says unable to uninstall, even when running HWG as admin)
  • Tencent - TIM (never installed it, uninstaller says unable to uninstall, even when running HWG as admin)
  • WPEngine, Inc - Local (never installed, Uninstall brings up a generic Windows uninstaller dialog box so I have no idea what actual app it is trying to uninstall)

I suspect, from the NetGear and RivaTuner uninstall routines, that what is actually happening is that there are either false positives in the scan for installed items, or else some of these items are a part of other actual installations versus being installed manually / on their own.

If I can provide logs, or anything like that, please let me know.

Also, a couple of these do not show up in 3.2.2.0:

dnGrep, GoLang, Git, Billi, and TIM do not show as installed in 3.2.2.0

Is it possible to use a program UUID instead, or do most of these not have an associated UUID to hunt down?

4.0-beta 1 crashes before it can be used

once I open handywinget and it says "downloading database" within seconds it crashes and the program closes itself.

not sure where to find the log to provide more info, the application directory is empty

Settings aren't saved

Every time I open the app, any settings I have selected are back to their defaults. This includes Pane Display Mode and Show Installed Package.

Not reporting current versions of software

When I run a command line "winget search pgadmin4" it shows the latest version as 5.2 but HandyWinGet show the latest as 5.1 and doesn't show 5.2 at all in the drop-down.

WinGet Repo is Old Version

Running:

WinGet install handywinget

installed old version (3.2.2.0) not 3.4.0 (latest).

Log:

Microsoft Windows [Version 10.0.19043.985]
(c) Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>WinGet install handywinget
Found HandyWinget [HandyOrg.HandyWinget-GUI]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licences to, third-party packages.
Downloading https://github.com/HandyOrg/HandyWinGet/releases/download/v3.2.2.0/Setup.msi
  ██████████████████████████████  54.0 MB / 54.0 MB
Successfully verified installer hash
Starting package install...
Successfully installed

C:\WINDOWS\system32>WinGet upgrade handywinget
No applicable update found.

Does no installer for it exist?

"Show Only Installed" Packages Fix

Please fix the "Show Only Installed" button on the Packages tab.

Currently it shows 0 entries when I have about 10 winget packages installed.

Show Only Installed ignored

The "Show Only Installed" checkbox at the bottom right of the package window is ignored by default.

With it left selected, if I navigate away from the packages tab then back to packages, it'll load all packages, even those not installed. I have to then unselect "Show Only Installed" and re-select it to only see installed packages.

This is the case using either the internal method or the winget cli method for internal packages

View installed packages

Would it be possible to view the packages installed through winget.
Something like what exists in the chocolatey gui.

Thanks.

Text not showing up

All of the text in the name column is not showing up as well as some publisher text. I also can not see text in the available version dropdowns. See attached screenshot for more info.

Screenshot

Keep Alive Pages

When the back button is enabled, pages should be cached and not re-created

No option to start on Packages tab

First launch is General (options) tab.
Should be packages by default, or at least have intallation option to select packages by default.

This first-run design is offputting to casual users.

WinUI Version [Based on WindowsAppSDK]

I plan to continue developing this app by WindowsAppSDK

The reason for this is

  • WinUI 3
  • Better and faster performance
  • More flexible and beautiful user interface
  • Since everyone uses Windows 10 today, there is no need to support Windows 7 and 8 (If needed, we can use uno platform for Release exe for Windows 7)

@tardis4500 @JohnLGalt What do you think about this?

Current Version Number still set as 3.4.0. Assumes it needs to update to version v4.0.0-beta.1

I installed the v4.0.0-beta.1 release, but the "About" page shows the version number as 3.4.0.0

image

When the "Check For Update" button is clicked it states that a new update is available. This is despite the downloaded installer being v4.0.0-beta.1

image

I'm pretty sure this is the v4.0.0-beta.1 release as:
-it needed .NET 5.0
-it has the features added in that release (Group Packages by publisher, Download with IDM, etc...)

image

Issue with generated install commands.

Hi!
When you try to install for example 7-Zip beta trough the gui there is an error with version number not found.
The main problem is that the generated command looks like this:

winget install 7zip.7zip.Alpha.exe -v 21.04 beta

While it should be like this:

winget install 7zip.7zip.Alpha.exe -v "21.04 beta"

Installed version doesn't match what winget cli reports

I have WinMerge installed and when I do a "winget list WinMerge" it reports that 2.16.12.0 is installed. But the GUI reports that 2.16.6 is installed. This is true even though I have selected the "Winget-cli Method" for the Show Installed Package option.

Cleaner Packages Tab

Please fix this tab to only show packages that have a Package Name.

Currently theres blank ones until index number 12.

Upgrade selected

This is a nice app, thank you, it's just that Packages -> Installed could really use the Upgrade selected packages button (and perhaps Select all, Select None and Invert selection to upgrade multiple packages at once.

Hard coded string caused crash in non-English locale

In src/HandyWinget/Common/Helper.cs, line 314; "Name" string is hard coded, however, winget process does not always return "Name" as the header. Instead, its output depends on locale.

            try
            {
                string input = _wingetData.Substring(_wingetData.IndexOf("Name"));
                var lines = input.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries).Skip(2);
                return lines;

            }

Crashes when I try to search

When I click on the search bar and type in one character, the application freezes, then the application closes. I included a video demonstrating the bug.

bug.mp4

Installed version not shown when installed but newer available

I have Git 2.32.0 installed and 2.32.0.2 is available. The winget CLI shows this with a column for installed and a column for available. However, this GUI just shows the availble version and has the installed column checked which gives the impression that the latest version is installed when it isn't.

Slow to populate packages (no pre-caching)

Takes a long time to populate packages tab, my first run seemed to get stuck and needed a close/reopen after a few minutes, subsequent opens take about 30 seconds each time.

handywinget- slow start

This is even with "show installed package" off

Wrong version in package

The 3.4.1 zip file has 3.4.0 in it so after install it still says a newer version is available.

Crash when parsing manifests

When Handy is loading, during initial manifest parsing, it crashes. The following error was found in the event viewer:

CoreCLR Version: 5.0.321.7212
.NET Version: 5.0.3
Description: The process was terminated due to an unhandled exception.
Exception Info: Newtonsoft.Json.JsonReaderException: Bad JSON escape sequence: \x. Path 'Description', line 1, position 267.
   at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)
   at Newtonsoft.Json.JsonTextReader.ParseString(Char quote, ReadType readType)
   at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
   at Newtonsoft.Json.JsonTextReader.ReadAsString()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
   at HandyWinget.Views.Packages.<>c__DisplayClass16_0.<<LoadLocalManifests>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at HandyWinget.Views.Packages.LoadLocalManifests()
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run()
   at HandyWinget.App.Main()

New version hard to install

I am running 3.0.1.0 and when I use the Check for Update button it says I have the latest version even though 3.0.2.0 is available. When I look at the package availability in winget all I see are versions 1.3.0.1 and 2.1.0.0. So the only way to install the new version is to download the rar file and extract the executable into the correct directory.

Consider adding .editorconfig for consistency

First of all, HWG is awesome and a huge shout out for your hard work!

While I was reading its code, I found that this project is using PascalCase for argument names, rather than the default camelCase naming scheme (at least in Visual Studio and Rider’s), this may introduce inconsistency while someone’s trying to contribute new code to this repo.

I don’t personally consider PascalCase to be good for variable names since it may cause you to mix variables and class/type names but it’s really down to personal preferences.

Adding a .editorconfig file can explicitly set the naming scheme preference for the project, make IDE automatic formatting work better and save time for developers, and I think that you might be interested in it. It will also make Rider complain less with its more strict syntax checking system.

Visual Studio also provided a template, you can directly create one in the Add File menu.

Unable to upgrade from within the app

I'm running 2.2.0.0. When I click "Check For Update" I get the popup for the new version. If I select "Confirm" the app just closes. This happens whether I run as Administrator or not. I had the same problem upgrading from 2.0.0.0 to 2.2.0.0. I had to download the installer from the website.

No shortcuts installed in Start Menu

I installed via WinGet but no Start Menu items were created, using search for "Handy" returns nothing, and it's not like the installer told me where it was installing the executable. How do I run this thing?

UI Fixes

  1. When clicking the 3x3 square icons at top left, it selects all items in view - as expected. But if I want to reverse the process, I can't - I have to manually deselect everything (or restart client). Can this be changed to both select and deselect all, depending upon the last action used (IOW: If not used, it becomes select all, if already used once to select all, it becomes deselect all, and if it was last used to deselect all, it becomes normal select all again)?

  2. Is there a reason the drop down boxes for Architecture as as wide as they currently show? If not, can it be reduced?

  3. Can column widths be made persistent? After I adjust them to where I want them, upon app restart they are back to 'default' settings.

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.