Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
flick9000 committed Jan 19, 2025
1 parent 3ba2050 commit a769081
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 6 deletions.
18 changes: 17 additions & 1 deletion online/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,23 @@ <h1>Disable Consumer Features</h1>
<span class="slider"></span>
</label>
</div>
</div>
</div>

<div class="content-entry">
<div>
<div>
<h1>Disable Recall</h1>
<p>Saves snapshots of the user's screen and stores them locally.</p>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="recall" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
Expand Down
5 changes: 5 additions & 0 deletions online/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ document.addEventListener("DOMContentLoaded", function() {
"echo -- Disabling Consumer Features",
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent" /v "DisableWindowsConsumerFeatures" /t "REG_DWORD" /d "1" /f',
],
recall: [
'echo -- Disabling Recall',
'DISM /Online /Disable-Feature /FeatureName:Recall'
],
iexplorer: [
"echo -- Disabling Internet Explorer",
"dism /online /Remove-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0.",
Expand Down Expand Up @@ -972,6 +976,7 @@ document.addEventListener("DOMContentLoaded", function() {
{ id: "msapps", type: "msapps" },
{ id: "xbox", type: "xbox" },
{ id: "consumerfeatures", type: "consumerfeatures" },
{ id: "recall", type: "recall" },
{ id: "iexplorer", type: "iexplorer" },
{ id: "hyperv", type: "hyperv" },
{ id: "faxscan", type: "faxscan" },
Expand Down
2 changes: 1 addition & 1 deletion 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.9",
"version": "1.1.0",
"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.9"
version = "1.1.0"
description = ""
authors = ["flick9000"]
license = "GPL V3"
Expand Down
2 changes: 2 additions & 0 deletions winscript-app/src-tauri/capabilities/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"shell:allow-execute",
"shell:allow-spawn",
"shell:allow-open",
"core:window:allow-hide",
"core:window:allow-show",
"os:allow-hostname",
"core:window:allow-set-effects",
{
Expand Down
5 changes: 4 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.9",
"version": "1.1.0",
"identifier": "flick.winscript.dev",
"build": {
"devUrl": "http://localhost:5173/src/",
Expand All @@ -18,6 +18,7 @@
"minWidth": 1024,
"minHeight": 776,
"resizable": true,
"visible": false,
"center": true,
"shadow": false,
"transparent": true,
Expand All @@ -30,6 +31,8 @@
}
},
"bundle": {
"publisher": "flick9000",
"license": "GPL-3.0",
"active": true,
"windows": {
"nsis": {
Expand Down
16 changes: 16 additions & 0 deletions winscript-app/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,22 @@ <h1>Disable Consumer Features</h1>
</div>
</div>

<div class="content-entry">
<div>
<div>
<h1>Disable Recall</h1>
<p>Saves snapshots of the user's screen and stores them locally.</p>
</div>
</div>
<div class="checkbox-wrapper">
<span class="indicator" id="indicator">Off</span>
<label class="switch">
<input id="recall" type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>

<div class="content-entry">
<div>
<div>
Expand Down
2 changes: 2 additions & 0 deletions winscript-app/src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { getCurrentWindow } from "@tauri-apps/api/window";

import { hostname } from '@tauri-apps/plugin-os';

getCurrentWindow().show();

hostname().then(nameHost => {
document.getElementById("hostname").textContent = nameHost;
}).catch(error => {
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 @@ -189,6 +189,10 @@ document.addEventListener("DOMContentLoaded", function() {
"echo -- Disabling Consumer Features",
'reg add "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent" /v "DisableWindowsConsumerFeatures" /t "REG_DWORD" /d "1" /f',
],
recall: [
'echo -- Disabling Recall',
'DISM /Online /Disable-Feature /FeatureName:Recall'
],
iexplorer: [
"echo -- Disabling Internet Explorer",
"dism /online /Remove-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0.",
Expand Down Expand Up @@ -972,6 +976,7 @@ document.addEventListener("DOMContentLoaded", function() {
{ id: "msapps", type: "msapps" },
{ id: "xbox", type: "xbox" },
{ id: "consumerfeatures", type: "consumerfeatures" },
{ id: "recall", type: "recall" },
{ id: "iexplorer", type: "iexplorer" },
{ id: "hyperv", type: "hyperv" },
{ id: "faxscan", type: "faxscan" },
Expand Down

0 comments on commit a769081

Please sign in to comment.