@ -0,0 +1,4 @@ |
|||||
|
# Generated by Cargo |
||||
|
# will have compiled files and executables |
||||
|
/target/ |
||||
|
/gen/schemas |
@ -0,0 +1,30 @@ |
|||||
|
[package] |
||||
|
name = "godoos" |
||||
|
version = "1.0.6" |
||||
|
description = "godoos - desktop" |
||||
|
authors = ["godoos.com"] |
||||
|
license = "Gund-GPL-3.0" |
||||
|
repository = "" |
||||
|
edition = "2021" |
||||
|
rust-version = "1.77.2" |
||||
|
|
||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
||||
|
|
||||
|
[lib] |
||||
|
name = "app_lib" |
||||
|
crate-type = ["staticlib", "cdylib", "rlib"] |
||||
|
|
||||
|
[build-dependencies] |
||||
|
tauri-build = { version = "2.2.0", features = [] } |
||||
|
|
||||
|
[dependencies] |
||||
|
serde_json = "1.0" |
||||
|
serde = { version = "1.0", features = ["derive"] } |
||||
|
log = "0.4" |
||||
|
tauri = { version = "2.5.0", features = [] } |
||||
|
tauri-plugin-log = "2.0.0-rc" |
||||
|
tauri-plugin-fs = "2" |
||||
|
tauri-plugin-dialog = "2" |
||||
|
|
||||
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies] |
||||
|
tauri-plugin-autostart = "2" |
@ -0,0 +1,3 @@ |
|||||
|
fn main() { |
||||
|
tauri_build::build() |
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
{ |
||||
|
"$schema": "../gen/schemas/desktop-schema.json", |
||||
|
"identifier": "default", |
||||
|
"description": "enables the default permissions", |
||||
|
"windows": [ |
||||
|
"main" |
||||
|
], |
||||
|
"permissions": [ |
||||
|
"core:default", |
||||
|
"fs:default" |
||||
|
] |
||||
|
} |
@ -0,0 +1,15 @@ |
|||||
|
{ |
||||
|
"identifier": "desktop-capability", |
||||
|
"platforms": [ |
||||
|
"macOS", |
||||
|
"windows", |
||||
|
"linux" |
||||
|
], |
||||
|
"windows": [ |
||||
|
"main" |
||||
|
], |
||||
|
"permissions": [ |
||||
|
"autostart:default", |
||||
|
"autostart:default" |
||||
|
] |
||||
|
} |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 8.8 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 7.2 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 8.1 KiB |
After Width: | Height: | Size: 197 KiB |
After Width: | Height: | Size: 8.1 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 13 KiB |
@ -0,0 +1,19 @@ |
|||||
|
#[cfg_attr(mobile, tauri::mobile_entry_point)] |
||||
|
pub fn run() { |
||||
|
tauri::Builder::default() |
||||
|
.plugin(tauri_plugin_dialog::init()) |
||||
|
.plugin(tauri_plugin_autostart::init()) |
||||
|
.plugin(tauri_plugin_fs::init()) |
||||
|
.setup(|app| { |
||||
|
if cfg!(debug_assertions) { |
||||
|
app.handle().plugin( |
||||
|
tauri_plugin_log::Builder::default() |
||||
|
.level(log::LevelFilter::Info) |
||||
|
.build(), |
||||
|
)?; |
||||
|
} |
||||
|
Ok(()) |
||||
|
}) |
||||
|
.run(tauri::generate_context!()) |
||||
|
.expect("error while running tauri application"); |
||||
|
} |
@ -0,0 +1,6 @@ |
|||||
|
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
|
||||
|
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] |
||||
|
|
||||
|
fn main() { |
||||
|
app_lib::run(); |
||||
|
} |
@ -0,0 +1,37 @@ |
|||||
|
{ |
||||
|
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json", |
||||
|
"productName": "godoos", |
||||
|
"version": "0.1.0", |
||||
|
"identifier": "com.tauri.dev", |
||||
|
"build": { |
||||
|
"frontendDist": "../dist", |
||||
|
"devUrl": "http://localhost:8868", |
||||
|
"beforeDevCommand": "npm run dev", |
||||
|
"beforeBuildCommand": "npm run build" |
||||
|
}, |
||||
|
"app": { |
||||
|
"windows": [ |
||||
|
{ |
||||
|
"title": "GodoOS", |
||||
|
"width": 1024, |
||||
|
"height": 768, |
||||
|
"resizable": true, |
||||
|
"fullscreen": true |
||||
|
} |
||||
|
], |
||||
|
"security": { |
||||
|
"csp": null |
||||
|
} |
||||
|
}, |
||||
|
"bundle": { |
||||
|
"active": true, |
||||
|
"targets": "all", |
||||
|
"icon": [ |
||||
|
"icons/32x32.png", |
||||
|
"icons/128x128.png", |
||||
|
"icons/128x128@2x.png", |
||||
|
"icons/icon.icns", |
||||
|
"icons/icon.ico" |
||||
|
] |
||||
|
} |
||||
|
} |