renamed the app to frangipane ^^

This commit is contained in:
2026-01-14 11:54:20 +01:00
parent 9e6f8630fa
commit e542cd80d8
18 changed files with 44 additions and 44 deletions

View File

@@ -1,4 +1,4 @@
# chatapp frontend # Frangpiane client
`yarn` `yarn`

View File

@@ -7,7 +7,7 @@
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
/> />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>chatapp</title> <title>Frangipane</title>
</head> </head>
<body> <body>

View File

@@ -1,7 +1,7 @@
{ {
"name": "chatapp", "name": "frangipane-client",
"private": true, "private": true,
"version": "1.0.3", "version": "0.1.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

34
src-tauri/Cargo.lock generated
View File

@@ -435,23 +435,6 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
[[package]]
name = "chatapp"
version = "1.0.0"
dependencies = [
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-dialog",
"tauri-plugin-fs",
"tauri-plugin-http",
"tauri-plugin-opener",
"tauri-plugin-store",
"tauri-plugin-upload",
"tauri-plugin-websocket",
]
[[package]] [[package]]
name = "chrono" name = "chrono"
version = "0.4.42" version = "0.4.42"
@@ -1033,6 +1016,23 @@ dependencies = [
"percent-encoding", "percent-encoding",
] ]
[[package]]
name = "frangipane"
version = "0.1.0"
dependencies = [
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-dialog",
"tauri-plugin-fs",
"tauri-plugin-http",
"tauri-plugin-opener",
"tauri-plugin-store",
"tauri-plugin-upload",
"tauri-plugin-websocket",
]
[[package]] [[package]]
name = "futf" name = "futf"
version = "0.1.5" version = "0.1.5"

View File

@@ -1,8 +1,8 @@
[package] [package]
name = "chatapp" name = "frangipane"
version = "1.0.0" version = "0.1.0"
description = "A Tauri App" description = "Frangipane messaging app"
authors = ["you"] authors = ["eiiko6"]
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -11,7 +11,7 @@ edition = "2021"
# The `_lib` suffix may seem redundant but it is necessary # The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name. # 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 # This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "chatapp_lib" name = "frangipane_lib"
crate-type = ["staticlib", "cdylib", "rlib"] crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies] [build-dependencies]

View File

@@ -19,7 +19,7 @@
"url": "http://192.168.1.183:*" "url": "http://192.168.1.183:*"
}, },
{ {
"url": "https://alatreon.org/chatapp/*" "url": "https://alatreon.org/frangipane/*"
} }
], ],
"deny": [] "deny": []
@@ -34,7 +34,7 @@
"url": "http://192.168.1.183:*" "url": "http://192.168.1.183:*"
}, },
{ {
"url": "wss://alatreon.org/chatapp/*" "url": "wss://alatreon.org/frangipane/*"
} }
] ]
}, },

View File

@@ -1,4 +1,4 @@
/src/main/java/com/strawberries/chatapp/generated /src/main/java/com/strawberries/frangipane/generated
/src/main/jniLibs/**/*.so /src/main/jniLibs/**/*.so
/src/main/assets/tauri.conf.json /src/main/assets/tauri.conf.json
/tauri.build.gradle.kts /tauri.build.gradle.kts

View File

@@ -16,10 +16,10 @@ val tauriProperties = Properties().apply {
android { android {
compileSdk = 36 compileSdk = 36
namespace = "com.strawberries.chatapp" namespace = "com.strawberries.frangipane"
defaultConfig { defaultConfig {
manifestPlaceholders["usesCleartextTraffic"] = "false" manifestPlaceholders["usesCleartextTraffic"] = "false"
applicationId = "com.strawberries.chatapp" applicationId = "com.strawberries.frangipane"
minSdk = 24 minSdk = 24
targetSdk = 36 targetSdk = 36
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt() versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()

View File

@@ -9,7 +9,7 @@
<application <application
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/Theme.chatapp" android:theme="@style/Theme.frangipane"
android:usesCleartextTraffic="${usesCleartextTraffic}"> android:usesCleartextTraffic="${usesCleartextTraffic}">
<activity <activity
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"

View File

@@ -1,4 +1,4 @@
package com.strawberries.chatapp package com.strawberries.frangipane
import android.os.Bundle import android.os.Bundle
import androidx.activity.enableEdgeToEdge import androidx.activity.enableEdgeToEdge

View File

@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools"> <resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. --> <!-- Base application theme. -->
<style name="Theme.chatapp" parent="Theme.MaterialComponents.DayNight.NoActionBar"> <style name="Theme.frangipane" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Customize your theme here. --> <!-- Customize your theme here. -->
</style> </style>
</resources> </resources>

View File

@@ -1,4 +1,4 @@
<resources> <resources>
<string name="app_name">chatapp</string> <string name="app_name">frangipane</string>
<string name="main_activity_title">chatapp</string> <string name="main_activity_title">frangipane</string>
</resources> </resources>

View File

@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools"> <resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. --> <!-- Base application theme. -->
<style name="Theme.chatapp" parent="Theme.MaterialComponents.DayNight.NoActionBar"> <style name="Theme.frangipane" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Customize your theme here. --> <!-- Customize your theme here. -->
</style> </style>
</resources> </resources>

View File

@@ -2,5 +2,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() { fn main() {
chatapp_lib::run() frangipane_lib::run()
} }

View File

@@ -1,8 +1,8 @@
{ {
"$schema": "https://schema.tauri.app/config/2", "$schema": "https://schema.tauri.app/config/2",
"productName": "chatapp", "productName": "frangipane",
"version": "1.0.3", "version": "0.1.0",
"identifier": "com.strawberries.chatapp", "identifier": "com.strawberries.frangipane",
"build": { "build": {
"beforeDevCommand": "yarn dev", "beforeDevCommand": "yarn dev",
"devUrl": "http://localhost:1420", "devUrl": "http://localhost:1420",
@@ -12,7 +12,7 @@
"app": { "app": {
"windows": [ "windows": [
{ {
"title": "chatapp", "title": "frangipane",
"width": 800, "width": 800,
"height": 600, "height": 600,
"decorations": true, "decorations": true,

View File

@@ -30,7 +30,7 @@ init()
// export const API = 'http://127.0.0.1:8080' // export const API = 'http://127.0.0.1:8080'
export const API = 'http://192.168.1.183:8080' export const API = 'http://192.168.1.183:8080'
// export const API = 'https://alatreon.org/chatapp' // export const API = 'https://alatreon.org/frangipane'
// export const API_WS = 'ws://127.0.0.1:8080/ws' // export const API_WS = 'ws://127.0.0.1:8080/ws'
export const API_WS = 'ws://192.168.1.183:8080/ws' export const API_WS = 'ws://192.168.1.183:8080/ws'
// export const API_WS = 'wss://alatreon.org/chatapp/ws' // export const API_WS = 'wss://alatreon.org/frangipane/ws'