diff --git a/FCLauncher/src-tauri/.gitignore b/FCLauncher/src-tauri/.gitignore new file mode 100644 index 0000000..aba21e2 --- /dev/null +++ b/FCLauncher/src-tauri/.gitignore @@ -0,0 +1,3 @@ +# Generated by Cargo +# will have compiled files and executables +/target/ diff --git a/FCLauncher/src-tauri/Cargo.toml b/FCLauncher/src-tauri/Cargo.toml new file mode 100644 index 0000000..9a1a714 --- /dev/null +++ b/FCLauncher/src-tauri/Cargo.toml @@ -0,0 +1,26 @@ +[package] +name = "app" +version = "0.1.0" +description = "A Tauri App" +authors = ["you"] +license = "" +repository = "" +default-run = "app" +edition = "2021" +rust-version = "1.60" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[build-dependencies] +tauri-build = { version = "1.5.2" } + +[dependencies] +serde_json = "1.0" +serde = { version = "1.0", features = ["derive"] } +tauri = { version = "1.6.4" } + +[features] +# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled. +# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes. +# DO NOT REMOVE!! +custom-protocol = [ "tauri/custom-protocol" ] diff --git a/FCLauncher/src-tauri/build.rs b/FCLauncher/src-tauri/build.rs new file mode 100644 index 0000000..795b9b7 --- /dev/null +++ b/FCLauncher/src-tauri/build.rs @@ -0,0 +1,3 @@ +fn main() { + tauri_build::build() +} diff --git a/FCLauncher/src-tauri/icons/128x128.png b/FCLauncher/src-tauri/icons/128x128.png new file mode 100644 index 0000000..77e7d23 Binary files /dev/null and b/FCLauncher/src-tauri/icons/128x128.png differ diff --git a/FCLauncher/src-tauri/icons/128x128@2x.png b/FCLauncher/src-tauri/icons/128x128@2x.png new file mode 100644 index 0000000..0f7976f Binary files /dev/null and b/FCLauncher/src-tauri/icons/128x128@2x.png differ diff --git a/FCLauncher/src-tauri/icons/32x32.png b/FCLauncher/src-tauri/icons/32x32.png new file mode 100644 index 0000000..98fda06 Binary files /dev/null and b/FCLauncher/src-tauri/icons/32x32.png differ diff --git a/FCLauncher/src-tauri/icons/Square107x107Logo.png b/FCLauncher/src-tauri/icons/Square107x107Logo.png new file mode 100644 index 0000000..f35d84f Binary files /dev/null and b/FCLauncher/src-tauri/icons/Square107x107Logo.png differ diff --git a/FCLauncher/src-tauri/icons/Square142x142Logo.png b/FCLauncher/src-tauri/icons/Square142x142Logo.png new file mode 100644 index 0000000..1823bb2 Binary files /dev/null and b/FCLauncher/src-tauri/icons/Square142x142Logo.png differ diff --git a/FCLauncher/src-tauri/icons/Square150x150Logo.png b/FCLauncher/src-tauri/icons/Square150x150Logo.png new file mode 100644 index 0000000..dc2b22c Binary files /dev/null and b/FCLauncher/src-tauri/icons/Square150x150Logo.png differ diff --git a/FCLauncher/src-tauri/icons/Square284x284Logo.png b/FCLauncher/src-tauri/icons/Square284x284Logo.png new file mode 100644 index 0000000..0ed3984 Binary files /dev/null and b/FCLauncher/src-tauri/icons/Square284x284Logo.png differ diff --git a/FCLauncher/src-tauri/icons/Square30x30Logo.png b/FCLauncher/src-tauri/icons/Square30x30Logo.png new file mode 100644 index 0000000..60bf0ea Binary files /dev/null and b/FCLauncher/src-tauri/icons/Square30x30Logo.png differ diff --git a/FCLauncher/src-tauri/icons/Square310x310Logo.png b/FCLauncher/src-tauri/icons/Square310x310Logo.png new file mode 100644 index 0000000..c8ca0ad Binary files /dev/null and b/FCLauncher/src-tauri/icons/Square310x310Logo.png differ diff --git a/FCLauncher/src-tauri/icons/Square44x44Logo.png b/FCLauncher/src-tauri/icons/Square44x44Logo.png new file mode 100644 index 0000000..8756459 Binary files /dev/null and b/FCLauncher/src-tauri/icons/Square44x44Logo.png differ diff --git a/FCLauncher/src-tauri/icons/Square71x71Logo.png b/FCLauncher/src-tauri/icons/Square71x71Logo.png new file mode 100644 index 0000000..2c8023c Binary files /dev/null and b/FCLauncher/src-tauri/icons/Square71x71Logo.png differ diff --git a/FCLauncher/src-tauri/icons/Square89x89Logo.png b/FCLauncher/src-tauri/icons/Square89x89Logo.png new file mode 100644 index 0000000..2c5e603 Binary files /dev/null and b/FCLauncher/src-tauri/icons/Square89x89Logo.png differ diff --git a/FCLauncher/src-tauri/icons/StoreLogo.png b/FCLauncher/src-tauri/icons/StoreLogo.png new file mode 100644 index 0000000..17d142c Binary files /dev/null and b/FCLauncher/src-tauri/icons/StoreLogo.png differ diff --git a/FCLauncher/src-tauri/icons/icon.icns b/FCLauncher/src-tauri/icons/icon.icns new file mode 100644 index 0000000..a2993ad Binary files /dev/null and b/FCLauncher/src-tauri/icons/icon.icns differ diff --git a/FCLauncher/src-tauri/icons/icon.ico b/FCLauncher/src-tauri/icons/icon.ico new file mode 100644 index 0000000..06c23c8 Binary files /dev/null and b/FCLauncher/src-tauri/icons/icon.ico differ diff --git a/FCLauncher/src-tauri/icons/icon.png b/FCLauncher/src-tauri/icons/icon.png new file mode 100644 index 0000000..d1756ce Binary files /dev/null and b/FCLauncher/src-tauri/icons/icon.png differ diff --git a/FCLauncher/src-tauri/src/main.rs b/FCLauncher/src-tauri/src/main.rs new file mode 100644 index 0000000..f5c5be2 --- /dev/null +++ b/FCLauncher/src-tauri/src/main.rs @@ -0,0 +1,8 @@ +// Prevents additional console window on Windows in release, DO NOT REMOVE!! +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] + +fn main() { + tauri::Builder::default() + .run(tauri::generate_context!()) + .expect("error while running tauri application"); +} diff --git a/FCLauncher/src-tauri/tauri.conf.json b/FCLauncher/src-tauri/tauri.conf.json new file mode 100644 index 0000000..75a5b37 --- /dev/null +++ b/FCLauncher/src-tauri/tauri.conf.json @@ -0,0 +1,65 @@ +{ + "build": { + "beforeBuildCommand": "npm run build", + "beforeDevCommand": "npm run dev", + "devPath": "http://localhost:3000", + "distDir": "../dist" + }, + "package": { + "productName": "FCLauncher", + "version": "0.1.0" + }, + "tauri": { + "allowlist": { + "all": false + }, + "bundle": { + "active": true, + "category": "DeveloperTool", + "copyright": "", + "deb": { + "depends": [] + }, + "externalBin": [], + "icon": [ + "icons/32x32.png", + "icons/128x128.png", + "icons/128x128@2x.png", + "icons/icon.icns", + "icons/icon.ico" + ], + "identifier": "com.tauri.dev", + "longDescription": "", + "macOS": { + "entitlements": null, + "exceptionDomain": "", + "frameworks": [], + "providerShortName": null, + "signingIdentity": null + }, + "resources": [], + "shortDescription": "", + "targets": "all", + "windows": { + "certificateThumbprint": null, + "digestAlgorithm": "sha256", + "timestampUrl": "" + } + }, + "security": { + "csp": null + }, + "updater": { + "active": false + }, + "windows": [ + { + "fullscreen": false, + "height": 600, + "resizable": true, + "title": "FCLauncher", + "width": 800 + } + ] + } +}