Skip to content

Conversation

@co1acraft
Copy link
Contributor

@co1acraft co1acraft commented Sep 10, 2025

Noticed some complaints about the activation system being "insecure" so uh basically just fixed that

@co1acraft co1acraft requested review from bomberfish, Copilot and wearrrrr and removed request for wearrrrr September 10, 2025 13:04
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a comprehensive activation system for AnuraOS, requiring users to enter a product key to unlock certain premium features like Linux emulation. The activation system validates Windows 95-style product keys using a checksum algorithm and gates access to x86 functionality.

  • Implements a new Activation class with product key validation logic
  • Adds activation flow to the OOBE (Out of Box Experience) setup process
  • Restricts x86 emulation features to activated instances only

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/Activation.ts New activation system class with product key validation algorithm
src/Anura.ts Integrates activation system into the main Anura class
src/Boot.tsx Displays activation watermark on boot screen for unactivated instances
src/oobe/OobeView.tsx Adds product key entry screen to setup flow and disables x86 option for unactivated users
src/coreapps/SettingsApp.tsx Adds activation button and disables x86 install for unactivated users
public/index.html Includes new Activation.js script in build

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 10, 2025

Deploying anuraos with  Cloudflare Pages  Cloudflare Pages

Latest commit: a01186a
Status: ✅  Deploy successful!
Preview URL: https://c67e6682.anuraos-80n.pages.dev
Branch Preview URL: https://enhanced-activation.anuraos-80n.pages.dev

View logs

@co1acraft co1acraft mentioned this pull request Sep 10, 2025
Copy link
Member

@bomberfish bomberfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ProgrammerIn-wonderland
Copy link
Collaborator

LLYSKYS!

@Endercass
Copy link
Member

This has been merged in my spirit. Such a brilliant PR.

@co1acraft
Copy link
Contributor Author

Any possibility of this getting merged there is a lot people waiting for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants