Skip to content

Commit

Permalink
save idk
Browse files Browse the repository at this point in the history
  • Loading branch information
HardhatChad committed Mar 19, 2024
1 parent 35fed33 commit 547d522
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 47 deletions.
73 changes: 27 additions & 46 deletions Cargo.lock

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

23 changes: 23 additions & 0 deletions public/releases.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": "v0.0.1",
"notes": "Test version",
"pub_date": "2020-06-22T19:25:57Z",
"platforms": {
// "darwin-x86_64": {
// "signature": "Content of app.tar.gz.sig",
// "url": "https://github.com/username/reponame/releases/download/v1.0.0/app-x86_64.app.tar.gz"
// },
"darwin-aarch64": {
"signature": "Content of app.tar.gz.sig",
"url": "https://github.com/HardhatChad/ore-app/releases/download/v0.0.1/app-aarch64.app.tar.gz"
},
// "linux-x86_64": {
// "signature": "Content of app.AppImage.tar.gz.sig",
// "url": "https://github.com/username/reponame/releases/download/v1.0.0/app-amd64.AppImage.tar.gz"
// },
// "windows-x86_64": {
// "signature": "Content of app-setup.nsis.sig or app.msi.sig, depending on the chosen format",
// "url": "https://github.com/username/reponame/releases/download/v1.0.0/app-x64-setup.nsis.zip"
// }
}
}
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ fn main() {
#[cfg(feature = "desktop")]
fn main() {
env_logger::init();
dioxus_desktop::launch_cfg(
// dioxus_desktop::launch_cfg(
dioxus_desktop::launch::launch(
App,
vec![],
dioxus_desktop::Config::new()
.with_custom_head(r#"<link rel="stylesheet" href="public/tailwind.css">"#.to_string()),
);
Expand Down
15 changes: 15 additions & 0 deletions tauri.conf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"tauri": {
"updater": {
"active": true,
"endpoints": [
"https://ore.supply/releases.json"
],
"dialog": true,
"pubkey": "YOUR_UPDATER_SIGNATURE_PUBKEY_HERE",
"windows": {
"installMode": "passive"
}
}
}
}

0 comments on commit 547d522

Please sign in to comment.