102 Commits

Author SHA1 Message Date
煎饼果子卷鲨鱼辣椒
deb1aafcb5 chore: improve auto-tag workflow with enhanced output verification and debugging
- Updated the output redirection for the generated version to use quotes for better compatibility.
- Enhanced debug output to provide clearer visibility into step and job outputs, aiding in troubleshooting.
- Added a verification step to display the contents of GITHUB_OUTPUT, ensuring the version value is correctly set before proceeding to the release job.
- Refined the conditional execution for the release job to ensure it runs only when the auto-tag job succeeds and a version is generated.
v0.0.15
2024-12-30 18:44:19 +08:00
煎饼果子卷鲨鱼辣椒
c4ecb7cede chore: refine auto-tag workflow with version output and enhanced debugging
- Changed output variable from 'new_tag' to 'version' for clarity in the auto-tag job.
- Introduced a new version variable to store the generated version, improving readability.
- Added debug steps to output version information and job outputs, aiding in troubleshooting.
- Updated validation step to provide clearer error messages and confirmation of version validation success.
v0.0.14
2024-12-30 18:42:18 +08:00
煎饼果子卷鲨鱼辣椒
6fb415bfcb chore: enhance auto-tag workflow with version validation and error handling
- Added error handling for git fetch command to ensure workflow fails on tag fetch issues.
- Introduced a validation step to check the format of the new version tag, ensuring it adheres to semantic versioning.
- Updated the conditional execution for the release job to prevent running if no new tag is generated, improving workflow reliability.
v0.0.13
2024-12-30 18:39:38 +08:00
煎饼果子卷鲨鱼辣椒
f440f47e57 chore: update GitHub Actions workflows to use latest action versions and streamline release process
- Upgraded checkout action from v3 to v4 in both auto-tag.yml and release.yml for improved performance.
- Updated setup-go action from v4 to v5 and goreleaser action from v4 to v5 to leverage the latest features.
- Changed the release job to inherit secrets instead of explicitly defining them, enhancing security.
- Added environment specification for the goreleaser job and refined the conditional execution for the release process.
2024-12-30 18:38:14 +08:00
煎饼果子卷鲨鱼辣椒
32a30afaeb chore: enhance GoReleaser and GitHub Actions workflows for GPG signing
- Added GPG signing configuration in .goreleaser.yml to support artifact signing for all artifacts.
- Updated release.yml to enforce GPG signing by setting global Git configuration options for signing commits and tags.
- Improved the signing process by utilizing the GPG fingerprint from environment variables, enhancing security and flexibility.
v0.0.12
2024-12-30 18:35:17 +08:00
煎饼果子卷鲨鱼辣椒
d7fa7a1442 chore: update GitHub Actions workflows to use Ubuntu 22.04 and rename tag input
- Changed the runner environment from 'ubuntu-latest' to 'ubuntu-22.04' in both auto-tag.yml and release.yml for consistency and to ensure compatibility with the latest features.
- Renamed the input parameter from 'tag' to 'version' in release.yml to improve clarity regarding its purpose in the release process.
v0.0.11
2024-12-30 18:33:33 +08:00
煎饼果子卷鲨鱼辣椒
622f681377 chore: update GitHub Actions workflows to enforce required secrets for release process
- Explicitly defined RELEASE_TOKEN, GPG_PRIVATE_KEY, and PASSPHRASE as required secrets in both auto-tag.yml and release.yml to enhance security.
- Updated the release.yml to require a tag input for the release process, ensuring clarity in workflow execution.
- Adjusted the GPG key import step to utilize the defined secrets, improving the reliability of the signing process.
v0.0.10
2024-12-30 18:31:37 +08:00
煎饼果子卷鲨鱼辣椒
9690adf5a4 chore: downgrade action versions in GitHub workflows for compatibility
- Changed checkout action from v4 to v3 in both auto-tag.yml and release.yml for consistency.
- Downgraded setup-go action from v5 to v4 and goreleaser action from v5 to v4 to ensure compatibility with existing configurations.
- Removed explicit secrets definitions in auto-tag.yml, allowing the workflow to inherit secrets for improved security.
2024-12-30 18:29:50 +08:00
煎饼果子卷鲨鱼辣椒
5ab9a96c32 chore: update auto-tag workflow to explicitly define secrets for enhanced security
- Added explicit definitions for RELEASE_TOKEN, GPG_PRIVATE_KEY, and PASSPHRASE in the auto-tag.yml workflow.
- This change improves security by ensuring that necessary secrets are clearly specified for the release process.
2024-12-30 18:28:46 +08:00
煎饼果子卷鲨鱼辣椒
01a932f3e5 chore: enhance GitHub Actions workflows with GPG key input for signing releases
- Added an optional input for GPG private key in release.yml to support signing releases.
- Updated the conditional check for GPG key import to utilize the new input, improving flexibility and maintainability.
- Ensured that the auto-tag workflow inherits secrets for better security practices.
2024-12-30 18:18:04 +08:00
煎饼果子卷鲨鱼辣椒
a8765f85a7 chore: update GitHub Actions workflows to latest action versions and enhance release configuration
- Upgraded checkout action from v3 to v4 in both auto-tag.yml and release.yml for improved performance.
- Added optional input for GPG private key in release.yml to support signing releases.
- Updated setup-go action from v4 to v5 and goreleaser action from v4 to v5, ensuring compatibility with the latest features.
- Changed GoReleaser version specification to 'latest' for automatic updates.
2024-12-30 18:16:05 +08:00
煎饼果子卷鲨鱼辣椒
e65c5f5fa8 chore: update GitHub Actions workflow to streamline release process
- Removed explicit permissions and secrets from auto-tag.yml, inheriting them instead for improved security and simplicity.
- Added a conditional check for the release job to only run on successful completion of the auto-tag job, enhancing workflow reliability.
2024-12-30 18:14:28 +08:00
煎饼果子卷鲨鱼辣椒
c681b2473c chore: clean up GitHub Actions workflow by removing debug steps and standardizing GPG key import condition
- Removed the debug files step from release.yml to streamline the workflow.
- Standardized the conditional check for GPG key import to improve clarity and maintainability.
2024-12-30 18:13:28 +08:00
煎饼果子卷鲨鱼辣椒
e0db041e93 chore: enhance GoReleaser configuration and GitHub Actions workflows for GPG signing
- Added GPG signing configuration to .goreleaser.yml to support artifact signing.
- Updated auto-tag.yml and release.yml to include necessary secrets for GPG signing, enhancing security and functionality.
- Ensured that GPG keys and passphrase are conditionally utilized in the release process.
2024-12-30 18:10:00 +08:00
煎饼果子卷鲨鱼辣椒
dff58fb4fb chore: update GitHub Actions workflows for permissions and token usage
- Changed permissions in auto-tag.yml and release.yml to 'write-all' for broader access.
- Updated GITHUB_TOKEN to use RELEASE_TOKEN in both workflows for enhanced security.
- Streamlined the workflows by removing redundant permission specifications.
v0.0.9
2024-12-30 18:07:39 +08:00
煎饼果子卷鲨鱼辣椒
fa53723283 chore: update GitHub Actions workflows for auto-tagging and release processes
- Updated permissions in both auto-tag.yml and release.yml to include write access for issues and pull requests.
- Changed the checkout action version from v4 to v3 in both workflows for consistency.
- Updated Go setup action version from v5 to v4 and specified the Go version as "1.21".
- Adjusted GPG import action version from v6 to v5.
- Updated GoReleaser action version from v5 to v4 and specified the release version as v1.21.2.
- Standardized string quotes in YAML files for consistency.
v0.0.8
2024-12-30 18:03:05 +08:00
煎饼果子卷鲨鱼辣椒
778f48e57a
Merge pull request #85 from dacrab/master
commit request
v0.0.7
2024-12-30 17:27:59 +08:00
煎饼果子卷鲨鱼辣椒
835bcfc60c
Merge branch 'master' into master 2024-12-30 17:27:46 +08:00
煎饼果子卷鲨鱼辣椒
1b8aeb4b81 docs: Enhance README.md with new section for public WeChat account and additional resources
- Added a new section to promote the WeChat public account for updates and programming tips.
- Included a QR code image for easy access to the WeChat account.
- This update aims to improve user engagement and provide more resources for developers.
2024-12-30 01:01:50 +08:00
dacrab
ad7ae6fa58 feat: enhance installation script with requirement checks and streamlined download process
- Added a function to check for required commands (curl).
- Simplified the download function to exclusively use curl for downloading assets.
- Improved error handling and user feedback when fetching the latest release information.
- Updated the main installation function to construct the binary name directly and provide clearer output during the installation process.
2024-12-29 16:51:01 +02:00
Vaggelis kavouras
a9094d34dd docs: enhance Windows installation instructions and features in README.md; improve PowerShell script for admin rights detection and user feedback
- Updated README.md to include new Windows installation features and manual installation instructions.
- Enhanced PowerShell installation script (install.ps1) to detect PowerShell version, handle elevation more effectively, and provide clearer user prompts for admin rights.
2024-12-29 00:39:01 +02:00
Vaggelis kavouras
ee2532175a fix: streamline Windows binary extension handling in configuration
- Removed the redundant assignment of the ".exe" extension in .goreleaser.yml.
- Added conditional assignment of the ".exe" extension in build_all.bat to ensure clarity and consistency in binary naming for Windows builds.
2024-12-29 00:14:35 +02:00
Vaggelis kavouras
0f0d1c7d6f fix: remove redundant extension assignment in build script
- Eliminated the unnecessary assignment of the ".exe" extension for Windows in build_all.bat to streamline the script and avoid confusion regarding binary naming conventions.
2024-12-29 00:11:40 +02:00
Vaggelis kavouras
fc9ebdec98 fix: correct binary name duplication in PowerShell installation script
- Removed redundant ".exe" suffix from binary names in install.ps1 to ensure unique and accurate naming for Windows binaries based on architecture.
2024-12-29 00:08:04 +02:00
Vaggelis kavouras
96af6471e4 fix: improve user feedback and error handling in installation scripts and language support
- Removed unnecessary print statement in main.go to streamline output.
- Updated language strings in lang.go to include newline characters for better formatting.
- Enhanced PowerShell installation script (install.ps1) with improved error handling and user prompts for admin rights.
- Modified shell installation script (install.sh) to provide clearer error messages and find matching assets for different architectures.
2024-12-29 00:04:28 +02:00
Vaggelis kavouras
947d11fbc6 refactor: streamline configuration management and enhance UI interactions
- Updated go.mod and go.sum to include necessary dependencies.
- Refactored README.md for clearer installation instructions and improved formatting.
- Enhanced main.go with better error handling and user feedback during execution.
- Improved configuration management in config.go, ensuring atomic writes and better error handling.
- Updated language support in lang.go for clearer user messages.
- Enhanced process management in manager.go to ensure more reliable process termination.
- Improved UI display methods for better user experience.
- Removed outdated test file generator_test.go to clean up the codebase.
- Updated install.ps1 script for better output formatting and error handling.
2024-12-28 23:52:24 +02:00
dacrab
56f09677ca feat: improve process management for auto-closing Cursor instances 2024-12-27 13:53:36 +02:00
dacrab
9d41a9a2c7 feat: add cyberpunk logo and auto-execute after install 2024-12-27 13:50:01 +02:00
dacrab
b3e748554f fix: ensure unique binary names for all platforms 2024-12-27 13:44:43 +02:00
dacrab
1f1f4144bb fix: update release file names and install scripts 2024-12-27 13:42:42 +02:00
dacrab
62129aa239 ci: simplify release artifacts to direct binaries 2024-12-27 13:35:32 +02:00
dacrab
f96a71f909 docs: update installation links to use correct repository 2024-12-27 13:32:53 +02:00
dacrab
fa364cb3ce ci: improve file handling in release workflow 2024-12-27 13:27:57 +02:00
dacrab
ab4806bc2e chore: add MIT license 2024-12-27 13:13:31 +02:00
dacrab
98d60390f5 fix: update version injection in goreleaser config 2024-12-27 13:12:31 +02:00
dacrab
2617a8ece8 fix: update go module dependencies 2024-12-27 13:09:20 +02:00
dacrab
e54f1236ec ci: make release workflow reusable and call it from auto-tag 2024-12-27 13:07:03 +02:00
dacrab
98537b94f9 ci: improve workflow reliability and error handling 2024-12-27 13:05:04 +02:00
dacrab
17c2cb9c2a ci: simplify and fix workflows 2024-12-27 13:02:56 +02:00
dacrab
78ea5908db fix: update repository paths and improve release config 2024-12-27 12:56:03 +02:00
dacrab
114ac32618 fix: update goreleaser config to fix build errors 2024-12-27 12:54:04 +02:00
dacrab
23295a049d ci: add automatic version tagging workflow 2024-12-27 12:51:16 +02:00
dacrab
992941fc68 feat: add version flag and fix gitignore 2024-12-27 12:50:02 +02:00
dacrab
4dc0034165 fix: update goreleaser config to latest format 2024-12-27 12:42:19 +02:00
dacrab
dae6dbcdaa Remove Makefile and update README for improved clarity and installation instructions
- Deleted the Makefile as it was no longer needed for the build process.
- Enhanced the README with clearer installation instructions, including a one-click solution for Linux/macOS and Windows.
- Improved formatting and added details for system support and configuration files.
- Updated the project stats section for better visibility.

