Skip to content

Commit

Permalink
Test 2024 01 12 (#1401)
Browse files Browse the repository at this point in the history
* change logseq url and add .net 8 (#1385)

* Update applications.json

Add Official logseq url 
Add .net runtime 8.0

* compile with new logseq and .net 8 runtime

* add thorium avx2

* Compile Winutil

* Remove Cider Music Player (#1400)

* Update winutil.ps1

* Update applications.json

* Compile Winutil

* Import/Export is now global, Settings menu added and many more improvements (#1398)

* Anoter one of those huge PRs
- Fix version inefficiency the version is already stored in sync, no need to slow down loading by one extra replace.
- Created custom dialog and About message
- Create a menu with Import/Export values
	- press on teh Settings cog in the right upper corner and save all the checkboxes
	- then you can either load them or load and run automatically
- Made Import Export load accross the whole app
- Optimized the way checkbox controls are looked up, it is 20% faster now
- Added a switch to load all the boxes from a config file
	- example: .winutil.ps1 -Config "C:UsersasdfDesktop\111.json"
- Added a switch to run all the action in unattended mode by passing -Run siwthc
	- example: .winutil.ps1 -Config "C:UsersasdfDesktop\111.json" -Run
	- This will run all the tweaks and install all the apps

* Fixing a couple of bugs and blur fonts, also menu now closes when focus is lost

---------

Co-authored-by: KonTy <[email protected]>
Co-authored-by: Chris Titus <[email protected]>

* Update applications.json

* Compile Winutil

* Add F8 Recovery Menu and Windows Reg Backup and others (#1389)

* Update feature.json append F8 legacy startup and Win Reg Backup and web search suggestion in search app

- enable automatic windows registry backup and do schedule for it as well (disabled by default in Win10, Win11) this will help when doing last known Good Configuration thru the F8 startup menu.
- enable / disable legacy F8 startup recovery option.
- enable / disable web search suggestions in the windows search in task bar.

* new tick boxes features. F8 recovery, regbackup, search web suggestions

- enable automatic windows registry backup and do schedule for it as well (disabled by default in Win10, Win11) this will help when doing last known Good Configuration thru the F8 startup menu.
- enable / disable legacy F8 startup recovery option.
- enable / disable web search suggestions in the windows search in task bar.

* Compile Winutil

* add Parsec to installable applications (#1157) (#1396)

Identifiers:
- Winget: Parsec.parsec
- Chocolatey: parsec

* Compile Winutil

* add Konty to About page

* Compile Winutil

* fix description (#1388) (#1402)

Co-authored-by: howell2024 <[email protected]>

---------

Co-authored-by: Cristian Negulescu <[email protected]>
Co-authored-by: ChrisTitusTech <[email protected]>
Co-authored-by: Tommi Pöntinen <[email protected]>
Co-authored-by: KonTy <[email protected]>
Co-authored-by: KonTy <[email protected]>
Co-authored-by: Smartek <[email protected]>
Co-authored-by: Saikrishnan K <[email protected]>
Co-authored-by: howell2024 <[email protected]>
  • Loading branch information
9 people authored Jan 15, 2024
1 parent ef2befa commit 3b133e7
Show file tree
Hide file tree
Showing 26 changed files with 1,642 additions and 642 deletions.
6 changes: 2 additions & 4 deletions Compile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,15 @@ Write-output '
################################################################################################################
' | Out-File ./$scriptname -Append -Encoding ascii

(Get-Content .\scripts\start.ps1).replace('#{replaceme}',"$(get-date -format yy.MM.dd)") | Out-File ./$scriptname -Append -Encoding ascii
(Get-Content .\scripts\start.ps1).replace('#{replaceme}',"$(Get-Date -Format yy.MM.dd)") | Out-File ./$scriptname -Append -Encoding ascii

Get-ChildItem .\functions -Recurse -File | ForEach-Object {
Get-Content $psitem.FullName | Out-File ./$scriptname -Append -Encoding ascii
}

Get-ChildItem .\xaml | ForEach-Object {
$xaml = (Get-Content $psitem.FullName).replace("'","''")
$newXaml = $xaml -replace 'CTTVersion', (Get-Date -Format 'yy.MM.dd')

Write-output "`$$($psitem.BaseName) = '$newXaml'" | Out-File ./$scriptname -Append -Encoding ascii
Write-output "`$$($psitem.BaseName) = '$xaml'" | Out-File ./$scriptname -Append -Encoding ascii
}

Get-ChildItem .\config | Where-Object {$psitem.extension -eq ".json"} | ForEach-Object {
Expand Down
40 changes: 29 additions & 11 deletions config/applications.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
"link": "https://librewolf-community.gitlab.io/",
"description": "LibreWolf is a privacy-focused web browser based on Firefox, with additional privacy and security enhancements."
},
"WPFInstallthorium": {
"winget": "Alex313031.Thorium.AVX2",
"choco": "na",
"category": "Browsers",
"panel": "0",
"content": "Thorium Browser AVX2",
"link": "http://thorium.rocks/",
"description": "Browser built for speed over vanilla chromium. It is built with AVX2 optimizations and is the fastest browser on the market."
},
"WPFInstalltor": {
"winget": "TorProject.TorBrowser",
"choco": "tor-browser",
Expand Down Expand Up @@ -653,7 +662,7 @@
"category": "Document",
"panel": "1",
"content": "Logseq",
"link": "https://github.com/logseq/logseq/releases",
"link": "https://logseq.com/",
"description": "Logseq is a versatile knowledge management and note-taking application designed for the digital thinker. With a focus on the interconnectedness of ideas, Logseq allows users to seamlessly organize their thoughts through a combination of hierarchical outlines and bi-directional linking. It supports both structured and unstructured content, enabling users to create a personalized knowledge graph that adapts to their evolving ideas and insights."
},
"WPFInstallobsidian": {
Expand Down Expand Up @@ -961,6 +970,15 @@
"content": ".NET Desktop Runtime 7",
"description": ".NET Desktop Runtime 7 is a runtime environment required for running applications developed with .NET 7.",
"link": "https://dotnet.microsoft.com/download/dotnet/7.0"
},
"WPFInstalldotnet8": {
"winget": "Microsoft.DotNet.DesktopRuntime.8",
"choco": "dotnet-8.0-runtime",
"category": "Microsoft Tools",
"panel": "2",
"content": ".NET Desktop Runtime 8",
"description": ".NET Desktop Runtime 8 is a runtime environment required for running applications developed with .NET 7.",
"link": "https://dotnet.microsoft.com/download/dotnet/8.0"
},
"WPFInstallnuget": {
"winget": "Microsoft.NuGet",
Expand Down Expand Up @@ -1070,15 +1088,6 @@
"description": "Blender is a powerful open-source 3D creation suite, offering modeling, sculpting, animation, and rendering tools.",
"link": "https://www.blender.org/"
},
"WPFInstallcider": {
"winget": "CiderCollective.Cider",
"choco": "cider",
"category": "Multimedia Tools",
"panel": "3",
"content": "Cider (FOSS Music Player)",
"description": "Cider is a free and open-source music player that focuses on simplicity, providing a clean interface for enjoying your music.",
"link": "https://getcider.io/"
},
"WPFInstallclementine": {
"winget": "Clementine.Clementine",
"choco": "clementine",
Expand Down Expand Up @@ -1925,6 +1934,15 @@
"link": "https://owncloud.com/desktop-app/",
"description": "ownCloud Desktop is the official desktop client for the ownCloud file synchronization and sharing platform."
},
"WPFInstallparsec": {
"winget": "Parsec.parsec",
"choco": "parsec",
"category": "Utilities",
"panel": "4",
"content": "Parsec",
"link": "https://parsec.app/",
"description": "Parsec is a low-latency, high-quality remote desktop sharing application for collaborating and gaming across devices."
},
"WPFInstallpeazip": {
"winget": "Giorgiotani.Peazip",
"choco": "peazip",
Expand Down Expand Up @@ -2213,4 +2231,4 @@
"link": "https://www.ghisler.com/",
"description": "Total Commander is a file manager for Windows that provides a powerful and intuitive interface for file management."
}
}
}
65 changes: 65 additions & 0 deletions config/feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,70 @@
nfsadmin client localhost config fileaccess=755 SecFlavors=+sys -krb5 -krb5i
"
]
},
"WPFFeatureEnableSearchSuggestions": {
"feature": [
],
"InvokeScript": [
"
If (!(Test-Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer')) {
New-Item -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Force | Out-Null
}
New-ItemProperty -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Name 'DisableSearchBoxSuggestions' -Type DWord -Value 0 -Force
Stop-Process -name explorer -force
"
]
},
"WPFFeatureDisableSearchSuggestions": {
"feature": [
],
"InvokeScript": [
"
If (!(Test-Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer')) {
New-Item -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Force | Out-Null
}
New-ItemProperty -Path 'HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer' -Name 'DisableSearchBoxSuggestions' -Type DWord -Value 1 -Force
Stop-Process -name explorer -force
"
]
},
"WPFFeatureRegBackup": {
"feature": [
],
"InvokeScript": [
"
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager' -Name 'EnablePeriodicBackup' -Type DWord -Value 1 -Force
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager' -Name 'BackupCount' -Type DWord -Value 2 -Force
$action = New-ScheduledTaskAction -Execute 'schtasks' -Argument '/run /i /tn \"\\Microsoft\\Windows\\Registry\\RegIdleBackup\"'
$trigger = New-ScheduledTaskTrigger -Daily -At 00:30
Register-ScheduledTask -Action $action -Trigger $trigger -TaskName 'AutoRegBackup' -Description 'Create System Registry Backups' -User 'System'
"
]
},
"WPFFeatureEnableLegacyRecovery": {
"feature": [
],
"InvokeScript": [
"
If (!(Test-Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood')) {
New-Item -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Force | Out-Null
}
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Name 'Enabled' -Type DWord -Value 1 -Force
Start-Process -FilePath cmd.exe -ArgumentList '/c bcdedit /Set {Current} BootMenuPolicy Legacy' -Wait
"
]
},
"WPFFeatureDisableLegacyRecovery": {
"feature": [
],
"InvokeScript": [
"
If (!(Test-Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood')) {
New-Item -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Force | Out-Null
}
New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager\\LastKnownGood' -Name 'Enabled' -Type DWord -Value 0 -Force
Start-Process -FilePath cmd.exe -ArgumentList '/c bcdedit /Set {Current} BootMenuPolicy Standard' -Wait
"
]
}
}
46 changes: 23 additions & 23 deletions config/preset.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"desktop": [
"WPFEssTweaksAH",
"WPFEssTweaksDVR",
"WPFEssTweaksHiber",
"WPFEssTweaksHome",
"WPFEssTweaksLoc",
"WPFEssTweaksOO",
"WPFEssTweaksServices",
"WPFEssTweaksStorage",
"WPFEssTweaksTele",
"WPFEssTweaksWifi",
"WPFTweaksAH",
"WPFTweaksDVR",
"WPFTweaksHiber",
"WPFTweaksHome",
"WPFTweaksLoc",
"WPFTweaksOO",
"WPFTweaksServices",
"WPFTweaksStorage",
"WPFTweaksTele",
"WPFTweaksWifi",
"WPFMiscTweaksPower"
],
"laptop": [
"WPFEssTweaksAH",
"WPFEssTweaksDVR",
"WPFEssTweaksHome",
"WPFEssTweaksLoc",
"WPFEssTweaksOO",
"WPFEssTweaksServices",
"WPFEssTweaksStorage",
"WPFEssTweaksTele",
"WPFEssTweaksWifi",
"WPFTweaksAH",
"WPFTweaksDVR",
"WPFTweaksHome",
"WPFTweaksLoc",
"WPFTweaksOO",
"WPFTweaksServices",
"WPFTweaksStorage",
"WPFTweaksTele",
"WPFTweaksWifi",
"WPFMiscTweaksLapPower"
],
"minimal": [
"WPFEssTweaksHome",
"WPFEssTweaksOO",
"WPFEssTweaksServices",
"WPFEssTweaksTele"
"WPFTweaksHome",
"WPFTweaksOO",
"WPFTweaksServices",
"WPFTweaksTele"
]
}
Loading

0 comments on commit 3b133e7

Please sign in to comment.