[PR #14] [MERGED] Add auto-start on login feature #30

Closed
opened 2026-02-27 16:46:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/router-for-me/EasyCLI/pull/14
Author: @benzntech
Created: 10/27/2025
Status: Merged
Merged: 11/3/2025
Merged by: @luispater

Base: mainHead: feature/auto-start-on-login


📝 Commits (1)

  • d0859da Add auto-start on login feature

📊 Changes

6 files changed (+274 additions, -2 deletions)

View changed files

📝 js/settings-core.js (+44 -0)
📝 js/settings-init.js (+1 -0)
📝 settings.html (+13 -0)
📝 src-tauri/Cargo.lock (+12 -1)
📝 src-tauri/Cargo.toml (+3 -0)
📝 src-tauri/src/main.rs (+201 -1)

📄 Description

Summary

Implemented platform-specific auto-start functionality to launch EasyCLI automatically when the user logs in.

Changes

  • Added "Start at Login" toggle in Settings UI (Basic Settings tab)
  • Implemented backend commands: check_auto_start_enabled, enable_auto_start, disable_auto_start
  • Platform-specific implementations:
    • macOS: LaunchAgent plist in ~/Library/LaunchAgents/
    • Linux: .desktop file in ~/.config/autostart/
    • Windows: Registry entry in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
  • Auto-loads current status on settings page load
  • Immediate toggle with success/error feedback
  • Added winreg dependency for Windows registry support

Impact

This ensures the application starts automatically after system reboot, improving user experience.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/router-for-me/EasyCLI/pull/14 **Author:** [@benzntech](https://github.com/benzntech) **Created:** 10/27/2025 **Status:** ✅ Merged **Merged:** 11/3/2025 **Merged by:** [@luispater](https://github.com/luispater) **Base:** `main` ← **Head:** `feature/auto-start-on-login` --- ### 📝 Commits (1) - [`d0859da`](https://github.com/router-for-me/EasyCLI/commit/d0859da4b8dfca9346b1ba1454dc240231ef7236) Add auto-start on login feature ### 📊 Changes **6 files changed** (+274 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `js/settings-core.js` (+44 -0) 📝 `js/settings-init.js` (+1 -0) 📝 `settings.html` (+13 -0) 📝 `src-tauri/Cargo.lock` (+12 -1) 📝 `src-tauri/Cargo.toml` (+3 -0) 📝 `src-tauri/src/main.rs` (+201 -1) </details> ### 📄 Description ## Summary Implemented platform-specific auto-start functionality to launch EasyCLI automatically when the user logs in. ## Changes - Added "Start at Login" toggle in Settings UI (Basic Settings tab) - Implemented backend commands: `check_auto_start_enabled`, `enable_auto_start`, `disable_auto_start` - Platform-specific implementations: - **macOS**: LaunchAgent plist in `~/Library/LaunchAgents/` - **Linux**: .desktop file in `~/.config/autostart/` - **Windows**: Registry entry in `HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run` - Auto-loads current status on settings page load - Immediate toggle with success/error feedback - Added `winreg` dependency for Windows registry support ## Impact This ensures the application starts automatically after system reboot, improving user experience. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 16:46:50 +03:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/EasyCLI#30
No description provided.