From 0773f41383f05c11e280e7bd27e6944774a64308 Mon Sep 17 00:00:00 2001 From: Thedogecraft Date: Wed, 3 Jan 2024 17:57:13 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8Updated=20Files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 2 - .gitignore | 120 --------------------------------- LICENSE | 1 + README.md | 77 +++++++++++++-------- assets/{icon.ico => icon2.ico} | Bin index.html | 2 +- main.js | 8 +++ package-lock.json | 4 +- package.json | 4 +- script.js | 2 +- styles.css | 2 +- 11 files changed, 64 insertions(+), 158 deletions(-) delete mode 100644 .gitattributes rename assets/{icon.ico => icon2.ico} (100%) diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index dfe0770..0000000 --- a/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -# Auto detect text files and perform LF normalization -* text=auto diff --git a/.gitignore b/.gitignore index 5279f00..95bf294 100644 --- a/.gitignore +++ b/.gitignore @@ -1,39 +1,3 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* -.pnpm-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage -*.lcov - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript # Compiled binary addons (https://nodejs.org/api/addons.html) build/Release @@ -43,87 +7,3 @@ node_modules/ jspm_packages/ build/ buildd/ - -# Snowpack dependency directory (https://snowpack.dev/) -web_modules/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional stylelint cache -.stylelintcache - -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variable files -.env -.env.development.local -.env.test.local -.env.production.local -.env.local - -# parcel-bundler cache (https://parceljs.org/) -.cache -.parcel-cache - -# Next.js build output -.next -out - -# Nuxt.js build / generate output -.nuxt -dist - -# Gatsby files -.cache/ -# Comment in the public line in if your project uses Gatsby and not Next.js -# https://nextjs.org/blog/next-9-1#public-directory-support -# public - -# vuepress build output -.vuepress/dist - -# vuepress v2.x temp and cache directory -.temp -.cache - -# Serverless directories -.serverless/ - -# FuseBox cache -.fusebox/ - -# DynamoDB Local files -.dynamodb/ - -# TernJS port file -.tern-port - -# Stores VSCode versions used for testing VSCode extensions -.vscode-test - -# yarn v2 -.yarn/cache -.yarn/unplugged -.yarn/build-state.yml -.yarn/install-state.gz -.pnp.* diff --git a/LICENSE b/LICENSE index 9d0e9ad..3f5086d 100644 --- a/LICENSE +++ b/LICENSE @@ -17,3 +17,4 @@ By downloading, copying, or using this software in any manner, you are agreeing Parcoil owns all the intellectual property rights and materials contained in this software. All Parcoil content, such as text, graphics, logos, button icons, images, audio clips, digital downloads, data compilations, and software, is the property of Parcoil or its content suppliers and protected by international copyright laws. The compilation of all content on this site is the exclusive property of Parcoil, with copyright authorship for this collection by Parcoil, and protected by international copyright laws. + diff --git a/README.md b/README.md index bf218ee..dfd86ba 100644 --- a/README.md +++ b/README.md @@ -1,45 +1,64 @@ -# Sparkle - โœจ The Finest Windows Optimizer โœจ + + -![Sparkle Logo](sparkle-logo.png) + +
-**Sparkle** is a powerful and user-friendly Windows optimizer designed to enhance your computer's performance and keep it running smoothly. Say goodbye to sluggishness and hello to a faster, more efficient Windows experience! + Sparkle Logo +
-## Features -- โœจ **Comprehensive Optimization**: Sparkle covers all aspects of Windows optimization, from cleaning up junk files to optimizing system settings. -- ๐Ÿงน **Junk File Cleanup**: Remove temporary files, cache, and other unnecessary data that clogs up your storage. -- ๐Ÿš€ **System Speedup**: Boost your PC's speed by optimizing startup programs and system resources. -- ๐Ÿ› ๏ธ **Registry Cleanup**: Fix registry errors to improve system stability and performance. -- ๐ŸŒ **Internet Speed Booster**: Optimize your internet connection for faster browsing and downloads. -- ๐Ÿ”„ **Automatic Updates**: Stay up-to-date with the latest performance improvements and bug fixes. +

Sparkle - โœจ The Finest Windows Optimizer โœจ

-## Installation +

Sparkle is a powerful and user-friendly Windows optimizer designed to enhance your computer's performance and keep it running smoothly. Say goodbye to sluggishness and hello to a faster, more efficient Windows experience!

