Skip to content

Commit

Permalink
refactor: rebrand project name to Tauri Start Solid
Browse files Browse the repository at this point in the history
  • Loading branch information
riipandi committed Dec 9, 2024
1 parent afff01f commit 21dc188
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 29 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# ⚡️ Tauri Starter Template
# ⚡️ Tauri Start Solid

[![Tauri version](https://img.shields.io/badge/Tauri-v2.0.0-24C8DB.svg?logo=tauri)](https://tauri.app)
[![Rust version](https://img.shields.io/badge/rust-v1.77-orange.svg?logo=rust)](https://www.rust-lang.org)
[![CI Test](https://github.com/riipandi/tauri-tray-app/actions/workflows/ci-test.yml/badge.svg)](https://github.com/riipandi/tauri-tray-app/actions/workflows/ci-test.yml)
[![Contribution welcome](https://img.shields.io/badge/Contributions-welcome-gray.svg)](https://github.com/riipandi/tauri-tray-app/pulse)
[![CI Test](https://github.com/riipandi/tauri-start-solid/actions/workflows/ci-test.yml/badge.svg)](https://github.com/riipandi/tauri-start-solid/actions/workflows/ci-test.yml)
[![Contribution welcome](https://img.shields.io/badge/Contributions-welcome-gray.svg)](https://github.com/riipandi/tauri-start-solid/pulse)

---

This project template should help get you started developing a multi-platform desktop
application with tray menu using Tauri, SolidJS, Tailwind CSS, Typescript, and Vite.
This project template should help get you started developing a multi-platform desktop application
with tray menu support using Tauri, SolidJS, Nano Stores, Typescript, Tailwind CSS, and Vite.

## Quick Start

```sh
pnpm dlx degit riipandi/tauri-tray-app my-app
pnpm dlx degit riipandi/tauri-start-solid my-app
```

1. Install required toolchains: [Rust][rust], [Node.js][nodejs], [PNPM][pnpm], and [Lefthook][lefthook].
2. Replace the project name in the [`package.json`](./package.json), [`Cargo.toml`](./src-tauri/Cargo.toml),
and [`tauri.conf.json`](./src-tauri/tauri.conf.json) files.
3. Find and replace `tauri-tray-app`, `tauri_tray_app` and `Tauri App` strings in the source files.
3. Find and replace `tauri-start-solid`, `tauri_start_solid` and `Tauri Start Solid` strings in the source files.
4. Set application identifier and other application metadata in [`tauri.conf.json`](./src-tauri/tauri.conf.json) file.
5. Install frontend dependencies by running `pnpm install`.
6. Run `pnpm dev` to start developing.
Expand Down Expand Up @@ -58,13 +58,13 @@ to build the application in debug mode, this will enable developer tools.

### Fix Unsigned Warning (macOS)

> Warning: "Tauri App" is damaged and can't be opened.
> Warning: "Tauri Start Solid" is damaged and can't be opened.
This warning is shown because the build is not signed. Run the following command
to suppress this warning:

```sh
xattr -r -d com.apple.quarantine "/Applications/Tauri App.app"
xattr -r -d com.apple.quarantine "/Applications/Tauri Start Solid.app"
```

## Screenshots
Expand All @@ -75,7 +75,7 @@ xattr -r -d com.apple.quarantine "/Applications/Tauri App.app"
## Acknowledgements

- [Tauri Examples Repo](https://github.com/tauri-apps/tauri/tree/dev/examples)
- [tauri-tray-app-example](https://github.com/dheater/tauri-tray-app-example)
- [tauri-start-solid-example](https://github.com/dheater/tauri-start-solid-example)
- [tauri-tray-icon-animation](https://github.com/rming/tauri-tray-icon-animation)
- [tauri-tray-menu](https://github.com/rming/tauri-tray-menu)
- [tauri-window-controls](https://github.com/agmmnn/tauri-controls)
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="icon" type="image/svg+xml" href="/src/assets/logo.svg" />
<title>Tauri + Solid + Typescript App</title>
<title>Tauri Start Solid</title>
</head>
<body spellcheck="false" autocapitalize="none" aria-autocomplete="none">
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "tauri-tray-app",
"name": "tauri-start-solid",
"version": "2.0.0",
"private": true,
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "tauri-tray-app"
name = "tauri-start-solid"
version = "0.0.0"
description = "A Tauri application built with Tauri, SolidJS, and TypeScript"
authors = ["you"]
license = "MIT or Apache-2.0"
repository = "http://github.com/riipandi/tauri-tray-app"
repository = "http://github.com/riipandi/tauri-start-solid"
rust-version = "1.77"
edition = "2021"

Expand All @@ -14,7 +14,7 @@ edition = "2021"
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "tauri_tray_app_lib"
name = "tauri_start_solid_lib"
crate-type = ["staticlib", "cdylib", "rlib"]

[build-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions src-tauri/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<dict>
<key>CFBundleURLName</key>
<!-- Obviously needs to be replaced with your app's bundle identifier -->
<string>com.example.tauri-tray-app</string>
<string>com.example.tauri-start-solid</string>
<key>CFBundleURLSchemes</key>
<array>
<!-- register the tauri-tray-app:// scheme -->
<string>tauri-tray-app</string>
<!-- register the tauri-start-solid:// scheme -->
<string>tauri-start-solid</string>
</array>
</dict>
</array>
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

fn main() {
tauri_tray_app_lib::run()
tauri_start_solid_lib::run()
}
12 changes: 3 additions & 9 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Tauri App",
"identifier": "com.example.tauri-tray-app",
"productName": "Tauri Start Solid",
"identifier": "com.example.tauri-start-solid",
"version": "0.0.0",
"build": {
"beforeDevCommand": "pnpm dev:ui",
Expand All @@ -21,7 +21,7 @@
"trayIcon": null,
"windows": [
{
"title": "tauri-tray-app",
"title": "Tauri Start Solid",
"width": 800,
"height": 600
}
Expand Down Expand Up @@ -82,12 +82,6 @@
"plugins": {
"shell": {
"open": true
},
"updater": {
"active": true,
"endpoints": ["https://releases.example.com/{{target}}/{{arch}}/{{current_version}}"],
"dialog": true,
"pubkey": "YOUR_UPDATER_SIGNATURE_PUBKEY_HERE"
}
}
}

0 comments on commit 21dc188

Please sign in to comment.