Skip to content

Commit

Permalink
v1.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
flick9000 committed Feb 24, 2025
1 parent 893005d commit c33f25b
Show file tree
Hide file tree
Showing 13 changed files with 1,021 additions and 517 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,14 @@ jobs:
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
with:
projectPath: ./winscript-app
tagName: ${{ github.ref_name }}
releaseName: ${{ github.ref_name }}
releaseBody: "*The desktop app may be flagged as a threat by Windows Defender; however, this is a false positive. This occurs because the scripts you create with WinScript can modify system settings. Rest assured, WinScript is safe, transparent, and open-source.*"
includeUpdaterJson: true
updaterJsonPreferNsis: true
releaseDraft: true
prerelease: false
args: ${{ matrix.args }}
Expand Down
3 changes: 2 additions & 1 deletion online/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,8 @@ document.addEventListener("DOMContentLoaded", function() {
],
ultimateperformance: [
"echo -- Activating Ultimate Performance Mode",
"powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61",
`powershell -command "$ultimatePerformance = powercfg -list | Select-String -Pattern 'Ultimate Performance'; if ($ultimatePerformance) { echo '-- - Power plan already exists' } else { echo '-- - Enabling Ultimate Performance'; $output = powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61 2>&1; if ($output -match 'Unable to create a new power scheme' -or $output -match 'The power scheme, subgroup or setting specified does not exist') { powercfg -RestoreDefaultSchemes } }"`,
`powershell -command "$ultimatePlanGUID = (powercfg -list | Select-String -Pattern 'Ultimate Performance').Line.Split()[3]; echo '-- - Activating Ultimate Performance'; powercfg -setactive $ultimatePlanGUID"`,
],
manualservices: [
"echo -- Disabling Manual Services",
Expand Down
288 changes: 154 additions & 134 deletions winscript-app/package-lock.json

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions winscript-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "winscript",
"private": true,
"version": "1.1.8",
"version": "1.1.9",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -18,6 +18,8 @@
"@tauri-apps/plugin-dialog": "^2.2.0",
"@tauri-apps/plugin-fs": "^2.2.0",
"@tauri-apps/plugin-os": "^2.2.0",
"@tauri-apps/plugin-shell": "^2.2.0"
"@tauri-apps/plugin-process": "^2.2.0",
"@tauri-apps/plugin-shell": "^2.2.0",
"@tauri-apps/plugin-updater": "^2.5.1"
}
}
12 changes: 0 additions & 12 deletions winscript-app/src-tauri/2

This file was deleted.

Loading

0 comments on commit c33f25b

Please sign in to comment.