Commit Graph

723 Commits

Author SHA1 Message Date
Cryostrixx
e29ce43147
Add message letting the user known WinUtil is not found to Get-LatestWinUtil 2024-09-23 14:10:22 -07:00
Cryostrixx
73aa021957
Remove repeated $WinUtilLaunchArguments re-assignment in Start-LatestWinUtil 2024-09-23 11:15:37 -07:00
Cryostrixx
af2fd17afb
Remove redundant update checking code in Get-WinUtilUpdates 2024-09-23 11:01:02 -07:00
Cryostrixx
20d64fdbcd
Remove redundant $ReleasesList validation in Get-WinUtilReleaseTag 2024-09-23 10:52:01 -07:00
Cryostrixx
602a15cad8
Simplify update logic in Get-WinUtilUpdates function 2024-09-23 02:22:31 -07:00
Cryostrixx
683e681a9a
Fix windev.ps1 self-elevation logic and refactor code 2024-09-22 08:57:20 -07:00
Martin Wiethan
662139ca5f
Fix prefer choco visibility (#2782) 2024-09-21 10:03:56 -05:00
Martin Wiethan
42febae25e
Actively follow windows theme (#2781) 2024-09-21 10:01:02 -05:00
Martin Wiethan
395ac9495d
Fix Variable Typo (#2780) 2024-09-21 10:00:32 -05:00
श्रीषक
6cc7d314fe
nav bar fixes (#2779) 2024-09-21 10:00:07 -05:00
MyDrift
ba45c3303e
Microwin ISO downloader (#2581)
* try1

* little fix

* change back to using Fido

* little update

* fix some stuff

* fix (maybe?)

* remove architecture selection

* add somewhat of a lang support (needs improvement)

* WIP: refractor of existing logic & addition of language selection

* WIP: correct lang display (not working rn)

* improve, fix and more

- call ed with default windows edition (Home/Pro/Edu)
- fix language combobox logic
- add @CodingWonders 's "Get-FidoLangFromCulture"
- hide comboboxes if manual ISO selection is toggled

* little output fix

- added | Out-Null to combobox item additions to prevent unneeded console output

* improve coloring

- using ToggleButtonOnColor for Radiobuttons
- add theme color ToggleButtonOffColor and use where needed

* fix lang

* fix "en-" lang

remove (United States) bc it is wrong and not accepted by fido/ms

* always add "English"

* fix theming

- add ToggleButtonOffColor to all themes

* fix merge issue

* update instructions

* update ui

- manual download is primary option
- radiobuttons renamed to refrect what they are
- fix styling of instruction
- add margin to radiobuttons

* fix  by adding line break to instructions

* fix merge issues
2024-09-21 09:30:10 -05:00
MyDrift
1f683d3f78
UI fixes (#2727)
* ui fixes

- better coloring for scrollbar
- better styling for tooltip
- better styling for menuitem
- change max window size on startup to correctly display install tab

* Fix Borders of Right Click menu for Textbox (eg. Searchbar) (#9)

* sync fork & remove merge issues

* Revert "sync fork & remove merge issues"

This reverts commit dd64f06b89.

* remove unneeded code

---------

Co-authored-by: Martin Wiethan <47688561+Marterich@users.noreply.github.com>
2024-09-21 09:29:02 -05:00
Real-MullaC
18dff2af5e
Update close-issue-command.yaml (#2785)
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
2024-09-21 09:24:34 -05:00
Atis
377758758e
Disable powercfg fix (#2728) 2024-09-20 09:04:26 -05:00
Chris Titus
3f2759f967 format changes 2024-09-20 09:03:18 -05:00
MyDrift
1ee7274bdb
add ep refresh for dark mode toggle (#2732) 2024-09-20 09:01:39 -05:00
Saksham Singh
06baebc60b
Add the option to Block Razer automatic installs (#2715)
* Squashed commit of the following:

commit c674d5eb605b549d8d8b247749954a98197277b4
Author: Saksham Singh <sakshamsingh.93502@gmail.com>
Date:   Wed Sep 11 19:34:44 2024 +0530

    desc update

commit 3d8bf2bdc9c382a9f087b9ac6e63cb8604c99698
Author: Saksham Singh <sakshamsingh.93502@gmail.com>
Date:   Wed Sep 11 19:30:23 2024 +0530

    Added Razer Block

    Added the razer block by chris titus under the Fixes Section

* Moved razer-block from features to tweaks

* Updated tweaks.json

* Added option to enable ssh server under config tab

* Undoing a accidental pushed commit

* minor change
2024-09-20 08:55:17 -05:00
Luka Momčilović
10917c159c
refac(toggle status): simplify return statements (#2713) 2024-09-20 08:35:49 -05:00
Martin Wiethan
0251757fc0
Add the option to change the UI Theme at runtime (#2693)
* Setup for testing

* Working Example for Background

* Almost all MainBackgrounColor working

* Random Color PoC

* Fix DBorderColor

* prevent old logic from replacing colors in memory at startup

* Comment out resources in xaml

* Finish new Button

* Remove Pulse, Load Windows default Theme

* Fix Colors

* Fix Toggle Colors

* working version, with shared still being mostly applied be replace instead of resouces

* Load all entries in themes.json as Resource and reference them in inputXML.xaml

* Rename File to match Function Name

* Hotfix for Sync with main

* Remove Static Set-WinUtilUITheme function/file

* Rename File and Function

* Cleanup and Stuff

* Unify Button Theme with rest of UI

* Refactor/Optimazation

* Performance optimization

* Add Comments

* Rename Functions and Variables to be more concise and descriptive

* Add persistence to the user Theme Preference across winutil restarts

* Reimplement Theme Chagnes from #2722

* Add AUTO option to follow window theme and add dropdown instead toggle

* Formatting and deleting temp file

* Fix small display bug where Dropdown would remain open for settings and themes

* Remove terniary operators because only PS7+ is supported
2024-09-20 08:34:10 -05:00
Martin Wiethan
9136ed9802
Fix: Window Statechange on doubleclick works everywhere (#2768)
* Run the Doubleclick action only on Grid and Stackpanel and cleanup the logic

* Remove ternary operator because it is only supported for powershell 7+
2024-09-20 08:32:41 -05:00
CodingWonders
b3bbe0dbe5
[MicroWin] Exclude Search Engine Package (#2761) 2024-09-20 08:31:36 -05:00
ChrisTitusTech
16b11e994b Deploying to main from @ ChrisTitusTech/winutil@a5a06c2a9b 🚀 2024-09-18 15:32:38 +00:00
CodingWonders
a5a06c2a9b
[MicroWin] Exclude Snip & Sketch from AppX removal (#2737) 2024-09-15 14:22:32 -05:00
Chris Titus
81aead7a68 Update release-drafter.yml 2024-09-12 11:16:01 -05:00
श्रीषक
a55a44a54c
Color the Description in the Update tab where the text was talking the blue and didn't had it own color. Fixed some color contrast issue (#2722) 2024-09-12 09:53:43 -05:00
Chris Titus
9c0b0b8913 format update 2024-09-12 09:49:06 -05:00
Martin Wiethan
7fe0f9a163
Fix the way arguments are passed to the runspace (#2720)
* Fix the way arguments are passed to the runspace

* Add $handle return

* Fix Choco Install logic
2024-09-12 09:45:54 -05:00
Massimiliano Sartore
8e5fcceddb
fix "ToLower" method invocation failure (#2714) 2024-09-11 09:20:25 -05:00
Chris Titus
19a3c7070a Update release-drafter.yml 2024-09-10 18:12:21 -05:00
Chris Titus
343a72f528 Update pre-release.yaml 2024-09-10 18:02:42 -05:00
Chris Titus
0b13ca4b11 update release 2024-09-10 18:01:18 -05:00
Chris Titus
215de06a58 Update release-drafter.yml 2024-09-10 17:11:38 -05:00
Chris Titus
80555d945e Update release-drafter.yml 2024-09-10 17:05:13 -05:00
Rux
314588283a
Add -Force flag for proper Hidden File detection in Invoke-Preprocessing.ps1 (#2700)
* Update Invoke-Preprocessing.ps1

- Added `-Force` argument to Get-ChildItem functions at lines 80 and 90.

* Update Invoke-Preprocessing.ps1

- Make changes to new Compile.ps1 file.
2024-09-10 14:28:59 -05:00
Rux
00668755c9
Modify Compile.ps1 Handling of Xaml to Improve Maintainability (#2701) 2024-09-10 14:24:53 -05:00
Chris Titus Tech
d3ef94f175 Update windev.ps1 2024-09-10 14:18:51 -05:00
MyDrift
1ac24c236e
CTT Powershell Profile (#2707)
* add main logic

* finish logic
2024-09-10 14:05:55 -05:00
Martin Wiethan
ff363d686f
Fix/Refactor windev Admin Elevation (#2683)
* Revert Admin Elevation

* Unify logic to reuse the same urls whether the script is started as admin or not
2024-09-10 14:03:49 -05:00
Chris Titus Tech
9abe11c975 Fix Theming 2024-09-10 14:01:07 -05:00
Martin Wiethan
14d20cd161
Choco Logic Refactor and Add Checkbox to prefer Chocolatey over Winget (#2596)
* First Selector and Logic

* Extend Functionality

* Switch to PreferChocolatey Checkbox

* Persist Choco Preference across program restarts

* Change Logging, Fix interactivity and optimize uninstall

* Implement "Get-Installed" (quick-and-dirty)

* Code Formatting

* Rename File/Function, Refactor Choco Install, Add Status Indicator

* Add documentation

---------

Co-authored-by: Chris Titus <contact@christitus.com>
2024-09-10 13:02:22 -05:00
ChrisTitusTech
2b9b1b026c Deploying to main from @ ChrisTitusTech/winutil@e9a45a002f 🚀 2024-09-10 15:31:59 +00:00
Mike Chambers
e9a45a002f
Update applications.json (#2703)
Correct for winget Google.GoogleDrive
2024-09-09 20:27:57 -05:00
Nyx
6d996495a3
Reduce redundancy (#2686) 2024-09-09 20:25:19 -05:00
MyDrift
473f04ddc5
[fix compile] winutil used by another process (#2680)
* fix winutil used by another process

- remove winutil.ps1 if it is readonly (also works if another process is using it) to minimize failed compiles.

* fix action error

* Oops, typo

* make it more compact
2024-09-09 20:21:50 -05:00
CodingWonders
95db85f791
[MicroWin] Don't disable already disabled features (#2675) 2024-09-09 20:20:55 -05:00
MyDrift
5059b93cd7
Better Image handling (#2665)
* enhance asset mgmt

- invoke ico directly
- invoke ico only at shortcut creation
- remove "ConvertTo-Icon" Function file

- removed image from xaml
- added stackpanel to xaml
- added functions to create viewbox with image
- added logic to add image via code to xaml & customdialog
- changed title color for customdialog

- remove webinvokes for assets from main.ps1

TODO: convert images into bitmap base64 string & add them directly into invoke-WinUtiltaskbaritem.ps1

* improve viewboxfunction

- add logo + checkmark + warning
- add params
- render on param "render"
- custom dialog logo function call fix
- main logo function call fix
- update winutiltaskbaritem to use new images

* fix sizing

- warning & checkmark sizing fix
- remove unneded comments

* fixes

- remove unneeded redundancy of "$canvas = New-Object Windows.Controls.Canvas"
- adjust empty lines
- use LimeGreen instead of Green

* fix layouting

* fixes

- use correct ctt blue color #0567ff
- remove unneeded comments
- rename Logoview to assets

* performance improvement

instead of rendering the image another time on each item switch, it caches it at the start and uses the render afterwards

* redo gray part of winutil logo

* correct gray shade

* fix coloring

* ise ico if available

---------

Co-authored-by: Chris Titus <contact@christitus.com>
2024-09-09 20:19:34 -05:00
barontek
380e1e73a6
Fix (?) button opening the link twice (#2664) 2024-09-09 20:15:13 -05:00
MyDrift
ad37371492
Add Legacy Print Panel (#2659)
* add legacy print panel

* fix documentation

- run generator
- add link to button
- add documentation for printer
- update table of contents

* fix spelling
2024-09-09 20:14:22 -05:00
Mr.k
1bfd8bddcc
Simplify WinUtil Directory Creation in 'main.ps1' script by using C# 'CreateDirectory' Method which checks and creates the provided Directory Path (#2654) 2024-09-09 20:13:32 -05:00
Chris Titus
6ad31edef1 Fix syntax error 2024-09-09 20:10:41 -05:00