-1. Download the latest Sparkle installer from the [official website](https://www.sparkleoptimizer.com/download). -2. Run the installer and follow the on-screen instructions. -3. Launch Sparkle after installation and let it scan your system for optimization opportunities. +

Features

-## Usage + -1. Launch Sparkle and click the "Scan Now" button to analyze your system. -2. Review the scan results and select the optimization options you want to apply. -3. Click "Optimize Now" to start the optimization process. -4. Sparkle will automatically apply the selected optimizations and provide a summary of the improvements made. +

Installation

-## Support and Feedback +
    +
  1. Download the latest Sparkle installer from the official website.
  2. +
  3. Run the installer and follow the on-screen instructions.
  4. +
  5. Launch Sparkle after installation and let it scan your system for optimization opportunities.
  6. +
-If you encounter any issues, have questions, or want to provide feedback, please reach out to our support team: +

Usage

-- **Website**: [https://www.sparkleoptimizer.com](https://www.sparkleoptimizer.com) -- **Email**: support@sparkleoptimizer.com -- **Twitter**: [@SparkleOptimizer](https://twitter.com/SparkleOptimizer) +
    +
  1. Launch Sparkle and click the "Scan Now" button to analyze your system.
  2. +
  3. Review the scan results and select the optimization options you want to apply.
  4. +
  5. Click "Optimize Now" to start the optimization process.
  6. +
  7. Sparkle will automatically apply the selected optimizations and provide a summary of the improvements made.
  8. +
-We value your input and are committed to making Sparkle the best Windows optimizer on the market. +

Support and Feedback

-## License +

If you encounter any issues, have questions, or want to provide feedback, please reach out to our support team:

-Sparkle is available under the [MIT License](LICENSE). + -Thank you for choosing Sparkle to keep your Windows PC running smoothly and efficiently. We hope you enjoy the optimized experience! โœจ +

We value your input and are committed to making Sparkle the best Windows optimizer on the market.

+ +

License

+ +

The license is here License.

+ +
+ +

Thank you for choosing Sparkle to keep your Windows PC running smoothly and efficiently. We hope you enjoy the optimized experience! โœจ

+ + + diff --git a/assets/icon.ico b/assets/icon2.ico similarity index 100% rename from assets/icon.ico rename to assets/icon2.ico diff --git a/index.html b/index.html index 55090a0..7a281c2 100644 --- a/index.html +++ b/index.html @@ -239,4 +239,4 @@

Ram Usage

text-shadow: 0 0 3px yellow, 0 0 4px yellow; } } - \ No newline at end of file + diff --git a/main.js b/main.js index 55cd3bf..74e983b 100644 --- a/main.js +++ b/main.js @@ -7,9 +7,17 @@ const os = require('os'); const DiscordRPC = require('discord-rpc'); const client = new DiscordRPC.Client({ transport: 'ipc' }); const clientId = '1188686354490609754'; +const { app, autoUpdater, dialog } = require('electron'); let win; let tray = null; +autoUpdater.setFeedURL({ + provider: 'github', + repo: 'sparkle', + owner: 'parcoil', + token: 'your-github-access-token', // if needed for private repo +}); + // Function to update Discord RPC presence function updateDiscordRPC(ramUsage) { client.setActivity({ diff --git a/package-lock.json b/package-lock.json index 6d6194e..33b8f6f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sparkle", - "version": "1.0.3", + "version": "1.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sparkle", - "version": "1.0.3", + "version": "1.0.4", "dependencies": { "discord-rpc": "^4.0.1", "electron-updater": "^6.1.7" diff --git a/package.json b/package.json index e602bf5..14886ee 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "electron-builder": "^22.14.13" }, "dependencies": { - "electron-updater": "^6.1.7", - "discord-rpc": "^4.0.1" + "discord-rpc": "^4.0.1", + "electron-updater": "^6.1.7" }, "build": { "appId": "com.parcoil.sparkle", diff --git a/script.js b/script.js index cccac66..80be7fe 100644 --- a/script.js +++ b/script.js @@ -46,4 +46,4 @@ ipcRenderer.on('ram-usage', (event, ramUsage) => { usedRamSpan.textContent = used; progressBar.style.width = usedPercentage + '%'; progressBar.setAttribute('aria-valuenow', usedPercentage); -}); +}); \ No newline at end of file diff --git a/styles.css b/styles.css index 8fb2658..280306a 100644 --- a/styles.css +++ b/styles.css @@ -82,4 +82,4 @@ body { } body::-webkit-scrollbar { display: none; -} +} \ No newline at end of file