Skip to content

Commit

Permalink
v1.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
flick9000 committed Jan 17, 2025
1 parent ba1a39a commit 3ba2050
Show file tree
Hide file tree
Showing 13 changed files with 145 additions and 7 deletions.
Binary file added online/icons/gaming/fullscreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
49 changes: 48 additions & 1 deletion online/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h1>Telemetry</h1>
<h1>Gaming</h1>
</div>
<div data-tab="performance-tab" class="sidebar-entry">
<img src="icons/sidebar/To do.png" alt="">
<img src="icons/sidebar/todo.png" alt="">
<h1>Performance</h1>
</div>
<div data-tab="miscellanous-tab" class="sidebar-entry">
Expand Down Expand Up @@ -1088,6 +1088,21 @@ <h1>Disable 3rd-Party Telemetry</h1>
<img class="chevron" src="icons/chevron-down.png" alt="">
</summary>

<div class="content-entry">
<div>
<div>
<h1>Block Adobe Network</h1>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="adobetelemetry" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<div>
Expand Down Expand Up @@ -1197,6 +1212,22 @@ <h1>Disable Adobe Background Updates</h1>

</div>
<div id="gaming-tab" class="tab-content">
<div class="content-entry">
<div>
<img src="icons/gaming/fullscreen.png" alt="">
<div>
<h1>Disable Fullscreen Optimizations</h1>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="fullscreenoptimizations" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<img src="icons/gaming/mouse.png" alt="">
Expand Down Expand Up @@ -3479,7 +3510,23 @@ <h1>Install VSCode</h1>
<div>
<pre><code>@echo off</code></pre>
</div>

<div>
<pre><code></code></pre>
<pre><code>:: Check if the script is running as admin</code></pre>
<pre><code>openfiles >nul 2>&1</code></pre>
<pre><code>if %errorlevel% neq 0 (</code></pre>
<pre><code> color 4</code></pre>
<pre><code> echo This script requires administrator privileges.</code></pre>
<pre><code> echo Please run WinScript as an administrator.</code></pre>
<pre><code> pause</code></pre>
<pre><code> exit /b 1</code></pre>
<pre><code>)</code></pre>
<pre><code></code></pre>
</div>