These changes streamline the documentation and improve user experience for installation and usage of the Cursor ID Modifier tool.
2024-12-27 12:33:52 +02:00
dacrab
99e31a7bba chore: Refactor build and installation scripts; update configuration and release process
- Enhanced build scripts for improved parallel execution and optimization flags.
- Updated installation scripts for better user experience and error handling.
- Modified .gitignore to include new build artifacts and IDE configurations.
- Updated .goreleaser.yml for better release management and platform support.
- Removed deprecated main.go file and adjusted README for clarity on installation and usage.
- Added support for multiple architectures in build process, including 32-bit and 64-bit for Windows, macOS, and Linux.

These changes streamline the development workflow and enhance the overall usability of the Cursor ID Modifier tool.
2024-12-27 02:05:35 +02:00
煎饼果子卷鲨鱼辣椒
d8e2714c1c refactor: Update machineId generation to support 74-character format
BREAKING CHANGE: machineId format has been updated to generate 74-character hex strings
Technical Analysis:
 Decoded sample ID reveals structured format:
 61757468307c757365725f3031... => "auth0|user_01..."
 Contains identifiable prefix and separator pattern
 Includes encoded user identification information
Changes:
 Modified generateMachineId() to produce 74-character hex strings (37 bytes)
 Updated related documentation and comments
 Ensured compatibility with Cursor v0.44.0 requirements
 Removed legacy format handling code
