Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
upd. log and issue generation
Greedeksa56ffae1f839
diff --git a/.Source/GTweak/GTweak.csproj b/.Source/GTweak/GTweak.csprojindex 1ac75a6f..0a9857f1 100644--- a/.Source/GTweak/GTweak.csproj+++ b/.Source/GTweak/GTweak.csproj@@ -49,7 +49,7 @@<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "><PlatformTarget>x64</PlatformTarget><DebugType>pdbonly</DebugType>- <Optimize>true</Optimize>+ <Optimize>false</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants><ErrorReport>prompt</ErrorReport>diff --git a/.Source/GTweak/Utilities/Controls/ErrorLogging.cs b/.Source/GTweak/Utilities/Controls/ErrorLogging.csindex eb18b85b..eb123969 100644--- a/.Source/GTweak/Utilities/Controls/ErrorLogging.cs+++ b/.Source/GTweak/Utilities/Controls/ErrorLogging.cs@@ -1,4 +1,5 @@-using GTweak.Utilities.Helpers;+using GTweak.Utilities.Configuration;+using GTweak.Utilities.Helpers;using System;using System.Diagnostics;using System.IO;@@ -39,7 +40,9 @@ namespace GTweak.Utilities.Controlsusing (FileStream stream = new FileStream(PathLocator.Files.ErrorLog, FileMode.OpenOrCreate, FileAccess.Write, FileShare.Read))using (StreamWriter writer = new StreamWriter(stream, Encoding.UTF8)){- await writer.WriteLineAsync($"[{DateTime.Now}]\nMember: {memberName}\nError: {ex.Message}\nStack Trace:\n{ex.StackTrace}\n");+ string headerLine = "---------------------------------------------------------";+ await writer.WriteLineAsync($"GTweak has crashed!\n{headerLine}\nIf you wish to report this, please open an issue here:\nhttps://github.com/Greedeks/GTweak/issues\n{headerLine}\n");+ await writer.WriteLineAsync($"{headerLine}\n[{DateTime.Now}]\nOS: {SystemDiagnostics.HardwareData.OSVersion}\n{headerLine}\n\nMember: {memberName}\nError: {ex.Message}\nStack Trace:\n{ex.StackTrace}\n");await writer.FlushAsync();}diff --git "a/.github/ISSUE_TEMPLATE/\342\234\250-feature-request-.yaml" "b/.github/ISSUE_TEMPLATE/\342\234\250-feature-request-.yaml"index 107b3681..c20db950 100644--- "a/.github/ISSUE_TEMPLATE/\342\234\250-feature-request-.yaml"+++ "b/.github/ISSUE_TEMPLATE/\342\234\250-feature-request-.yaml"@@ -16,13 +16,3 @@ body:placeholder: "Describe your feature request in detail..."validations:required: true-- - type: textarea- id: alternatives- attributes:- label: "🔄 Alternatives Considered"- description: "Describe any alternative solutions or approaches you've evaluated, and explain why the proposed feature is preferred."- placeholder: |- - **Alternative 1:** Explain the alternative approach and its limitations.- - **Alternative 2:** Describe another possible solution and why it wasn't selected.- - **Alternative 3 (if applicable):** Mention any other options and the reasons for excluding them.diff --git "a/.github/ISSUE_TEMPLATE/\360\237\220\236-bug-report.yaml" "b/.github/ISSUE_TEMPLATE/\360\237\220\236-bug-report.yaml"index f84baf88..201a052f 100644--- "a/.github/ISSUE_TEMPLATE/\360\237\220\236-bug-report.yaml"+++ "b/.github/ISSUE_TEMPLATE/\360\237\220\236-bug-report.yaml"@@ -1,11 +1,11 @@name: "🐞 Bug Report"description: "Description of the error or the problem with the utility"title: "[BUG] Title"-labels:+labels:- bug- help wanted- wontfix-assignees:+assignees:- Greedeksbody:@@ -13,39 +13,7 @@ body:id: problem_descriptionattributes:label: "🚨 Problem Description"- description: "Describe the nature of your problem. Or the conditions of its occurrence."+ description: "Describe the nature of your problem. Or the conditions of its occurrence and attach screenshots or error logs if possible."placeholder: "Explain the issue in detail..."validations:required: true-- - type: dropdown- id: os_version- attributes:- label: "💻 OS Version"- description: "Select your Windows version"- options:- - "Windows 10"- - "Windows 11"- validations:- required: true-- - type: dropdown- id: publishing_house_os- attributes:- label: "⚙️ Publishing House OS"- description: "Select your OS edition"- options:- - "Home"- - "Pro"- - "Enterprise"- - "Education"- - "LTSC"- validations:- required: true-- - type: textarea- id: screenshots_logs- attributes:- label: "📸 Screenshots / 📄 Logs"- description: "Attach screenshots or error logs if possible."- placeholder: "Drag and drop images or paste logs here..."