<div>
<pre><code>:: Admin privileges confirmed, continue execution</code></pre>
<pre><code>setlocal EnableExtensions DisableDelayedExpansion</code></pre>
</div>
<div class="restore-container">
Expand Down
21 changes: 21 additions & 0 deletions online/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,20 @@ document.addEventListener("DOMContentLoaded", function() {
"echo -- Opting out of data collection",
'reg add "HKCU\\SOFTWARE\\Microsoft\\Personalization\\Settings" /v "AcceptedPrivacyPolicy" /t REG_DWORD /d 0 /f',
],
adobetelemetry: [
"echo -- Disabling Adobe Telemetry",
'set "hostspath=%windir%\\System32\\drivers\\etc\\hosts"',
'set "downloadedlist=%temp%\\list.txt"',
'echo -- Downloading the list of host entries',
'curl -s -o "%downloadedlist%" "https://a.dove.isdumb.one/list.txt"',
'if not exist "%downloadedlist%" (',
' echo Failed to download the list from the specified URL.',
' exit /b 1',
')',
'echo -- Adobe block entries successfully added to hosts file',
'type "%downloadedlist%" >> "%hostspath%"',
'del "%downloadedlist%"',
],
nvidiatelemetry: [
"echo -- Disabling NVIDIA telemetry",
'reg add "HKLM\\SOFTWARE\\NVIDIA Corporation\\NvControlPanel2\\Client" /v "OptInOrOutPreference" /t REG_DWORD /d 0 /f',
Expand Down Expand Up @@ -881,6 +895,10 @@ document.addEventListener("DOMContentLoaded", function() {
"echo -- Showing File Extensions",
'reg add "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f',
],
fullscreenoptimizations: [
"echo -- Disabling Fullscreen Optimizations",
'reg add "HKCU\\System\\GameConfigStore" /v "GameDVR_DXGIHonorFSEWindowsCompatible" /t REG_DWORD /d 1 /f'
],
mouseacc: [
"echo -- Disabling Mouse Acceleration",
'reg add "HKCU\\Control Panel\\Mouse" /v "MouseSpeed" /t REG_SZ /d "0" /f',
Expand Down Expand Up @@ -970,13 +988,15 @@ document.addEventListener("DOMContentLoaded", function() {
{ id: "targetads", type: "targetads" },
{ id: "privacyconsent", type: "privacyconsent" },

{ id: "adobetelemetry", type: "adobetelemetry" },
{ id: "nvidiatelemetry", type: "nvidiatelemetry" },
{ id: "vscodetelemetry", type: "vscodetelemetry" },
{ id: "mediatelemetry", type: "mediatelemetry" },
{ id: "powershelltelemetry", type: "powershelltelemetry" },
{ id: "ccleanertelemetry", type: "ccleanertelemetry" },
{ id: "googleupdates", type: "googleupdates" },
{ id: "adobeupdates", type: "adobeupdates" },

{ id: "locationaccess", type: "locationaccess" },
{ id: "cameraccess", type: "cameraccess" },
{ id: "microphoneaccess", type: "microphoneaccess" },
Expand Down Expand Up @@ -1025,6 +1045,7 @@ document.addEventListener("DOMContentLoaded", function() {
{ id: "disableprefetch", type: "disableprefetch" },


{ id: "fullscreenoptimizations", type: "fullscreenoptimizations" },
{ id: "mouseacc", type: "mouseacc" },
{ id: "gamemode", type: "gamemode" },
{ id: "gamebar", type: "gamebar" },
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.0.8",
"version": "1.0.9",
"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.0.8"
version = "1.0.9"
description = ""
authors = ["flick9000"]
license = "GPL V3"
Expand Down
Binary file added winscript-app/src-tauri/icons/sidebar.bmp
Binary file not shown.
4 changes: 3 additions & 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.0.8",
"version": "1.0.9",
"identifier": "flick.winscript.dev",
"build": {
"devUrl": "http://localhost:5173/src/",
Expand Down Expand Up @@ -33,6 +33,8 @@
"active": true,
"windows": {
"nsis": {
"installerIcon": "icons/favicon.ico",
"sidebarImage": "icons/sidebar.bmp",
"installMode": "both"
}
},
Expand Down
Binary file added winscript-app/src/icons/gaming/fullscreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions winscript-app/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,21 @@ <h1>Disable 3rd-Party Telemetry</h1>
<img class="chevron" src="icons/chevron-down.png" alt="">
</summary>

<div class="content-entry">
<div>
<div>
<h1>Block Adobe Network</h1>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="adobetelemetry" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<div>
Expand Down Expand Up @@ -1248,6 +1263,22 @@ <h1>Disable Adobe Background Updates</h1>

</div>
<div id="gaming-tab" class="tab-content">
<div class="content-entry">
<div>
<img src="icons/gaming/fullscreen.png" alt="">
<div>
<h1>Disable Fullscreen Optimizations</h1>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="fullscreenoptimizations" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<img src="icons/gaming/mouse.png" alt="">
Expand Down Expand Up @@ -3530,7 +3561,23 @@ <h1>Install VSCode</h1>
<div>
<pre><code>@echo off</code></pre>
</div>

<div>
<pre><code></code></pre>
<pre><code>:: Check if the script is running as admin</code></pre>
<pre><code>openfiles >nul 2>&1</code></pre>
<pre><code>if %errorlevel% neq 0 (</code></pre>
<pre><code> color 4</code></pre>
<pre><code> echo This script requires administrator privileges.</code></pre>
<pre><code> echo Please run WinScript as an administrator.</code></pre>
<pre><code> pause</code></pre>
<pre><code> exit /b 1</code></pre>
<pre><code>)</code></pre>
<pre><code></code></pre>
</div>

<div>
<pre><code>:: Admin privileges confirmed, continue execution</code></pre>
<pre><code>setlocal EnableExtensions DisableDelayedExpansion</code></pre>
</div>
<div class="restore-container">
Expand Down
21 changes: 21 additions & 0 deletions winscript-app/src/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,20 @@ document.addEventListener("DOMContentLoaded", function() {
"echo -- Opting out of data collection",
'reg add "HKCU\\SOFTWARE\\Microsoft\\Personalization\\Settings" /v "AcceptedPrivacyPolicy" /t REG_DWORD /d 0 /f',
],
adobetelemetry: [
"echo -- Disabling Adobe Telemetry",
'set "hostspath=%windir%\\System32\\drivers\\etc\\hosts"',
'set "downloadedlist=%temp%\\list.txt"',
'echo -- Downloading the list of host entries',
'curl -s -o "%downloadedlist%" "https://a.dove.isdumb.one/list.txt"',
'if not exist "%downloadedlist%" (',
' echo Failed to download the list from the specified URL.',
' exit /b 1',
')',
'echo -- Adobe block entries successfully added to hosts file',
'type "%downloadedlist%" >> "%hostspath%"',
'del "%downloadedlist%"',
],
nvidiatelemetry: [
"echo -- Disabling NVIDIA telemetry",
'reg add "HKLM\\SOFTWARE\\NVIDIA Corporation\\NvControlPanel2\\Client" /v "OptInOrOutPreference" /t REG_DWORD /d 0 /f',
Expand Down Expand Up @@ -881,6 +895,10 @@ document.addEventListener("DOMContentLoaded", function() {
"echo -- Showing File Extensions",
'reg add "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f',
],
fullscreenoptimizations: [
"echo -- Disabling Fullscreen Optimizations",
'reg add "HKCU\\System\\GameConfigStore" /v "GameDVR_DXGIHonorFSEWindowsCompatible" /t REG_DWORD /d 1 /f'
],
mouseacc: [
"echo -- Disabling Mouse Acceleration",
'reg add "HKCU\\Control Panel\\Mouse" /v "MouseSpeed" /t REG_SZ /d "0" /f',
Expand Down Expand Up @@ -970,13 +988,15 @@ document.addEventListener("DOMContentLoaded", function() {
{ id: "targetads", type: "targetads" },
{ id: "privacyconsent", type: "privacyconsent" },

{ id: "adobetelemetry", type: "adobetelemetry" },
{ id: "nvidiatelemetry", type: "nvidiatelemetry" },
{ id: "vscodetelemetry", type: "vscodetelemetry" },
{ id: "mediatelemetry", type: "mediatelemetry" },
{ id: "powershelltelemetry", type: "powershelltelemetry" },
{ id: "ccleanertelemetry", type: "ccleanertelemetry" },
{ id: "googleupdates", type: "googleupdates" },
{ id: "adobeupdates", type: "adobeupdates" },

{ id: "locationaccess", type: "locationaccess" },
{ id: "cameraccess", type: "cameraccess" },
{ id: "microphoneaccess", type: "microphoneaccess" },
Expand Down Expand Up @@ -1025,6 +1045,7 @@ document.addEventListener("DOMContentLoaded", function() {
{ id: "disableprefetch", type: "disableprefetch" },


{ id: "fullscreenoptimizations", type: "fullscreenoptimizations" },
{ id: "mouseacc", type: "mouseacc" },
{ id: "gamemode", type: "gamemode" },
{ id: "gamebar", type: "gamebar" },
Expand Down

0 comments on commit 3ba2050

Please sign in to comment.