Skip to content

Add attribution script#10

Merged
ryanlua merged 1 commit intomainfrom
attribution
Dec 6, 2025
Merged

Add attribution script#10
ryanlua merged 1 commit intomainfrom
attribution

Conversation

@ryanlua
Copy link
Owner

@ryanlua ryanlua commented Dec 6, 2025

This pull request adds an attribution and license notice script for the Purse project. The script ensures that users are informed about the licensing requirements and proper crediting for using Purse.

License and attribution enforcement:

  • Added a new script, Attribution.client.luau, which displays a license notice for Purse and outlines the requirements for attribution or credit when using the project. The script prints a version and author message when not running in Studio mode.

Signed-off-by: GitHub <noreply@github.com>
Copilot AI review requested due to automatic review settings December 6, 2025 08:39
@ryanlua ryanlua self-assigned this Dec 6, 2025
Copy link
Contributor

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 pull request adds an attribution and license enforcement script to ensure proper crediting when using the Purse project. The script displays a version and author message in production environments and provides clear licensing terms for users.

  • Added Attribution.client.luau with Apache 2.0 license notice and attribution requirements
  • Implemented conditional printing to display version and author information outside of Studio
  • Provided three attribution compliance options for users of the library

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

local RunService = game:GetService("RunService")

if not RunService:IsStudio() then
print("👛 Running Purse v1.1.0 by @WinnersTakesAll")
Copy link

Copilot AI Dec 6, 2025

Choose a reason for hiding this comment

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

The version number "v1.1.0" appears to be inconsistent with the version specified in wally.toml, which is currently "1.0.1". Consider using a consistent version number or implement a mechanism to automatically sync the version across files to avoid maintenance issues.

Suggested change
print("👛 Running Purse v1.1.0 by @WinnersTakesAll")
print("👛 Running Purse v1.0.1 by @WinnersTakesAll")

Copilot uses AI. Check for mistakes.
@ryanlua ryanlua merged commit c835554 into main Dec 6, 2025
10 checks passed
@ryanlua ryanlua deleted the attribution branch December 6, 2025 08:42
@ryanlua ryanlua added this to the v1.1.0 milestone Dec 6, 2025
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.

1 participant