mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-08-10 01:51:18 +10:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a280ddb1fa | ||
|
|
01c0e999c1 | ||
|
|
5efef2c0f3 |
@@ -2,7 +2,7 @@
|
||||
|
||||
## Our Pledge
|
||||
|
||||
We as members, contributors, and leaders pledge to make participation in our
|
||||
We, as members, contributors, and leaders, pledge to make participation in our
|
||||
community a harassment-free experience for everyone, regardless of age, body
|
||||
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||
identity and expression, level of experience, education, socio-economic status,
|
||||
@@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
|
||||
### 4. Permanent Ban
|
||||
|
||||
**Community Impact**: Demonstrating a pattern of violation of community
|
||||
standards, including sustained inappropriate behavior, harassment of an
|
||||
standards, including sustained inappropriate behavior, harassment of an
|
||||
individual, or aggression toward or disparagement of classes of individuals.
|
||||
|
||||
**Consequence**: A permanent ban from any sort of public interaction within
|
||||
|
||||
+4
-2
@@ -1,5 +1,7 @@
|
||||
# Security Policy
|
||||
|
||||
If you find a security issue please make post it in the issues tab. If you think it should be private you can email me at contact@christitus.com.
|
||||
If you find a security issue, please post it in the Issues tab. If you think it should be private, you can email me at contact@christitus.com.
|
||||
|
||||
For immediate response check out our discord server @ [](https://discord.gg/RUbZUZyByQ)
|
||||
For immediate response check out our Discord server:
|
||||
|
||||
[](https://discord.gg/RUbZUZyByQ)
|
||||
|
||||
@@ -15,7 +15,7 @@ try using a **VPN** and if that doesn't work than report the issue to https://gi
|
||||
|
||||
If you run WinUtil and get the error:
|
||||
|
||||
`"WinUtil is unable to run on your system, powershell execution is restricted by security policies,"`
|
||||
`"WinUtil is unable to run on your system. PowerShell execution is restricted by security policies"`
|
||||
|
||||
this means that your PowerShell session is in **Constrained Language Mode**, which prevents WinUtil from running.
|
||||
|
||||
|
||||
@@ -177,7 +177,7 @@ function Show-CustomDialog {
|
||||
|
||||
# Add "Winutil" text
|
||||
$winutilTextBlock = New-Object Windows.Controls.TextBlock
|
||||
$winutilTextBlock.Text = "Winutil"
|
||||
$winutilTextBlock.Text = "WinUtil"
|
||||
$winutilTextBlock.FontSize = $HeaderFontSize
|
||||
$winutilTextBlock.Foreground = $LogoColor
|
||||
$winutilTextBlock.Margin = New-Object Windows.Thickness(10, 10, 10, 5) # Add margins around the text block
|
||||
|
||||
+3
-3
@@ -140,7 +140,7 @@ try {
|
||||
|
||||
if (-NOT ($readerOperationSuccessful)) {
|
||||
Write-Host "Failed to parse xaml content using Windows.Markup.XamlReader's Load Method." -ForegroundColor Red
|
||||
Write-Host "Quitting winutil..." -ForegroundColor Red
|
||||
Write-Host "Quitting WinUtil..." -ForegroundColor Red
|
||||
$sync.runspace.Dispose()
|
||||
$sync.runspace.Close()
|
||||
[System.GC]::Collect()
|
||||
@@ -364,7 +364,7 @@ $sync["Form"].Add_ContentRendered({
|
||||
# Disable the install tab
|
||||
$sync.WPFTab1BT.IsEnabled = $false
|
||||
$sync.WPFTab1BT.Opacity = 0.5
|
||||
$sync.WPFTab1BT.ToolTip = "Internet connection required for installing applications"
|
||||
$sync.WPFTab1BT.ToolTip = "Internet connection required for installing applications."
|
||||
|
||||
# Disable install-related buttons
|
||||
$sync.WPFInstall.IsEnabled = $false
|
||||
@@ -373,7 +373,7 @@ $sync["Form"].Add_ContentRendered({
|
||||
$sync.WPFGetInstalled.IsEnabled = $false
|
||||
|
||||
# Show offline indicator
|
||||
Write-Host "Offline mode detected - Install tab disabled" -ForegroundColor Yellow
|
||||
Write-Host "Offline mode detected - Install tab disabled." -ForegroundColor Yellow
|
||||
|
||||
# Optionally switch to a different tab if install tab was going to be default
|
||||
Invoke-WPFTab "WPFTab2BT" # Switch to Tweaks tab instead
|
||||
|
||||
+2
-2
@@ -19,12 +19,12 @@ if ($Offline) {
|
||||
}
|
||||
|
||||
if ($ExecutionContext.SessionState.LanguageMode -ne 'FullLanguage') {
|
||||
Write-Host "WinUtil is unable to run on your system, powershell execution is restricted by security policies" -ForegroundColor Red
|
||||
Write-Host "WinUtil is unable to run on your system. PowerShell execution is restricted by security policies." -ForegroundColor Red
|
||||
return
|
||||
}
|
||||
|
||||
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
|
||||
Write-Output "Winutil needs to be run as Administrator. Attempting to relaunch."
|
||||
Write-Output "WinUtil needs to be run as Administrator. Attempting to relaunch."
|
||||
$argList = @()
|
||||
|
||||
$PSBoundParameters.GetEnumerator() | ForEach-Object {
|
||||
|
||||
+1
-1
@@ -1056,7 +1056,7 @@
|
||||
Margin="0,0,2,0"
|
||||
FontFamily="Segoe MDL2 Assets"
|
||||
Content="N/A"
|
||||
ToolTip="Change the Winutil UI Theme"
|
||||
ToolTip="Change the WinUtil UI Theme"
|
||||
/>
|
||||
<Popup Name="ThemePopup"
|
||||
IsOpen="False"
|
||||
|
||||
Reference in New Issue
Block a user