Skip to content

refactor: rename src-tauri directory to desktop#4602

Draft
raineorshine with Copilot wants to merge 1 commit into
mainfrom
copilot/rename-tauri-src-to-desktop
Draft

refactor: rename src-tauri directory to desktop#4602
raineorshine with Copilot wants to merge 1 commit into
mainfrom
copilot/rename-tauri-src-to-desktop

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Rename the Tauri project directory /src-tauri/desktop to sit alongside the existing top-level android/ and ios/ platform directories.

The Tauri 2 CLI discovers tauri.conf.json by walking subfolders (up to TAURI_CLI_CONFIG_DEPTH, default 3) rather than requiring a src-tauri name, and every path inside tauri.conf.json is relative to the config's directory — so the rename requires no config-content changes, only updates to the handful of places that reference the path literally.

Changes

  • Directorygit mv src-tauri desktop (contents unchanged)
  • Lint/format ignoreseslint.config.js (**/src-tauri/****/desktop/**), .gitignore, .prettierignore
  • Version scriptscripts/set-tauri-version.mjs now resolves desktop/tauri.conf.json
  • CI — rust-cache workspaces path in tauri-release-main.yml and tauri-release-prod.yml (./src-tauri -> target./desktop -> target)

Co-authored-by: raineorshine <750276+raineorshine@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Vercel preview: https://em-f1pb1u2ol-cybersemics.vercel.app

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