From 6e810cf5784c0f43fbcc0ccf33d06d31fe86a147 Mon Sep 17 00:00:00 2001 From: EnziTheViking <79238110+EnziTheViking@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:56:10 -0800 Subject: [PATCH] Test3 (#8) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Test 2024 01 25 (#1505) * Update applications.json Fake app add made by linux fanboy * Compile Winutil * Update screen-install.png (#1464) * Compile Winutil * Update files (#1487) - Add detections for whether the image to be processed by MicroWin is Windows 10 or later - Add procedure to clear the indexes ComboBox (WinForms term) every time an ISO is specified Co-authored-by: Chris Titus * Lots of changes to Invoke-WPFFixesUpdate (#1467) * Add Guilded into Communication Tab (#1059) * Add Guilded into Communication Tab * Remove Choco Package due to there is no Chocolatey packages * : Add ZeroTier One to utilities menu (#1061) * Update applications.json (#1063) Update to add [SuperF4 - Stefan Sundin](https://stefansundin.github.io/superf4/), as mentioned in #374 [Choco - SuperF4](https://community.chocolatey.org/packages/superf4) maintained by Xav83. [WinGet - SuperF4](https://winstall.app/apps/StefanSundin.Superf4) SuperF4 and Winget package published by Stefan Sundin. * Update inputXML.xaml (#1062) Updated inputXML.xaml to account for addition of the SuperF4 software. * Added AIMP music player (#1064) * Add Ventoy (Chocolatey Only Package) & .NET Core Runtime (Winget & Chocolatey) (#1066) * Tidy up SuperF4 line. * Tidy up SuperF4 line. Used spaces instead of tabs. * Add dotnet 7.0.11 Desktop Runtime * Undone changes to SuperF4 line * Addition of Ventoy (chocolatey only) package * Comment Spacing, Indentation, and Capitalization (#1084) * Comment Spacing, Indentation, and Capitalization * Comment Grammar and Spacing Makes grammar in comments better and more consistent Adds space before comment and centers word in `Write-Host` commands * More Grammar and Formatting * Add some comments * Populate PlaceHolder comments in functions Files I found that has issues: Get-WinUtilRegistry.ps1 Install-WinUtilWinget.ps1 Invoke-WinUtilDarkMode.ps1 Remove-WinUtilAPPX.ps1 Test-WinUtilPackageManager.ps1 Update-WinUtilProgramWinget.ps1 Invoke-WPFUpdatessecurity.ps1 * Tweak a few more comments * Tweak another write-host statement * Undo Catch statement adjustment It's outside of the scope of this pull request * Fix indentation * Description, Progress Bar, and nuke step 10 - Added a full description of exactly what the function does - Replaced `Write-Host`s with multiple progress bars - Might've added too many, but I didn't want to add one for just a few of them as I want the user to be able to see all tasks that have been performed, just like with `Write-Host` - Removed Step 10 - Only applies to Windows 8 * Add Aggressive Parameter, Actually Force Check for Updates * Add aggressive parameter and add system repair step * Lots of changes * Revert Stuff This reverts commit 199a92e26e418c544691a0b6eda5d6e7f3e56b8d. Revert "Comment Spacing, Indentation, and Capitalization (#1084)" This reverts commit acc2b5b243654156de4c6bdbcc5f7b72e4cdf578. Revert "Add Ventoy (Chocolatey Only Package) & .NET Core Runtime (Winget & Chocolatey) (#1066)" This reverts commit 932ec6a0a00f7d2fb9cb3fca2fd4bf7ee74d9ce7. Revert "Added AIMP music player (#1064)" This reverts commit d1a4a67a45335450cd82d4960ddf4b8a0e565eef. Revert "Update inputXML.xaml (#1062)" This reverts commit 2db4cb556edfce9602f931e37b3ee4f59d9ecf7f. Revert "Update applications.json (#1063)" This reverts commit ce7edbd60dda92a00293bf2f727b44af63165838. Revert ": Add ZeroTier One to utilities menu (#1061)" This reverts commit 783a9657d0c6a08a9e9ef6e19bd461c8af7c1420. --------- Co-authored-by: Justawildwolf <62820836+blusewill@users.noreply.github.com> Co-authored-by: Tim Stone Co-authored-by: Will Barnard <5012445+mrwillbarnz@users.noreply.github.com> Co-authored-by: Ian Bassi * Compile Winutil * Invoke-WPFRunspace argument fix (#1497) * Compile Winutil * Fixes, Changes & Features Added (Broken links & Comments) (#1476) * Fixes & Changes (Broken links & Comments) - Snappy Driver Installer Origin Github source code deprecated. Replaced with SourceForge official source code site. - Spacedrive File Manager "spacedrive.org" not working. Changed to official site. **Recent Alpha ver 0.2.0 - crashing on install for Win10+ (not tested in "lower" win versions), may be better to remove overall or place on standby.** - Xtreme Download Manager Web Integration not working for chromium based browser. **Deprecated by Manifest V3, no official update release.** * Update applications.json Reverted winget for Spacedrive to original. Spacedrive.FileSystem -> spacedrive.Spacedrive * Fix for Portmaster [Wrong repo/winget] * Choco Safing Portmaster * Added Apps Request - Added TeCno Account Switcher Resolves Feature Request n.6° #1451 - Added ATLauncher - Added OP Auto Clicker - Added Motrix Download Manager Resolves Feature Request #1443 * Fixed Panel Numbers * Added Thonny Python IDE - Feature Request #1451 * Update applications.json fix few missing values * Update applications.json add winget thonny --------- Co-authored-by: Chris Titus * Compile Winutil * Fixed typo: latancy to latency (#1492) * Compile Winutil * Update inputXML.xaml (#1462) * Compile Winutil * Update .gitignore * add Dax Studio program to the Development category (#1500) * Compile Winutil * Add GitHub CLI to applications (#1460) * Added GitHub CLI to applications GitHub cli is the command line interface offered by github alongside github desktop. For more information see: https://github.com/cli/cli. Installation instructions taken from: https://github.com/cli/cli#windows * spelling: removed accidental dot * Compile Winutil * Add Vesktop to applications.json (#1461) * Add Vesktop to applications.json * fix syntax error --------- Co-authored-by: Chris Titus * Compile Winutil * Add some apps (#1466) * Add some apps * Fix WPFInstallopenhashtab --------- Co-authored-by: Chris Titus * Compile Winutil * adds helix to development tools (#1469) * Compile Winutil * Add tooltips to config checkboxes (#1470) * Fix typo * Update winutil.ps1 * Update winutil.ps1 Add tooltips to checkboxes in config session and rewrite so to make things more clear as to what each tweak does * Revert "Update winutil.ps1" This reverts commit aaa69c473ff814a7de9e4f7e4591fa5c0f786ffc. * Add applications Added Sonarr, Radarr, Prowlarr and Bazarr in response to an github issue * Add applications Added applications to the GUI * Revert "Add applications" This reverts commit e5fba2b4ebe8df138aed396e55f3fcee62224cbc. * Revert "Add applications" This reverts commit 55ff75a65c563dd649e6cac4868a8484a71656d5. * Edit xaml files Editing the xaml files so the changes persist upon compilation --------- Co-authored-by: Chris Titus * Compile Winutil * Add Mumble (#1481) Add Mumble to Communications category. * Compile Winutil * Added 'Stremio' (#1473) * Compile Winutil * Update applications.json Added 'Stremio' * Compile Winutil --------- Co-authored-by: REVENGE977 Co-authored-by: Chris Titus * Add the Mullvad Browser (#1475) * add mullvad browser * Missing tab * fix format --------- Co-authored-by: Kristjan Co-authored-by: Chris Titus * Compile Winutil * Added some Applications (#1484) * Update applications.json Add: - Rancher Desktop - ManicTime - qFlipper - ModernFlyouts - ZoomIt - StartAllBack - Wintoys - Minecraft Launcher * Update applications.json added: - Arduino IDE - Whatsapp * Update applications.json corrected spacing * Update applications.json fixed winget commands --------- Co-authored-by: Chris Titus * Added WinMerge Application in Development category. (#1485) WinMerge is an Open Source differencing and merging tool for Windows. * Compile Winutil * Fix few app links and add app (issues/1478) (#1495) * Update some app links * Update winutil.ps1 Date update * Add Syncthingtray Related to the issue: https://github.com/ChrisTitusTech/winutil/issues/1478 * Update applications.json update putty link --------- Co-authored-by: Chris Titus * Compile Winutil * Update applications.json * Compile Winutil * App fix and sort * Add Dual Monitor tools to applications.json (#1504) * Add Dual Monitor tools to applications.json * Update applications.json * Update applications.json --------- Co-authored-by: Chris Titus * Compile Winutil --------- Co-authored-by: ChrisTitusTech Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com> Co-authored-by: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Co-authored-by: Carter <60557606+Carterpersall@users.noreply.github.com> Co-authored-by: Justawildwolf <62820836+blusewill@users.noreply.github.com> Co-authored-by: Tim Stone Co-authored-by: Will Barnard <5012445+mrwillbarnz@users.noreply.github.com> Co-authored-by: Ian Bassi Co-authored-by: ogfrm <96927197+ogfrm@users.noreply.github.com> Co-authored-by: v-Kaefer <128633407+v-Kaefer@users.noreply.github.com> Co-authored-by: Shashank B N <117376750+Athena-2003@users.noreply.github.com> Co-authored-by: Alex Schwartz Co-authored-by: André Gonzalez Co-authored-by: David Hardt Co-authored-by: Choccy Milk <152878702+choccyy-milk@users.noreply.github.com> Co-authored-by: OmriOn Co-authored-by: Breno Fernandes Co-authored-by: Yuri Gabriel <97139700+Yuuh15@users.noreply.github.com> Co-authored-by: Filip Zurek Co-authored-by: H4D3S <32039975+REVENGE977@users.noreply.github.com> Co-authored-by: REVENGE977 Co-authored-by: KristjanOmar <117899282+KristjanOmar@users.noreply.github.com> Co-authored-by: Kristjan Co-authored-by: MyDrift Co-authored-by: Akash Singh <52990376+Akash-S1999@users.noreply.github.com> Co-authored-by: Roc Wang Co-authored-by: José Roberto Sánchez * Test 2024 01 30 (#1541) * applications.jsonAdded Foxit Reader app and updated Foxit Editor to show the difference. * applications.json Added Foxit Reader app and updated Foxit Editor to show the difference. * Compile Winutil * Fix Broken Link and add syncthingtray (#1508) * Compile Winutil * Remove Nano-Removed bugged Nano package for now * Remove Nano -Removed bugged Nano package for now * Compile Winutil * tweaks and fetures tabs clean up automation from inputXML.xaml * tweaks and fetures tabs clean up automation from inputXML.xaml * fixed some commas in tweaks.json file * recompile * Update tweaks.json * Compile Winutil * Choosing Alternate Scartch Path and Busy Messages * Choosing Alternate Scartch Path and Busy Messages * Change Selected index to be pro * Compile Winutil * Improve detection for Pro editions of Windows (#1539) * Update applications.json Fake app add made by linux fanboy * Compile Winutil * Update files - Add detections for whether the image to be processed by MicroWin is Windows 10 or later - Add procedure to clear the indexes ComboBox (WinForms term) every time an ISO is specified * Update screen-install.png (#1464) * Compile Winutil * Improve detection for Professional editions --------- Co-authored-by: Chris Titus Co-authored-by: ChrisTitusTech Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com> Co-authored-by: Chris Titus * Fix features not being installed and winget reinstall (#1537) * Fix typo in features variable This fucker caused every. single. feature in config tab to not install * Add argument "--force" to winget reinstall Some users reported not being able to reinstall winget without this argument. * Revert "Add argument "--force" to winget reinstall" This reverts commit b331460340d0936f87051230c0bc45b7aedc0d94. * Add "--force" argument when reinstalling winget --------- Co-authored-by: Chris Titus * RE: Add Adobe Creative Cloud Cleaner tool (#1532) * Add a new function for handling the new tool Implement a new function called Invoke-WPFRunAdobeCCCleanerTool which will download, run the tool and delete it afterwards. * Add the button invocation to call the new function If this is not done, the button will do nothing if the user clicks on it. * Add the button to the XML code * Add button using the new way Using inputXAML.xml is the old way. * Compile Winutil * application are evenly distributed to 5 columns (#1534) * Exclude compiled winutil * Fix unit tests --------- Co-authored-by: LoopTJ <34551682+LoopTJ@users.noreply.github.com> Co-authored-by: ChrisTitusTech Co-authored-by: Roc Wang Co-authored-by: Jes Herring <123990927+jesjess243@users.noreply.github.com> Co-authored-by: ogfrm <96927197+ogfrm@users.noreply.github.com> Co-authored-by: LeeDowA <157072913+LeeDowA@users.noreply.github.com> Co-authored-by: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com> Co-authored-by: Yuri Gabriel <97139700+Yuuh15@users.noreply.github.com> Co-authored-by: Ken Hoo <158048821+mrkenhoo@users.noreply.github.com> * Test 2023 02 02 (#1556) * Fix config tab (#1547) The JSON is poorly formatted. In my machine this resolved the issue * Compile Winutil * Add toggle "sticky keys" (#1546) Adds a toggle to enable/disable sticky keys * added miniconda, temurin, presentmon and pyenv-win (#1542) * Compile Winutil --------- Co-authored-by: Yuri Gabriel <97139700+Yuuh15@users.noreply.github.com> Co-authored-by: ChrisTitusTech Co-authored-by: Jakub Krojec * Update applications.json * Test 2024 02 03 (#1583) * Compile Winutil * winget fixes and checks * Compile Winutil * fix Parsec winget id (#1558) * Compile Winutil * fix winget issues * Compile Winutil * cleanup winget * Compile Winutil * Updated README.md (#1570) Fixed typos in readme file ("cusom" -> "custom", "twekas" -. "tweaks". Also added full stops. * Compile Winutil * Create close-old-issues.yml * Compile Winutil * update issues --------- Co-authored-by: ChrisTitusTech Co-authored-by: Saikrishnan K <53394202+K-Saikrishnan@users.noreply.github.com> Co-authored-by: Harry Perkin <68484588+HarryPerkin@users.noreply.github.com> * bug fixes * Update close-old-issues.yaml * revert winget * Compile Winutil * Update Dev Toys URL (#1606) * Compile Winutil * Update close-old-issues.yaml * Compile Winutil * Update close-old-issues.yaml * Update close-old-issues.yaml * Update close-old-issues.yaml * Bring workflow to test (#1638) * Update close-old-issues.yaml * Compile Winutil * Update close-old-issues.yaml * Update close-old-issues.yaml * Update close-old-issues.yaml --------- Co-authored-by: ChrisTitusTech * Compile Winutil * Change Dynamic xaml to static * Compile Winutil * Move features and tweaks to static compile * Compile Winutil * Add 'Run as administrator' to 'Invoke-WPFShortcut' Function and Use it in 'Invoke-WPFButton' (#1625) The full details on implementation is found in the commit changes, as well as documentation in 'Invoke-WPFShortcut.ps1' file. * Compile Winutil * changed link to correct project (#1619) * Compile Winutil * Improve handling of Adobe's CC Cleaner tool (#1635) * Update close-old-issues.yaml * Compile Winutil * Update close-old-issues.yaml * Update close-old-issues.yaml * Update close-old-issues.yaml * Improve handling of Adobe's CC Cleaner tool This PR implements a try-catch-finally struct to do a better handling of Adobe's Creative Cloud Cleaner tool downloading and running of such program. This will allow to see any errors that occurs if the URL changes, the tool fails to run, or anything else. I also have moved the cleaning up process to the finally part of the structure, as it makes the most sense. This tries to fix or sanitize the issue #1563. --------- Co-authored-by: Chris Titus Co-authored-by: ChrisTitusTech Co-authored-by: Chris Titus * Compile Winutil * Compile Winutil * Test 2024 02 07 refactor noapps (#1717) * pull workflow github actions (#1716) * Update close-old-issues.yaml * Compile Winutil * Update close-old-issues.yaml * Update close-old-issues.yaml * Update close-old-issues.yaml * Compile Winutil --------- Co-authored-by: ChrisTitusTech * Improve unattended answer file creation for MicroWin and add automatic conversion of ESD files (#1595) * Update applications.json Fake app add made by linux fanboy * Compile Winutil * Update files - Add detections for whether the image to be processed by MicroWin is Windows 10 or later - Add procedure to clear the indexes ComboBox (WinForms term) every time an ISO is specified * Update screen-install.png (#1464) * Compile Winutil * applications.jsonAdded Foxit Reader app and updated Foxit Editor to show the difference. * applications.json Added Foxit Reader app and updated Foxit Editor to show the difference. * Compile Winutil * Fix Broken Link and add syncthingtray (#1508) * Compile Winutil * Remove Nano-Removed bugged Nano package for now * Remove Nano -Removed bugged Nano package for now * Compile Winutil * tweaks and fetures tabs clean up automation from inputXML.xaml * tweaks and fetures tabs clean up automation from inputXML.xaml * fixed some commas in tweaks.json file * recompile * Update tweaks.json * Compile Winutil * Choosing Alternate Scartch Path and Busy Messages * Choosing Alternate Scartch Path and Busy Messages * Change Selected index to be pro * Compile Winutil * Improve detection for Professional editions * Update files Updated the Test-CompatibleImage function to compare against a desired version, which is useful for determining if the Specialize pass needs to be added to the unattended answer file * Automatic conversion of ESD files Automatically convert the install.esd file from installation media into a WIM file that can be mounted, then delete the ESD file --------- Co-authored-by: Chris Titus Co-authored-by: ChrisTitusTech Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com> Co-authored-by: Chris Titus Co-authored-by: LoopTJ <34551682+LoopTJ@users.noreply.github.com> Co-authored-by: Roc Wang Co-authored-by: Jes Herring <123990927+jesjess243@users.noreply.github.com> Co-authored-by: ogfrm <96927197+ogfrm@users.noreply.github.com> Co-authored-by: LeeDowA <157072913+LeeDowA@users.noreply.github.com> * Compile Winutil * Change the Theme Configuration for low spec. (#1643) * Update close-old-issues.yaml * Compile Winutil * Update close-old-issues.yaml * Update close-old-issues.yaml * Update close-old-issues.yaml * Added New Dark Themes for Low Spec PC and added GPU Detection * Compile Winutil --------- Co-authored-by: Chris Titus Co-authored-by: ChrisTitusTech Co-authored-by: Chris Titus * Compile Winutil * Fix OneDrive Remove Tweak not cleaning-up 'OneDrive' Folder under the 'localappdata' Environment Folder (#1654) Besides the 'OneDrive' Folder found in 'Microsoft' Folder in 'localappdata', there's Yet Another Cache Folder that OneDrive uses, which's found under the 'localappdata' Environment Folder, read the commit patches for exact details. * Compile Winutil * MicroWin - Make the New Shortcut have 'Run as administrator' property on (#1659) The added lines of PowerShell Code was taken from public function 'Invoke-WPFShortcut.ps1' under the 'functions/public' Folder. * Compile Winutil * Fixing an issue related to winget install & Improving winget uninstall command (#1662) * Add the argument '--accept-source-agreements' to the Uninstall command of Winget Added '--accept-source-agreements' to insure that the Package Uninstall process is completely unattended. * Improve the Wording of the 'WPFInstall' function and 'inputXML.xaml' file * Compile Winutil * Handle preview versions of winget (#1682) * Update close-old-issues.yaml * Compile Winutil * Update close-old-issues.yaml * Update close-old-issues.yaml * Update close-old-issues.yaml * Added compatibility with preview versions of Winget * Update winutil.ps1 * Update Test-WinUtilPackageManager.ps1 * Document Formatting --------- Co-authored-by: Chris Titus Co-authored-by: ChrisTitusTech Co-authored-by: Chris Titus * Compile Winutil * fix typo in applications (#1683) * Compile Winutil * fix DevToys winget id (#1685) (#1689) * Compile Winutil * fix DevToys winget id (#1685) DevToys doesn't have a proper winget id unlike other programs * Compile Winutil * fix case * Compile Winutil * Compile Winutil --------- Co-authored-by: K-Saikrishnan Co-authored-by: Chris Titus Co-authored-by: ChrisTitusTech * Fixed and improved software URLs and updated names based on creator formatting (#1704) Co-authored-by: Tyler Robb * Compile Winutil --------- Co-authored-by: ChrisTitusTech Co-authored-by: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com> Co-authored-by: LoopTJ <34551682+LoopTJ@users.noreply.github.com> Co-authored-by: Roc Wang Co-authored-by: Jes Herring <123990927+jesjess243@users.noreply.github.com> Co-authored-by: ogfrm <96927197+ogfrm@users.noreply.github.com> Co-authored-by: LeeDowA <157072913+LeeDowA@users.noreply.github.com> Co-authored-by: Justawildwolf <62820836+blusewill@users.noreply.github.com> Co-authored-by: Mr.k Co-authored-by: Martin Wiethan <47688561+Marterich@users.noreply.github.com> Co-authored-by: glorp <152878702+choccyy-milk@users.noreply.github.com> Co-authored-by: Saikrishnan K <53394202+K-Saikrishnan@users.noreply.github.com> Co-authored-by: K-Saikrishnan Co-authored-by: Tyler Robb <6801620+tylerrobb@users.noreply.github.com> Co-authored-by: Tyler Robb * compile refactor * Compile Winutil * Test 2024 03 21 (#1748) * Fix unattended answer file woes for MicroWin (#1724) * Update applications.json Fake app add made by linux fanboy * Compile Winutil * Update files - Add detections for whether the image to be processed by MicroWin is Windows 10 or later - Add procedure to clear the indexes ComboBox (WinForms term) every time an ISO is specified * Update screen-install.png (#1464) * Compile Winutil * applications.jsonAdded Foxit Reader app and updated Foxit Editor to show the difference. * applications.json Added Foxit Reader app and updated Foxit Editor to show the difference. * Compile Winutil * Fix Broken Link and add syncthingtray (#1508) * Compile Winutil * Remove Nano-Removed bugged Nano package for now * Remove Nano -Removed bugged Nano package for now * Compile Winutil * tweaks and fetures tabs clean up automation from inputXML.xaml * tweaks and fetures tabs clean up automation from inputXML.xaml * fixed some commas in tweaks.json file * recompile * Update tweaks.json * Compile Winutil * Choosing Alternate Scartch Path and Busy Messages * Choosing Alternate Scartch Path and Busy Messages * Change Selected index to be pro * Compile Winutil * Improve detection for Professional editions * Update files Updated the Test-CompatibleImage function to compare against a desired version, which is useful for determining if the Specialize pass needs to be added to the unattended answer file * Automatic conversion of ESD files Automatically convert the install.esd file from installation media into a WIM file that can be mounted, then delete the ESD file * pull workflow github actions (#1716) * Update close-old-issues.yaml * Compile Winutil * Update close-old-issues.yaml * Update close-old-issues.yaml * Update close-old-issues.yaml * Compile Winutil --------- Co-authored-by: ChrisTitusTech * Update files Force unattended answer file to use UTF-8 encoding --------- Co-authored-by: Chris Titus Co-authored-by: ChrisTitusTech Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com> Co-authored-by: Chris Titus Co-authored-by: LoopTJ <34551682+LoopTJ@users.noreply.github.com> Co-authored-by: Roc Wang Co-authored-by: Jes Herring <123990927+jesjess243@users.noreply.github.com> Co-authored-by: ogfrm <96927197+ogfrm@users.noreply.github.com> Co-authored-by: LeeDowA <157072913+LeeDowA@users.noreply.github.com> * add tightvnc to address issue #1718 (#1721) * Compile Winutil * Add 'FireFox ESR' and 'lightshot' Apps to 'application.json' File (#1720) * Add 'FireFox ESR' and 'lightshot' Apps to 'application.json' File * Update 'FireFox ESR' description * Compile Winutil * Fix typo in the Description of 'Get-Oscdimg.ps1' private function (#1743) * Compile Winutil * IPv6 update (#1739) * Compile Winutil * Change ipv6 disable method * Compile Winutil * IPv6 + Teredo * Compile Winutil * IPv6 registry * Compile Winutil * Update Winutil * Compile Winutil * Fix to original command * Compile Winutil --------- Co-authored-by: Joanty24 Co-authored-by: Chris Titus * Compile Winutil * Implement New Winget Install Method (#1738) - Removed Get-LatestHash from Install-WinUtilWinget.ps1, replaced by Get-WinUtilWingetLatest.ps1. - Added new Winget Install method in case of choco failing to install. Environment refresh line included. - Get-WinUtilWingetPrerequisites added: Downloads the prerequisites required for the latest version of Winget. - Get-WinUtilWingetLatest added: Uses the GitHub API to find the latest version of Winget and download it along with the accompanied License1.xml file. Fixes: - Removed --scope=machine from winget install command in Install-WinUtilProgramWinget. Non-UWP Apps fail to install if scope is set to machine. Error code: 0x80070005. More information commented in file. * Compile Winutil * Change order for easier launch in README and fix outdated info (#1732) * Update README.md * Update README.md --------- Co-authored-by: NewCodingAI <165050080+NewCodingAI@users.noreply.github.com> * Upgrade Fix in #1181 (#1730) * Compile Winutil * Fixed Ventoy drive copy typo and began conversion of DISM commands into DISM cmdlets (#1727) * Fixed Ventoy drive copy typo * DISM cmdlet Update (Part 1) Began replacing basic DISM commands with cmdlets from the DISM module. This change only affects the mount, unmount, and export operations. All other operations still use DISM --------- Co-authored-by: Chris Titus * Compile Winutil --------- Co-authored-by: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Co-authored-by: ChrisTitusTech Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com> Co-authored-by: LoopTJ <34551682+LoopTJ@users.noreply.github.com> Co-authored-by: Roc Wang Co-authored-by: Jes Herring <123990927+jesjess243@users.noreply.github.com> Co-authored-by: ogfrm <96927197+ogfrm@users.noreply.github.com> Co-authored-by: LeeDowA <157072913+LeeDowA@users.noreply.github.com> Co-authored-by: Peter Gallwas Co-authored-by: Mr.k Co-authored-by: Joan Solana Raduà Co-authored-by: Joanty24 Co-authored-by: Rux Co-authored-by: ModernTTY <165050080+ModernTTY@users.noreply.github.com> Co-authored-by: NewCodingAI <165050080+NewCodingAI@users.noreply.github.com> Co-authored-by: Justawildwolf <62820836+blusewill@users.noreply.github.com> * Update .gitignore * Test 2024 03 21 (#1755) * Fix unattended answer file woes for MicroWin (#1724) * Update applications.json Fake app add made by linux fanboy * Compile Winutil * Update files - Add detections for whether the image to be processed by MicroWin is Windows 10 or later - Add procedure to clear the indexes ComboBox (WinForms term) every time an ISO is specified * Update screen-install.png (#1464) * Compile Winutil * applications.jsonAdded Foxit Reader app and updated Foxit Editor to show the difference. * applications.json Added Foxit Reader app and updated Foxit Editor to show the difference. * Compile Winutil * Fix Broken Link and add syncthingtray (#1508) * Compile Winutil * Remove Nano-Removed bugged Nano package for now * Remove Nano -Removed bugged Nano package for now * Compile Winutil * tweaks and fetures tabs clean up automation from inputXML.xaml * tweaks and fetures tabs clean up automation from inputXML.xaml * fixed some commas in tweaks.json file * recompile * Update tweaks.json * Compile Winutil * Choosing Alternate Scartch Path and Busy Messages * Choosing Alternate Scartch Path and Busy Messages * Change Selected index to be pro * Compile Winutil * Improve detection for Professional editions * Update files Updated the Test-CompatibleImage function to compare against a desired version, which is useful for determining if the Specialize pass needs to be added to the unattended answer file * Automatic conversion of ESD files Automatically convert the install.esd file from installation media into a WIM file that can be mounted, then delete the ESD file * pull workflow github actions (#1716) * Update close-old-issues.yaml * Compile Winutil * Update close-old-issues.yaml * Update close-old-issues.yaml * Update close-old-issues.yaml * Compile Winutil --------- Co-authored-by: ChrisTitusTech * Update files Force unattended answer file to use UTF-8 encoding --------- Co-authored-by: Chris Titus Co-authored-by: ChrisTitusTech Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com> Co-authored-by: Chris Titus Co-authored-by: LoopTJ <34551682+LoopTJ@users.noreply.github.com> Co-authored-by: Roc Wang Co-authored-by: Jes Herring <123990927+jesjess243@users.noreply.github.com> Co-authored-by: ogfrm <96927197+ogfrm@users.noreply.github.com> Co-authored-by: LeeDowA <157072913+LeeDowA@users.noreply.github.com> * add tightvnc to address issue #1718 (#1721) * Compile Winutil * Add 'FireFox ESR' and 'lightshot' Apps to 'application.json' File (#1720) * Add 'FireFox ESR' and 'lightshot' Apps to 'application.json' File * Update 'FireFox ESR' description * Compile Winutil * Fix typo in the Description of 'Get-Oscdimg.ps1' private function (#1743) * Compile Winutil * IPv6 update (#1739) * Compile Winutil * Change ipv6 disable method * Compile Winutil * IPv6 + Teredo * Compile Winutil * IPv6 registry * Compile Winutil * Update Winutil * Compile Winutil * Fix to original command * Compile Winutil --------- Co-authored-by: Joanty24 Co-authored-by: Chris Titus * Compile Winutil * Implement New Winget Install Method (#1738) - Removed Get-LatestHash from Install-WinUtilWinget.ps1, replaced by Get-WinUtilWingetLatest.ps1. - Added new Winget Install method in case of choco failing to install. Environment refresh line included. - Get-WinUtilWingetPrerequisites added: Downloads the prerequisites required for the latest version of Winget. - Get-WinUtilWingetLatest added: Uses the GitHub API to find the latest version of Winget and download it along with the accompanied License1.xml file. Fixes: - Removed --scope=machine from winget install command in Install-WinUtilProgramWinget. Non-UWP Apps fail to install if scope is set to machine. Error code: 0x80070005. More information commented in file. * Compile Winutil * Change order for easier launch in README and fix outdated info (#1732) * Update README.md * Update README.md --------- Co-authored-by: NewCodingAI <165050080+NewCodingAI@users.noreply.github.com> * Upgrade Fix in #1181 (#1730) * Compile Winutil * Fixed Ventoy drive copy typo and began conversion of DISM commands into DISM cmdlets (#1727) * Fixed Ventoy drive copy typo * DISM cmdlet Update (Part 1) Began replacing basic DISM commands with cmdlets from the DISM module. This change only affects the mount, unmount, and export operations. All other operations still use DISM --------- Co-authored-by: Chris Titus * Compile Winutil * Fixed issue #1736 and #1749 (#1750) * Compile Winutil * Update Invoke-WinUtilGPU.ps1 (#1753) - This should be a proper fix to Invoke-WinUtilGPU.ps1. Tested in Win10 and Win11. * Compile Winutil * Update .gitignore --------- Co-authored-by: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Co-authored-by: ChrisTitusTech Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com> Co-authored-by: LoopTJ <34551682+LoopTJ@users.noreply.github.com> Co-authored-by: Roc Wang Co-authored-by: Jes Herring <123990927+jesjess243@users.noreply.github.com> Co-authored-by: ogfrm <96927197+ogfrm@users.noreply.github.com> Co-authored-by: LeeDowA <157072913+LeeDowA@users.noreply.github.com> Co-authored-by: Peter Gallwas Co-authored-by: Mr.k Co-authored-by: Joan Solana Raduà Co-authored-by: Joanty24 Co-authored-by: Rux Co-authored-by: ModernTTY <165050080+ModernTTY@users.noreply.github.com> Co-authored-by: NewCodingAI <165050080+NewCodingAI@users.noreply.github.com> Co-authored-by: Justawildwolf <62820836+blusewill@users.noreply.github.com> Co-authored-by: YusufKhalifadev <154465051+YusufKhalifadev@users.noreply.github.com> Co-authored-by: Rux * Sacrifice to the AV Gods test 24-03-28 branch (#1766) * Remove the Non-existing 'WPFMiscTweaksPower' found in the 'preset.json' File (#1763) * Compile Winutil * Update of Test-WinUtilPackageManager and Install-WinUtilWinget (#1757) * Updated Install-WinUtilWinget and Test-WinUtilPackageManager - Updated Test-WinUtilPackageManager to better handle the -Winget param and return a more verbose status. - Moved many of the "is installed"/"is not installed" outputs to the Test-WinUtilPackageManager function. - Changed Install-WinUtilWinget to use the GitHub install method as the primary method, and on error use the Chocolatey install method. - Updated various functions to use the Test-WinUtilPackageManager function. * Update Install-WinUtilWinget.ps1 - Changed handling of Test-WinUtilPackageManager in Install-WinUtilWinget, to prevent Test-WinUtilPackageManager from printing out to terminal twice. * Compile Winutil * Update Paint.NET Winget name. (#1758) Paint.NET's winget package name changed. * Compile Winutil * Fixed Programms names and urls and github actions (#1759) * Compile Winutil * trying to fix github actions * Update applications.json * Compile Winutil * updated winget package PaintDotNet * Compile Winutil * Update functions.Tests.ps1 * fixing typos in unittesting * fixed the issue that made pester not to work * Compile Winutil * found a bug and fixed it * Compile Winutil --------- Co-authored-by: YusufKhalifadev * Detect free space of installation drive and compare it with the ISO size and delete temporary MicroWin files from previous runs (#1761) * Detect free space of installation drive Compare the size of the ISO file with the free space of the installation drive (or the drive containing the User files) and, if the free size is below a certain threshold, the script will throw either a warning or an error * Delete temporary files from previous runs * Add Simple Feature to keep the Service Startup upon Applying Service Tweaks, but not when Undoing it (#1760) Added a new parameter that gives freedom of control on whether to disable this feature or not, and of course the simple feature in question. The way it works is by Getting the service using its name, and see if the Startup Value of this service is equal to the default type that Windows comes with it, if not (The User has changed it in the past), then WinUtil won't change it by default (The KeepServiceStartup is true by default), this is a more desirable behaviour when compared to how it previously worked. These changes were tested by the Author of this commit, Please read the commit patches for exact details on the changes. * Compile Winutil * Sacrifice to the AV Gods Remove Self Elevation and Disable UAC --------- Co-authored-by: Mr.k Co-authored-by: ChrisTitusTech Co-authored-by: Rux Co-authored-by: YusufKhalifadev Co-authored-by: YusufKhalifadev Co-authored-by: CodingWonders <101426328+CodingWonders@users.noreply.github.com> * Test 2024 03 30 (#1852) * Winget Sources fix (#1773) - Sometimes, if Winget is installed under user-scope, the source isn't properly installed so that the Admin user can properly use Winget. - This change installs the sources directly from the Winget CDN. - Fixes #1771 https://github.com/microsoft/winget-cli/discussions/3258#discussioncomment-5951658 * Compile Winutil * Finished conversion of DISM commands into DISM cmdlets (#1776) * Continue conversion Began 2nd stage of DISM command conversion. Almost all commands have been replaced by cmdlets * Continue conversion (part 2) Finished part 2 of DISM command to cmdlet conversion * Add New Toggle to Disable/Enable Widgets found in Taskbar (#1768) * Compile Winutil * Fix Search Box Not Showing Apps/Tweaks Checkboxes When typing out Capital-Letters (#1770) * Compile Winutil * Add Microsoft Power Automate and Swift toolchain (#1774) * Add power automate * Add swift toolchain * Compile Winutil * Restart Explorer after Applying/Undoing Classic Right-Click Advance Tweak (#1778) In general, I've added two lines of code to get the explorer process using 'Get-Process', then passed the process object into 'Stop-Process', Windows will automatically restart explorer, so there's no need to run a new process for explorer. Note: restarting explorer in the UndoScript might not be necessary, as it works just fine without it, that's according to the tests done by the author of this commit. * Compile Winutil * editing edgeremoval.ps1 (#1834) * editing edgeremoval.ps1 * Compile Winutil --------- Co-authored-by: DaEpicR * Compile Winutil * Update Github Actions Auto Close Issues (#1801) * Update Github Actions Auto Close Issues * Add try-catch & Error Logging in Github Actions Auto Close Issues * Add a Break Statement To Skip Checking The Remaining Labels of an Issue in Github Actions Auto Close Issues * Add tweak (#1837) * Compile Winutil * Disable SCOOBE in WPFTweaksTele (#1832) * Compile Winutil * Fix 'Disable Storage Sense' Tweak in 'tweaks.json' File (#1843) This was pointed out in GitHub issue https://github.com/ChrisTitusTech/winutil/issues/1838 * Compile Winutil * Add 'UndoScript' to 'Enable End Task With Right Click' Tweak in 'tweaks.json' File (#1842) * Compile Winutil * - Changed version check for Winget to keep Winget updated to latest version and a couple formatting fixes. (#1829) * Compile Winutil * Add 'UndoScript' to 'Disable Hibernation' Tweak in 'teaks.json' File (#1799) * Compile Winutil * Added Requested Apps and Update Command Example in 'README.md' File (#1795) * Add 'UltraVNC' App to 'application.json' File * Update Command Example under sub-section 'Automation' This Commit and its changes are related to issue #1767 , url for issue: https://github.com/ChrisTitusTech/winutil/issues/1767 * Add 'OrcaSlicer' App to 'application.json' File * Add 'Tixati' App to 'application.json' File * Add 'Unigram' App to 'application.json' File * Add 'PDFgear' App to 'application.json' File * Add 'Windows Firewall Control' App to 'application.json' File * Add 'VistaSwitcher' App to 'application.json' File * Add 'Windows Auto Dark Mode' App to 'application.json' File * Add 'CapFrameX' App to 'application.json' File * Update The Link for 'Unigram' App in 'application.json' File * Add 'Magic Wormhole' App to 'application.json' File * Compile Winutil * Add apps from #250 (#1787) * Add SQL management * Add java runtimes * Add azure data studio * Compile Winutil * Update inputXML.xaml (#1845) - Added UseLayoutRounding="True" - This may help fix some cases where text may look blurry on screen for some people. * Compile Winutil * A Temporary Fix to Compilation Program in 'Compile.ps1' Script (#1844) For whatever reason, Compiling using the 'Compile.ps1' Script when there's a Single Quote, in the description of an App for example, it'll try "escaping" it by adding another Single Quote, which's kind of weird. Before there was an Apostrophe, and it'll Compile into Question Marks, probably because the Compile Script doesn't know what an Apostrophe is, or it can't escape it (or for another reason, didn't dig deeper into it), in the end I've made it neither an Apostrophe nor a Single Quote, just the sentence without contractions (Without shortening by combining words). * Compile Winutil * Update Winget Install and Uninstall / Add NuGet and Microsoft.Winget.Client Modules (#1830) * - Changed how WinGet installs and uninstalls are handled, by utilizing and . * Update Winget Install and Uninstall / Add NuGet and Microsoft.Winget.Client Modules - Fixed commands for installing and uninstalling programs through WinGet. - Added NuGet Package Providers (thanks @Marterich) - Added Microsoft.WinGet.Client Module (thanks @Marterich) * Compile Winutil * Reopen #1747 PR (#1818) * Add fxsound * Add simplenote * Add flow launcher * Add CMake * Add musescore * Add jpegview * Add explorer patcher * Add lockhunter * Add BRU * Add spacesniffer * Add Quick Look * Add harmonoid * Add revolt * Add link shell extensions * Add WizFile * Add HWMonitor * Add XnView * Add tabby.sh * Add signalRGB * Add autoruns * Fix typo for 'Autoruns' App in 'applications.json' File * Remove 'Explorer Patcher' App in 'applications.json' File as mentioned by Chris's Feedback on https://github.com/ChrisTitusTech/winutil/pull/1818 PR, Explorer Patcher is known to cause Stability Related Issues to Users who use it, removing it from the Applications List would be a better/wiser decision. * Re-Add 'fxsound' App after Resolving Merge Conflict * Re-Add 'tabby.sh' App after Resolving Merge Conflict --------- Co-authored-by: ModernTTY <165050080+ModernTTY@users.noreply.github.com> * Compile Winutil * Fix Github Actions Auto Close Issues not leaving Issues Open (#1847) * Compile Winutil * Fix Robocopy Not Copying for Users who have a Space in their name (#1851) This was pointed out in https://github.com/ChrisTitusTech/winutil/issues/1848 issue * Compile Winutil * bug fixes from bad pr * Compile Winutil * Better JSON Parsing for Compile Script!! (#1850) * Better JSON Parsing for Compile Script!! Rendering Special XML Character should be possible when parsing json files that have some of these special characters, and without the need to worry about them. Try these changes to see what will be affected, and what won't be. * Undo #1844 PR Changes The problem that #1844 PR Tried to resolve temporarly, should now be fixed permanently with the previous changes to 'Compile.ps1' Script. * Compile Winutil * OO Shutup 10 Tweaks revamped (#1828) * Add new OOSU10 configs * Removed old OOSU config, added install and uninstall calls for the new conrfigs * change filenames, centralize logic in Invoke-WPFOOSU * Change Config Paths to the CTT main repo * removed whitespace * Add -Wait to avoid race condition when OOSU is run together with temp file cleanup --------- Co-authored-by: Chris Titus * Compile Winutil * Add catch for restore point errors * Compile Winutil --------- Co-authored-by: Rux Co-authored-by: ChrisTitusTech Co-authored-by: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Co-authored-by: Mr.k Co-authored-by: ModernTTY <165050080+ModernTTY@users.noreply.github.com> Co-authored-by: Straight <107145976+DaEpicR@users.noreply.github.com> Co-authored-by: DaEpicR Co-authored-by: Consejos Tecnológicos de Edu <139326298+lCTdE@users.noreply.github.com> Co-authored-by: Martin Wiethan <47688561+Marterich@users.noreply.github.com> * Fix Unit Tests and Official Releases (#1854) * Update Unit Tests * Update pester from 4 to 5 * Update compile and releases * Working on making release tags * Update release.yaml * Compile Winutil --------- Co-authored-by: ChrisTitusTech * Fix auto releases * Update release.yaml * remove auto releases * Update Invoke-WPFOOSU * Compile Winutil * Fix ALL Program Installs (#1856) * Compile Winutil * Update Invoke-WPFOOSU * Compile Winutil * Modify Winget program installs did a waterfall type installer. First trys systemwide at admin prompt, then user scope, then unelevated with no scope. This should fix ALL program installs. * Compile Winutil --------- Co-authored-by: ChrisTitusTech --------- Co-authored-by: Chris Titus Co-authored-by: ChrisTitusTech Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com> Co-authored-by: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Co-authored-by: Carter <60557606+Carterpersall@users.noreply.github.com> Co-authored-by: Justawildwolf <62820836+blusewill@users.noreply.github.com> Co-authored-by: Tim Stone Co-authored-by: Will Barnard <5012445+mrwillbarnz@users.noreply.github.com> Co-authored-by: Ian Bassi Co-authored-by: ogfrm <96927197+ogfrm@users.noreply.github.com> Co-authored-by: v-Kaefer <128633407+v-Kaefer@users.noreply.github.com> Co-authored-by: Shashank B N <117376750+Athena-2003@users.noreply.github.com> Co-authored-by: Alex Schwartz Co-authored-by: André Gonzalez Co-authored-by: David Hardt Co-authored-by: Choccy Milk <152878702+choccyy-milk@users.noreply.github.com> Co-authored-by: OmriOn Co-authored-by: Breno Fernandes Co-authored-by: Yuri Gabriel <97139700+Yuuh15@users.noreply.github.com> Co-authored-by: Filip Zurek Co-authored-by: H4D3S <32039975+REVENGE977@users.noreply.github.com> Co-authored-by: REVENGE977 Co-authored-by: KristjanOmar <117899282+KristjanOmar@users.noreply.github.com> Co-authored-by: Kristjan Co-authored-by: MyDrift Co-authored-by: Akash Singh <52990376+Akash-S1999@users.noreply.github.com> Co-authored-by: Roc Wang Co-authored-by: José Roberto Sánchez Co-authored-by: LoopTJ <34551682+LoopTJ@users.noreply.github.com> Co-authored-by: Jes Herring <123990927+jesjess243@users.noreply.github.com> Co-authored-by: LeeDowA <157072913+LeeDowA@users.noreply.github.com> Co-authored-by: Ken Hoo <158048821+mrkenhoo@users.noreply.github.com> Co-authored-by: Jakub Krojec Co-authored-by: Chris Titus Co-authored-by: Saikrishnan K <53394202+K-Saikrishnan@users.noreply.github.com> Co-authored-by: Harry Perkin <68484588+HarryPerkin@users.noreply.github.com> Co-authored-by: Alex Tu <6798052+AlexTu2@users.noreply.github.com> Co-authored-by: Mr.k Co-authored-by: Luke <101687942+shrimp332@users.noreply.github.com> Co-authored-by: Martin Wiethan <47688561+Marterich@users.noreply.github.com> Co-authored-by: K-Saikrishnan Co-authored-by: Tyler Robb <6801620+tylerrobb@users.noreply.github.com> Co-authored-by: Tyler Robb Co-authored-by: Peter Gallwas Co-authored-by: Joan Solana Raduà Co-authored-by: Joanty24 Co-authored-by: Rux Co-authored-by: ModernTTY <165050080+ModernTTY@users.noreply.github.com> Co-authored-by: NewCodingAI <165050080+NewCodingAI@users.noreply.github.com> Co-authored-by: YusufKhalifadev <154465051+YusufKhalifadev@users.noreply.github.com> Co-authored-by: Rux Co-authored-by: YusufKhalifadev Co-authored-by: YusufKhalifadev Co-authored-by: Straight <107145976+DaEpicR@users.noreply.github.com> Co-authored-by: DaEpicR Co-authored-by: Consejos Tecnológicos de Edu <139326298+lCTdE@users.noreply.github.com> --- .github/workflows/close-old-issues.yaml | 94 +++ .github/workflows/release.yaml | 11 +- .github/workflows/unittests.yaml | 4 +- config/applications.json | 0 screen-install.png | Bin xaml/inputApp.xaml | 1014 +++++++++++++++++++++++ xaml/inputFeatures.xaml | 43 + xaml/inputTweaks.xaml | 99 +++ 8 files changed, 1259 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/close-old-issues.yaml mode change 100755 => 100644 config/applications.json mode change 100755 => 100644 screen-install.png create mode 100644 xaml/inputApp.xaml create mode 100644 xaml/inputFeatures.xaml create mode 100644 xaml/inputTweaks.xaml diff --git a/.github/workflows/close-old-issues.yaml b/.github/workflows/close-old-issues.yaml new file mode 100644 index 000000000..a37180c57 --- /dev/null +++ b/.github/workflows/close-old-issues.yaml @@ -0,0 +1,94 @@ +name: Close Inactive Issues + +on: + schedule: + - cron: '0 0 * * *' # Run daily + workflow_dispatch: # This line enables manual triggering +jobs: + close-issues: + runs-on: ubuntu-latest + permissions: + issues: write # Ensure necessary permissions for issues + + steps: + - name: Close inactive issues + uses: actions/github-script@v7 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + const octokit = github; + + // Get the repository owner and name + const { owner, repo } = context.repo; + + // Define the inactivity period (14 days) + const inactivityPeriod = new Date(); + inactivityPeriod.setDate(inactivityPeriod.getDate() - 14); + + const labelKeepIssue = 'Keep Issue Open'; + + try { + // Get all open issues with pagination + for await (const response of octokit.paginate.iterator(octokit.rest.issues.listForRepo, { + owner, + repo, + state: 'open', + })) { + const issues = response.data; + + // Close issues inactive for more than the inactivity period + for (const issue of issues) { + let closeIssue = true; + + // Get all Labels of issue, and compared each label with the labelKeepIssue const variable + try { + const respondIssueLabels = await octokit.request("GET /repos/{owner}/{repo}/issues/{issue_number}/labels", { + owner: owner, + repo: repo, + issue_number: issue.number + }); + const labels = respondIssueLabels.data; + + for (let i = 0; i < labels.length; i++) { + const label = labels[i] + if (label.name === labelKeepIssue) { + console.log(`Issue #${issue.number} will not be closed`); + closeIssue = false; + break; // Break from the loop, no need to check the remaining Labels. + } + } + } catch (error) { + console.error(`Error while Fetching Labels for Issue #${issue.number}, Error: ${error}`); + } + + if (!closeIssue) { + continue; // Skip the next bit of code + } + + const lastCommentDate = issue.updated_at; + if (new Date(lastCommentDate) < inactivityPeriod) { + try { + // Close the issue + await octokit.rest.issues.update({ + owner, + repo, + issue_number: issue.number, + state: 'closed', + }); + + // Add a comment + await octokit.rest.issues.createComment({ + owner, + repo, + issue_number: issue.number, + body: 'Closed due to inactivity', + }); + } catch (error) { + console.error(`Error updating or commenting on issue #${issue.number}: ${error}`); + } + } + } + } + } catch (error) { + console.error(`Error fetching issues: ${error}`); + } diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cb1845729..7ee8ff8df 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,12 +10,15 @@ jobs: build-runspace: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - - name: Create local changes + - name: Compile project + shell: pwsh run: | - powershell.exe -f Compile.ps1 - - uses: stefanzweifel/git-auto-commit-action@v4.16.0 + Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1 + continue-on-error: false # Directly fail the job on error, removing the need for a separate check + - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Compile Winutil + if: success() \ No newline at end of file diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 6e64cdf2c..a83604d44 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -27,13 +27,13 @@ jobs: - name: Install Pester run: | Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process - Install-Module -Name Pester -Force -AllowClobber + Install-Module -Name Pester -Force -SkipPublisherCheck -AllowClobber shell: pwsh - name: Run Pester tests run: | Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process - Invoke-Pester -Path 'pester/*.Tests.ps1' -EnableExit + Invoke-Pester -Path 'pester/*.Tests.ps1' -Output Detailed shell: pwsh env: diff --git a/config/applications.json b/config/applications.json old mode 100755 new mode 100644 diff --git a/screen-install.png b/screen-install.png old mode 100755 new mode 100644 diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml new file mode 100644 index 000000000..69a1dbe76 --- /dev/null +++ b/xaml/inputApp.xaml @@ -0,0 +1,1014 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xaml/inputFeatures.xaml b/xaml/inputFeatures.xaml new file mode 100644 index 000000000..c57704c69 --- /dev/null +++ b/xaml/inputFeatures.xaml @@ -0,0 +1,43 @@ + + + + + + +