Skip to content

Commit 2eab702

Browse files
committed
update code for version 2.0.2
1 parent 484c2f6 commit 2eab702

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

WingetUI.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "WingetUI"
5-
#define MyAppVersion "2.1.0-beta"
5+
#define MyAppVersion "2.0.2"
66
#define MyAppPublisher "Martí Climent"
77
#define MyAppURL "https://github.com/marticliment/WingetUI"
88
#define MyAppExeName "WingetUI.exe"
@@ -19,7 +19,7 @@ AppPublisher={#MyAppPublisher}
1919
AppPublisherURL={#MyAppURL}
2020
AppSupportURL={#MyAppURL}
2121
AppUpdatesURL={#MyAppURL}
22-
VersionInfoVersion=2.1.0.0
22+
VersionInfoVersion=2.0.2.0
2323
DefaultDirName="{autopf}\WingetUI"
2424
DisableProgramGroupPage=yes
2525
DisableDirPage=no

wingetui-version-file

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ StringFileInfo(
3232
[
3333
StringStruct(u'CompanyName', u'Martí Climent'),
3434
StringStruct(u'FileDescription', u'WingetUI'),
35-
StringStruct(u'FileVersion', u'2.1.0-beta'),
36-
StringStruct(u'ProductVersion', u'2.1.0-beta'),
35+
StringStruct(u'FileVersion', u'2.0.2'),
36+
StringStruct(u'ProductVersion', u'2.0.2'),
3737
StringStruct(u'InternalName', u'WingetUI'),
3838
StringStruct(u'LegalCopyright', u'Martí Climent'),
3939
StringStruct(u'OriginalFilename', u'wingetui.exe'),

wingetui/data/contributors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
{
2929
"name": "marticliment",
3030
"link": "https://github.com/marticliment",
31-
"contributions": 1732
31+
"contributions": 1735
3232
},
3333
{
3434
"name": "ppvnf",

wingetui/data/versions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = 2.09
2-
versionName = "2.1.0-beta"
3-
versionISS = "2.1.0.0"
1+
version = 2.02
2+
versionName = "2.0.2"
3+
versionISS = "2.0.2.0"

wingetui/uiSections.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -393,14 +393,14 @@ def addItem(self, package: Package) -> None:
393393
if self.containsQuery(item, self.query.text()):
394394
self.showableItems.append(item)
395395

396-
UNINSTALL: UninstallSoftwareSection = globals.uninstall
396+
"""UNINSTALL: UninstallSoftwareSection = globals.uninstall
397397
if package.Id in UNINSTALL.IdPackageReference.keys():
398398
installedPackage: UpgradablePackage = UNINSTALL.IdPackageReference[package.Id]
399399
installedItem = installedPackage.PackageItem
400400
if installedItem in UNINSTALL.packageItems:
401401
item.setIcon(1, self.installedIcon)
402402
item.setToolTip(1, _("This package is already installed")+" - "+package.Name)
403-
403+
"""
404404

405405

406406

@@ -829,13 +829,14 @@ def addItem(self, package: UpgradablePackage) -> None:
829829
item.setAction(action)
830830
globals.trayMenuUpdatesList.addAction(action)
831831

832-
UNINSTALL: UninstallSoftwareSection = globals.uninstall
832+
"""UNINSTALL: UninstallSoftwareSection = globals.uninstall
833833
if package.Id in UNINSTALL.IdPackageReference.keys():
834834
installedPackage: UpgradablePackage = UNINSTALL.IdPackageReference[package.Id]
835835
installedItem = installedPackage.PackageItem
836836
if installedItem in UNINSTALL.packageItems:
837837
installedItem.setIcon(1, self.updateIcon)
838838
installedItem.setToolTip(1, _("This package can be updated to version {0}").format(package.NewVersion)+" - "+package.Name)
839+
"""
839840

840841
def finishFiltering(self, text: str):
841842
def getChecked(item: TreeWidgetItemWithQAction) -> str:
@@ -1251,7 +1252,7 @@ def addItem(self, package: Package) -> None:
12511252
item.setIcon(4, package.getSourceIcon())
12521253
item.setText(6, package.getFloatVersion())
12531254

1254-
UPDATES: UpdateSoftwareSection = globals.updates
1255+
"""UPDATES: UpdateSoftwareSection = globals.updates
12551256
if package.hasUpdatesIgnoredPermanently():
12561257
item.setIcon(1, self.pinnedIcon)
12571258
item.setToolTip(1, _("Updates for this package are ignored")+" - "+package.Name)
@@ -1269,7 +1270,7 @@ def addItem(self, package: Package) -> None:
12691270
if discoverableItem in DISCOVER.packageItems:
12701271
discoverableItem.setIcon(1, self.installedIcon)
12711272
discoverableItem.setToolTip(1, _("This package is already installed")+" - "+package.Name)
1272-
1273+
"""
12731274

12741275

12751276
self.PackageItemReference[package] = item

0 commit comments

Comments
 (0)