Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 24, 2025

The flutter_tracker requires Flutter SDK, system libraries, and native compilation before run.sh can execute. This adds an installation script to automate the complete setup.

Changes

install.sh (225 lines)

  • Verifies Linux/X11environment
  • Installs system dependencies: libx11-dev, libxi-dev, libxtst-dev, build-essential, Flutter utilities
  • Clones Flutter SDK (stable) if not present, configures PATH permanently
  • Enables Linux desktop support, runs flutter doctor with timeout
  • Compiles native library via linux/build.sh
  • Runs flutter pub get for Dart dependencies

Usage

cd flutter_tracker
./install.sh
./run.sh  # Now works

Implementation notes

  • Uses dpkg-query for reliable package detection
  • Handles partial installations gracefully (skips installed packages, reuses existing Flutter)
  • 120s timeout on flutter doctor prevents hangs
  • PATH detection pattern avoids duplicate entries: export PATH=.*flutter/bin
  • Errors exit immediately (set -e) with clear messages
Original prompt

create an install.sh file for the flutter_tracker that installs flutter and anything else needed so the run.sh command will work


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 4 commits November 24, 2025 17:28
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Copilot AI changed the title [WIP] Create install script for flutter_tracker Add install.sh for flutter_tracker setup automation Nov 24, 2025
Copilot AI requested a review from DonnieBLT November 24, 2025 17:38
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