Skip to content

Commit

Permalink
v1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
flick9000 committed Mar 6, 2025
1 parent 48ff5e3 commit ead2409
Show file tree
Hide file tree
Showing 10 changed files with 109 additions and 49 deletions.
67 changes: 46 additions & 21 deletions online/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,50 @@ <h1>Empty Recycle Bin</h1>
</div>

</details>

<details>
<summary class="content-entry">
<div>
<img src="icons/tools/sfc.png" alt="">
<div>
<h1>Verify System Integrity</h1>
<p>Verifies the system files integrity and fixes corrupt files.</p>
</div>
</div>
<img class="chevron" src="icons/chevron-down.png" alt="">
</summary>

<div class="content-entry">
<div>
<div>
<h1>DISM (Deployment Image Servicing Manager)</h1>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="dism" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<div>
<h1>SFC (System File Checker)</h1>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="sfc" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

</details>

<div class="content-entry">
<div>
Expand All @@ -165,23 +209,6 @@ <h1>Create Restore Point</h1>
</div>
</div>

<div class="content-entry">
<div>
<img src="icons/tools/sfc.png" alt="">
<div>
<h1>Verify System Integrity</h1>
<p>Verifies the system files integrity and fixes corrupt files.</p>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="sfc" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<img src="icons/tools/browser.png" alt="">
Expand Down Expand Up @@ -4019,7 +4046,7 @@ <h1>Presets</h1>
<div>
<p>
<b>1) Important</b> <br>
<i>Review the scripts one by one before executing it.</i>
<i>Review [ALL] the scripts one by one before executing it.</i>
<br /> <br />
<b>2) Table</b> <br>
<i>You can find a table comparing the presets <a style="text-decoration: underline;" target="_blank" href="https://docs.winscript.cc/#/presets">here.</a></i>
Expand All @@ -4031,9 +4058,7 @@ <h1>Presets</h1>
Reccomended, good balance beetween privacy/performance and functionality.
<br /> <br />
<b>Strict Preset</b>:
Heavy focus on privacy and performance although it disables some non-essential features, review all the
scripts
one by one before executing it.
Heavy focus on privacy and performance although it disables some non-essential features.
<br /> <br />
<b>Extreme Preset</b>:
Not reccomended, use only if you know what you're doing.
Expand Down
5 changes: 5 additions & 0 deletions online/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,12 @@ document.addEventListener("DOMContentLoaded", function () {
'del /q /s "%LocalAppData%\\Microsoft\\Edge\\User Data\\Default\\Cookies"',
'del /q /s "%APPDATA%\\Mozilla\\Firefox\\Profiles\\*.default\\places.sqlite"',
'del /q /s "%APPDATA%\\Mozilla\\Firefox\\Profiles\\*.default\\cache2\\entries\\*.*"',
'del /q /s "%LocalAppData%\\BraveSoftware\\Brave-Browser\\User Data\\Default\\History"',
'del /q /s "%LocalAppData%\\BraveSoftware\\Brave-Browser\\User Data\\Default\\Cache\\*.*"',
'del /q /s "%LocalAppData%\\BraveSoftware\\Brave-Browser\\User Data\\Default\\Cookies"',
],
sfc: ["echo -- Running SFC", "sfc /scannow"],
dism: ["echo -- Running DISM", "DISM /Online /Cleanup-Image /RestoreHealth"],
resetnetwork: [
"echo -- Resetting Network",
"ipconfig /flushdns",
Expand Down Expand Up @@ -1046,6 +1050,7 @@ document.addEventListener("DOMContentLoaded", function () {
{ id: "emptyrecycle", type: "emptyrecycle" },
{ id: "browserhistory", type: "browserhistory" },
{ id: "sfc", type: "sfc" },
{ id: "dism", type: "dism" },
{ id: "resetnetwork", type: "resetnetwork" },

{ id: "ultimateperformance", type: "ultimateperformance" },
Expand Down
4 changes: 2 additions & 2 deletions winscript-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion winscript-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "winscript",
"private": true,
"version": "1.2.2",
"version": "1.2.3",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion winscript-app/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion winscript-app/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "WinScript"
version = "1.2.2"
version = "1.2.3"
description = ""
authors = ["flick9000"]
license = "GPL V3"
Expand Down
2 changes: 1 addition & 1 deletion winscript-app/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "WinScript",
"version": "1.2.2",
"version": "1.2.3",
"identifier": "flick.winscript.dev",
"build": {
"devUrl": "http://localhost:5174/src/",
Expand Down
2 changes: 1 addition & 1 deletion winscript-app/src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
border-color: transparent;
}
to {
border-color: #6040bf;
border-color: var(--text);
}
}

Expand Down
67 changes: 46 additions & 21 deletions winscript-app/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,50 @@ <h1>Empty Recycle Bin</h1>
</div>

</details>

<details>
<summary class="content-entry">
<div>
<img src="icons/tools/sfc.png" alt="">
<div>
<h1>Verify System Integrity</h1>
<p>Verifies the system files integrity and fixes corrupt files.</p>
</div>
</div>
<img class="chevron" src="icons/chevron-down.png" alt="">
</summary>

<div class="content-entry">
<div>
<div>
<h1>DISM (Deployment Image Servicing Manager)</h1>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="dism" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<div>
<h1>SFC (System File Checker)</h1>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="sfc" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

</details>

<div class="content-entry">
<div>
Expand All @@ -166,23 +210,6 @@ <h1>Create Restore Point</h1>
</div>
</div>

<div class="content-entry">
<div>
<img src="icons/tools/sfc.png" alt="">
<div>
<h1>Verify System Integrity</h1>
<p>Verifies the system files integrity and fixes corrupt files.</p>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="sfc" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<img src="icons/tools/browser.png" alt="">
Expand Down Expand Up @@ -4020,7 +4047,7 @@ <h1>Presets</h1>
<div>
<p>
<b>1) Important</b> <br>
<i>Review the scripts one by one before executing it.</i>
<i>Review [ALL] the scripts one by one before executing it.</i>
<br /> <br />
<b>2) Table</b> <br>
<i>You can find a table comparing the presets <a style="text-decoration: underline;" target="_blank" href="https://docs.winscript.cc/#/presets">here.</a></i>
Expand All @@ -4032,9 +4059,7 @@ <h1>Presets</h1>
Reccomended, good balance beetween privacy/performance and functionality.
<br /> <br />
<b>Strict Preset</b>:
Heavy focus on privacy and performance although it disables some non-essential features, review all the
scripts
one by one before executing it.
Heavy focus on privacy and performance although it disables some non-essential features.
<br /> <br />
<b>Extreme Preset</b>:
Not reccomended, use only if you know what you're doing.
Expand Down
5 changes: 5 additions & 0 deletions winscript-app/src/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,12 @@ document.addEventListener("DOMContentLoaded", function () {
'del /q /s "%LocalAppData%\\Microsoft\\Edge\\User Data\\Default\\Cookies"',
'del /q /s "%APPDATA%\\Mozilla\\Firefox\\Profiles\\*.default\\places.sqlite"',
'del /q /s "%APPDATA%\\Mozilla\\Firefox\\Profiles\\*.default\\cache2\\entries\\*.*"',
'del /q /s "%LocalAppData%\\BraveSoftware\\Brave-Browser\\User Data\\Default\\History"',
'del /q /s "%LocalAppData%\\BraveSoftware\\Brave-Browser\\User Data\\Default\\Cache\\*.*"',
'del /q /s "%LocalAppData%\\BraveSoftware\\Brave-Browser\\User Data\\Default\\Cookies"',
],
sfc: ["echo -- Running SFC", "sfc /scannow"],
dism: ["echo -- Running DISM", "DISM /Online /Cleanup-Image /RestoreHealth"],
resetnetwork: [
"echo -- Resetting Network",
"ipconfig /flushdns",
Expand Down Expand Up @@ -1046,6 +1050,7 @@ document.addEventListener("DOMContentLoaded", function () {
{ id: "emptyrecycle", type: "emptyrecycle" },
{ id: "browserhistory", type: "browserhistory" },
{ id: "sfc", type: "sfc" },
{ id: "dism", type: "dism" },
{ id: "resetnetwork", type: "resetnetwork" },

{ id: "ultimateperformance", type: "ultimateperformance" },
Expand Down

0 comments on commit ead2409

Please sign in to comment.