Format Example:
1757468307c757365725f30314a4552464a514639364237464b44583934484a4831374452
─ Hex encoded string containing auth0 prefix and user information
Note: New format provides enhanced uniqueness and metadata capabilities
Reference:
Thanks to 🙏[Huaguang]佬友 for the analysis: https://linux.do/t/topic/287438/148
 Cursor version: 0.44+
v0.0.6
2024-12-19 16:01:14 +08:00
煎饼果子卷鲨鱼辣椒
ab08227350 feat: Update StorageConfig and ID generation logic
- Modified NewStorageConfig to use different ID generation functions for TelemetryMacMachineId and TelemetryMachineId, ensuring machineId uses a new format while others retain the old format.
- Enhanced saveConfig to read the original configuration file, preserving all fields while updating telemetry-related fields.
- Added lastModified and version fields to the configuration if they do not exist, improving configuration management.
- Introduced a new generateMacMachineId function for consistent ID generation.

These changes improve the flexibility and maintainability of the storage configuration handling.
v0.0.5
2024-12-19 15:36:41 +08:00
煎饼果子卷鲨鱼辣椒
5ee2265958
Merge pull request #56 from sshallow/fix-readme-issue
fix: Add chmod +x instruction in README for Linux/macOS manual installation
2024-12-19 15:24:47 +08:00
煎饼果子卷鲨鱼辣椒
cc3388ae10 docs: Update Star History section in README.md to include Repobeats for improved project visibility 2024-12-19 06:02:18 +08:00