Skip to content

Launcher updates#27

Merged
NCCU-Schultz-Lab merged 5 commits into
mainfrom
launcher-updates
Jul 22, 2026
Merged

Launcher updates#27
NCCU-Schultz-Lab merged 5 commits into
mainfrom
launcher-updates

Conversation

@NCCU-Schultz-Lab

@NCCU-Schultz-Lab NCCU-Schultz-Lab commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

This pull request reorganizes and improves the project's launcher scripts for better maintainability and cross-platform support. All launcher scripts have been moved into a new launchers/ folder, with updates to their logic for more robust detection of the repository root and conda environments. Documentation and references throughout the project have been updated to reflect these changes, and the launchers now support a wider range of conda installations across Windows, macOS, and Linux/WSL.

Launcher script reorganization:

  • All platform-specific launcher scripts (.bat, .sh, .command) have been moved from the repository root into a new launchers/ folder to reduce clutter and improve organization. References in documentation and shortcuts have been updated accordingly.

Cross-platform improvements and conda detection:

  • Launcher scripts for Windows (.bat), macOS (.command), and Linux/WSL (.sh) now robustly detect the repository root (by resolving their own location and moving up a directory) so they work regardless of the user's current working directory.
  • All launchers now auto-detect the user's conda installation (supporting miniforge, miniconda, and anaconda in various locations) instead of assuming a fixed path, improving out-of-the-box compatibility.

Documentation updates:

  • The README.md and other documentation files have been updated to reference the new launcher locations and to clarify platform-specific usage instructions, including best practices for WSL users.
  • The .github/copilot-instructions.md and CHANGELOG.md have been updated to reflect the new launcher organization and usage patterns.

Launcher logic improvements:

  • The Windows launchers now resolve the location of quantui.sif more flexibly, supporting both student downloads and developer builds.
  • The launchers ensure that all paths and environment setups are correct for each platform, reducing the likelihood of user error or environment misconfiguration.

These changes collectively make the project easier to use and maintain across all supported platforms.

NCCU-Schultz-Lab and others added 2 commits July 21, 2026 18:20
Declutter the repo root by consolidating all 7 launcher scripts into a
launchers/ folder. Behaviour is unchanged — each launcher now resolves the
repo root as its parent directory:

- Shell launchers (launch-native.sh/.command, launch-native-jupyter.sh) cd
  to /..; the jupyter worker is now self-locating.
- Windows .bat launchers compute the repo root via %~dp0.. and point the
  jupyter worker at ./launchers/launch-native-jupyter.sh.
- launch-app.bat still finds quantui.sif next to itself (student download)
  or in the repo root (dev build).

Updated all references in README.md, apptainer/README.md,
copilot-instructions.md, .gitignore, the offline-startup test comment, and
added a CHANGELOG entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@NCCU-Schultz-Lab

Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Resolved in 03af188 and finalized with follow-up cleanup in 6540ca1.

@NCCU-Schultz-Lab
NCCU-Schultz-Lab merged commit 6c7e61c into main Jul 22, 2026
5 checks passed
@NCCU-Schultz-Lab
NCCU-Schultz-Lab deleted the launcher-updates branch July 22, 2026 14:03
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.

2 participants